.chat-button{font-family:var(--font-first);cursor:pointer;color:inherit;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;gap:12px;padding:0;font-weight:700;text-decoration:none;transition:all .2s ease-in-out;display:inline-flex;position:relative}.chat-button--large{height:40px;padding:8px 12px;font-size:18px}.chat-button--large .chat-button__icon svg,.chat-button--large .chat-button__icon-right svg,.chat-button--large .icon__wrapper svg{width:24px;height:24px}.chat-button--small{gap:8px;height:30px;padding:2px 8px;font-size:16px}.chat-button--small .chat-button__icon{width:16px;height:16px}.chat-button--icon-only{gap:0}.chat-button--icon-only.chat-button--large{padding:8px}.chat-button--icon-only.chat-button--small{padding:4px}.chat-button--icon-only .chat-button__text{display:none}.chat-button--icon-only{color:var(--color-tangerine-ai,#bc3ebc)}.chat-button--icon-only svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.chat-button--icon-only:active{color:var(--color-tangerine-ai-dark,#741571)}.chat-button--icon-only:active svg path{fill:var(--color-tangerine-ai-dark,#741571)!important}.chat-button--brand.chat-button--contained{color:#fff;background:var(--color-tangerine-ai-gradient,linear-gradient(111deg,#e14de3 12.58%,#8c2a89 100%))}.chat-button--brand.chat-button--contained:hover:not(:disabled){background:var(--color-tangerine-ai-gradient-reverse,linear-gradient(291deg,#e14de3 12.5%,#8c2a89 99.91%))}.chat-button--brand.chat-button--contained:active:not(:disabled){background:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large{box-shadow:0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small{box-shadow:0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--outlined{color:var(--color-tangerine-ai,#bc3ebc);border:1px solid var(--color-tangerine-ai,#bc3ebc);background-color:#fff}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large{box-shadow:0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small{box-shadow:0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined:hover:not(:disabled),.chat-button--brand.chat-button--outlined:active:not(:disabled){color:var(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15));border-color:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--outlined.chat-button--icon-right svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.chat-button--brand.chat-button--text{color:var(--color-tangerine-ai,#bc3ebc);font-family:var(--font-first);background-color:transparent;border-radius:8px}.chat-button--brand.chat-button--text.chat-button--icon-right svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.chat-button--brand.chat-button--text:hover:not(:disabled){color:var(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15))}.chat-button--brand.chat-button--text:hover:not(:disabled).chat-button--icon-right svg path{fill:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--text.chat-button--icon-only:hover:not(:disabled){background-color:var(--color-tangerine-ai-lighter,#d068d0)}.chat-button--brand.chat-button--text.chat-button--icon-only:hover:not(:disabled) svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.chat-button--brand.chat-button--text.chat-button--icon-only:active:not(:disabled){background-color:var(--color-tangerine-ai-lighter,#d068d0)}.chat-button--brand.chat-button--text.chat-button--icon-only:active:not(:disabled) svg path{fill:var(--color-tangerine-ai-dark,#741571)!important}.chat-button--brand.chat-button--text:not(.chat-button--icon-only):hover:not(:disabled),.chat-button--brand.chat-button--text:not(.chat-button--icon-only):active:not(:disabled){color:var(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15))}.chat-button:disabled{opacity:.4;cursor:not-allowed;box-shadow:none;transform:none}.chat-button__text{font-family:var(--font-first);font-weight:700;line-height:26px}.chat-button__icon{color:var(--color-tangerine-ai,#bc3ebc)}.chat-button__icon svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.chatbot-mathField{align-items:center;line-height:1;transition:height .2s;display:none}.chatbot-mathField-show{z-index:4002;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.chatbot-mathField.chatbot-selected{border-color:var(--color-tangerine-ai,#bc3ebc)}.chatbot-mathField.chatbot-selected .chatbot-calc-button{fill:var(--color-tangerine-ai,#bc3ebc)}.chatbot-mathField-modal{background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;width:90%;max-width:500px;padding:0;overflow:hidden}.chatbot-mathField-header{border-bottom:1px solid #e0e0e0;justify-content:space-between;align-items:center;margin:0;padding:8px;display:flex}.chatbot-mathField-title{font-size:18px;line-height:24px;font-family:var(--font-second);color:#4e4e4e;margin:0;font-weight:600}.chatbot-mathField-close{cursor:pointer;background:0 0;border:none;padding:4px}.chatbot-mathField-close svg{fill:#333;width:20px;height:20px}.chatbot-mathField-close .icon--color-default.icon--lib-skin path{fill:#333}.chatbot-mathField-content{flex-direction:column;gap:15px;padding:8px 16px;display:flex}.chatbot-mathField-input{border:1px solid #ababab;border-radius:8px;flex-direction:column;flex:1;gap:8px;min-height:40px;padding:8px 12px;display:flex;position:relative}.chatbot-mathField-input:focus-within{border:1px solid var(--color-tangerine-ai,#bc3ebc)}.chatbot-mathField-submit{color:#fff;background:var(--color-tangerine-ai,#bc3ebc);cursor:pointer;font-family:var(--font-first);border:none;border-radius:8px;justify-content:center;align-self:flex-end;align-items:center;min-width:40px;height:40px;padding:8px 12px;font-size:18px;font-weight:700;transition:transform .2s;display:flex;position:relative;overflow:hidden}.chatbot-mathField-submit>*{z-index:1;position:relative}.chatbot-mathField-submit:before{content:"";background:var(--color-tangerine-ai-lighter,#d068d0);border-radius:inherit;opacity:0;z-index:0;transition:opacity .4s;position:absolute;top:0;bottom:0;left:0;right:0}.chatbot-mathField-submit:after{content:"";background:var(--color-tangerine-ai-dark,#741571);border-radius:inherit;opacity:0;z-index:0;transition:opacity .2s;position:absolute;top:0;bottom:0;left:0;right:0}.chatbot-mathField-submit:hover:before,.chatbot-mathField-submit:active:after{opacity:1}.chatbot-mathField.chatbot-with-focus{opacity:1;z-index:4002;background-color:#fff;border:none;border-radius:0;justify-content:center;align-items:center;height:calc(100vh - 320px);font-size:1.4em;display:flex;position:fixed;top:0;left:0;right:0}.chatbot-mathField.chatbot-disabled math-field>span{pointer-events:none}math-field::part(virtual-keyboard-toggle){display:none}math-field::part(virtual-keyboard-toggle):after{display:none}.chatbot-mathField__tooltip .react-tooltip{margin-top:4px!important}body .ML__keyboard{z-index:10001;--keyboard-zindex:10001;position:fixed}body .ML__keyboard .ML__keyboard--plate .rows ul:last-child li.action:last-child{background-color:var(--color-tangerine-ai,#bc3ebc)}body .ML__keyboard .MLK__rows .row .MLK__keycap{min-width:28px}@supports (-webkit-touch-callout:none){body .ML__keyboard .MLK__backdrop{height:calc(30px + var(--_keyboard-height))}}@media (pointer:coarse){.ML__keyboard .MLK__rows .row .MLK__keycap{min-width:28px}}@media (min-width:560px) and (pointer:coarse){.ML__keyboard .MLK__rows .row .MLK__keycap{min-width:50px}}.status-modal__content{text-align:center;flex-direction:column;align-items:center;gap:16px;padding:24px;display:flex}.status-modal__icon{justify-content:center;align-items:center;width:48px;height:56px;display:flex}.status-modal__bot-icon{background-image:var(--tangerine-ai-bot-happy);background-position:50%;background-repeat:no-repeat;background-size:cover;width:48px;height:56px}.status-modal__bot-icon--error{background-image:var(--tangerine-ai-bot-sad)}.status-modal__text{flex-direction:column;gap:8px;display:flex}.status-modal__title{font-family:var(--font-first);margin:0;font-size:22px;font-weight:600;line-height:32px}.status-modal__title--success{color:#333}.status-modal__message{font-family:var(--font-second);color:#4e4e4e;margin:0;font-size:16px;font-weight:600;line-height:24px}.chat-image-modal-container{border-radius:var(--border-radius-01);background-color:var(--color-background-secondary);justify-content:center;align-items:center;width:100%;min-height:300px;padding:20px;display:flex;position:relative}.chat-image-modal-container .chat-image-modal__image{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:calc(80vh - 200px);display:block}.chat-image-modal-container .chat-image-modal__download-button{background-color:var(--color-background-primary);border:1px solid var(--color-border);border-radius:var(--border-radius-01);cursor:pointer;opacity:.9;z-index:10;justify-content:center;align-items:center;padding:8px;transition:all .2s;display:flex;position:absolute;top:20px;right:20px}.chat-image-modal-container .chat-image-modal__download-button:hover{background-color:var(--color-background-hover);opacity:1;transform:scale(1.05)}.chat-image-modal-container .chat-image-modal__download-button:active{transform:scale(.95)}.chat-image-modal-container .chat-image-modal__download-button svg{color:var(--color-text-primary);width:20px;height:20px}@media (max-width:768px){.chat-image-modal-container{padding:10px}.chat-image-modal-container .chat-image-modal__image{max-height:calc(90vh - 150px)}.chat-image-modal-container .chat-image-modal__download-button{padding:6px;top:10px;right:10px}.chat-image-modal-container .chat-image-modal__download-button svg{width:18px;height:18px}}.chat-message{margin-bottom:10px;display:block;position:relative}.chat-bubble{gap:8px;margin-bottom:0;display:flex}.chat-bubble__avatar{background-color:transparent;background-image:var(--tangerine-ai-bot);background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:0%;flex-shrink:0;justify-content:center;align-self:flex-end;align-items:center;width:32px;height:32px;margin-bottom:0;display:flex;overflow:hidden}.chat-bubble__avatar--error{background-image:var(--tangerine-ai-bot-error)}.chat-bubble__content{flex-direction:column;flex:1;align-items:flex-start;gap:8px;display:flex}.chat-bubble__message{word-wrap:break-word;color:#333;border:1px solid #e0e0e0;border-radius:8px;flex:1;font-size:16px;line-height:24px}.chat-bubble__message-content{padding:8px}.chat-bubble__message .markdown-container p{margin-bottom:.5rem}.chat-bubble__message .markdown-container p:last-child{margin-bottom:0}.chat-bubble__message .chat-d3-card{width:100%}.chat-bubble__message .chat-d3-card:first-child{margin-top:0}.chat-bubble__message .chat-d3-card:last-child{margin-bottom:0}.chat-bubble__image{margin-bottom:8px;padding:0 8px}.chat-bubble__image img{cursor:pointer;border-radius:8px;max-width:100%;max-height:300px;display:block}.chat-bubble__attachments{flex-direction:column;gap:8px;display:flex}.chat-bubble__attachments .chat-bubble__image{margin-bottom:0}.chat-bubble--bot .chat-bubble__content{width:100%}.chat-bubble--bot .chat-bubble__message{background-color:#fff;border-radius:8px 8px 8px 0;width:100%}.chat-bubble--user{flex-direction:row-reverse}.chat-bubble--user .chat-bubble__content{flex-direction:column;align-items:flex-end;display:flex}.chat-bubble--user .chat-bubble__message{background-color:var(--color-tangerine-ai-lighter,#d068d0);border:1px solid var(--color-tangerine-ai-light,#f0c0f0);color:#333;border-radius:8px 8px 0;width:auto;max-width:80%}.chat-bubble--just-posted .chat-bubble__message{border-style:solid;border-width:1px;border-image:linear-gradient(111.12deg,var(--color-tangerine-ai,#bc3ebc)12.58%,var(--color-tangerine-ai-dark,#741571)100%)1}.chat-bubble__tool-indicators{flex-direction:column;gap:8px;width:100%;display:flex}.chat-message__bubble--error .chat-bubble__message{background:#fef0ef;border:1px solid #e04949}.chat-message--streaming .chat-bubble__content .typing-indicator{background-color:#fff;border:1px solid #f2f2f2;border-radius:8px 8px 8px 0;width:100%;padding:12px 16px}.chat-message__actions{align-items:center;gap:8px;margin-top:4px;margin-left:40px;display:flex}.chat-message__audio-button--loading{opacity:.6;cursor:wait}.chat-message__flag-button{transition:all .2s}.chat-message__flag-button--flagged{opacity:.7;cursor:default}.chat-message__flag-button--flagged:hover{opacity:.7}.chat-messages{flex-direction:column;flex:1;min-height:0;max-height:100%;padding:16px;display:flex;position:relative;overflow-x:hidden;overflow-y:auto}.chat-messages__container{overflow-y:unset;flex-direction:column;flex:1;gap:10px;display:flex}.chat-messages__container::-webkit-scrollbar{width:8px;height:8px}.chat-messages__container::-webkit-scrollbar-track{background:#f2f2f2}.chat-messages__container::-webkit-scrollbar-thumb{background-color:#ababab;border-radius:20px}.chat-messages__container{scrollbar-width:thin;scrollbar-color:#ababab #f2f2f2}.chat-messages__empty-state{text-align:center;color:#767676;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:32px 16px;display:flex}.chat-messages__empty-state-content{max-width:320px}.chat-messages__empty-state-content h3{color:#333;margin-bottom:12px;font-size:32px}.chat-messages__empty-state-content p{margin:0;font-size:15px;line-height:1.5}.chat-messages__toast{color:#fff;background-color:#333;border-radius:20px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;animation:.3s ease-in-out fadeIn;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.chat-messages--loading{justify-content:center;align-items:center;min-height:200px;display:flex}.chat-messages__loading{padding:16px}.chat-message-container{flex-direction:column;display:flex;position:relative}.chat-message-container:hover .chat-message__debug-actions{opacity:1}.chat-message__debug-actions{opacity:0;gap:4px;transition:opacity .2s;display:flex;position:absolute;top:-8px;right:-8px}.chat-message__context-view{color:#333;background-color:#f2f2f2;border-radius:8px;margin-top:8px;padding:8px;font-size:14px}.chat-message__context-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.chat-message__context-title{color:#767676;margin:0;font-size:14px}.chat-message__debug-button{cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;display:flex}.chat-message__debug-button:hover{background-color:#e0e0e0}.chat-message__context-data{font-family:var(--font-first);white-space:pre-wrap;background-color:#fff;border-radius:4px;max-height:200px;margin:0;padding:8px;font-size:14px;overflow-y:auto}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.text-input-or-lesson-selector{width:100%;position:relative}.text-input-or-lesson-selector__label{margin-bottom:8px;display:block}.text-input-or-lesson-selector__label sup{color:#e04949}.text-input-or-lesson-selector__content{width:100%}.text-input-or-lesson-selector__error-message{color:#e04949;font-family:var(--font-second);margin-top:8px;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.text-input-mode{border-radius:8px;width:100%}.text-input-mode__textarea-wrapper{border:1px solid var(--Grays-Gray-05,#e0e0e0);border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px;width:100%;position:relative;overflow:hidden}.text-input-mode__textarea-wrapper textarea{border-bottom-right-radius:0;border-bottom-left-radius:0}.text-input-mode__textarea-wrapper .textarea{width:100%}.text-input-mode__textarea-wrapper .textarea__input{resize:vertical;border:none;border-radius:0;min-height:58px;max-height:150px;overflow-y:auto}.text-input-mode__footer{border:1px solid var(--Grays-Gray-05,#e0e0e0);background:var(--Grays-Gray-07,#f9f9f9);border-radius:0 0 8px 8px;align-items:center;gap:36px;padding-right:8px;display:flex}.text-input-mode__choose-button{padding:0 12px;font-size:14px;text-decoration:none;transition:opacity .2s}.text-input-mode__counter{color:#4e4e4e;white-space:nowrap;font-size:14px}.text-input-mode--error .text-input-mode__textarea-wrapper{border-color:#ed6a6a}.text-input-mode--error .text-input-mode__footer{background:rgba(246,104,104,.05);border-color:#ed6a6a}.text-input-mode--error .text-input-mode__choose-button{opacity:.4;pointer-events:none}.text-input-mode--error .text-input-mode__counter{color:#ba1f33}.lesson-selected-card{border:1px solid var(--color-border);background-color:var(--color-background-light);border-radius:8px;width:100%;padding:12px;transition:all .2s}.lesson-selected-card__content{justify-content:space-between;align-items:center;gap:12px;display:flex}.lesson-selected-card__content-wrapper{align-items:center;gap:12px;display:flex}.lesson-selected-card__icon-wrapper{background-color:var(--color-first);color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;padding:8px;display:flex}.lesson-selected-card__icon-wrapper svg{width:32px;height:32px}.lesson-selected-card__icon-wrapper svg path{fill:#fff}.lesson-selected-card__icon{color:#fff;width:24px;height:24px}.lesson-selected-card__info{flex:1;min-width:0}.lesson-selected-card__title{color:#333;font-size:16px;font-weight:500;font-family:var(--font-second);text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;overflow:hidden}.lesson-selected-card__meta{color:#767676;margin:0;font-size:14px}.lesson-selected-card__remove{cursor:pointer;color:var(--color-text-secondary);background:0 0;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:all .2s;display:flex}.lesson-selected-card__remove:hover{background-color:var(--color-danger-light);color:var(--color-danger)}.lesson-selected-card__remove .icon{width:16px;height:16px}.lesson-selected-card__error{background:#f9f9f9;border:1px solid #e0e0e0}.lesson-selected-card__error .lesson-selected-card__title{color:#767676}.lesson-selected-card__error-message{color:#e04949;font-family:var(--font-second);margin-top:8px;font-size:16px;font-style:normal;font-weight:500;line-height:24px}.lesson-selection-dialog .dialog__content{min-height:300px}.lesson-selection-dialog__content{padding:20px 0}.lesson-selection-dialog__field{margin-bottom:20px}.lesson-selection-dialog__field:last-child{margin-bottom:0}.lesson-selection-dialog__loading{justify-content:center;align-items:center;min-height:60px;padding:20px;display:flex}.lesson-selection-dialog__no-lessons{text-align:center;color:var(--color-text-secondary);background-color:var(--color-background-light);border-radius:8px;padding:20px;font-size:14px}.lesson-selection-dialog__error-title{color:#e04949;font-family:var(--font-second);font-size:14px;font-style:normal;font-weight:500;line-height:20px}.lesson-selection-dialog__error-message{color:#e04949;font-family:var(--font-second);font-size:16px;font-style:normal;font-weight:500;line-height:24px}.lesson-selection-dialog__link{margin-top:16px}.lesson-selection-dialog__link .lesson-selection-dialog__link-text{color:var(--color-first);font-family:var(--font-second);font-size:14px;font-weight:600;text-decoration:none;display:inline-block}.lesson-selection-dialog__link .lesson-selection-dialog__link-text:hover{opacity:1;text-decoration:underline}.lesson-selection-dialog__link .lesson-selection-dialog__link-text:focus-visible{outline-offset:2px;outline:2px solid #333}