.base-chatbot{transition:grid-template-columns var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1);grid-template-rows:100vh;grid-template-columns:1fr 0;width:100%;height:100vh;display:grid;position:relative;overflow:hidden}.base-chatbot.base-chatbot--resizing,.base-chatbot.base-chatbot--resizing .base-chatbot__container>*{transition:none}.base-chatbot__container{grid-column:1;width:100%;min-width:0;position:relative;overflow-x:hidden;overflow-y:auto}.base-chatbot__container>*{transition:width var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1);width:100%}.base-chatbot__chatbot{width:var(--chatbot-width);max-width:var(--chatbot-width);background-color:var(--chatbot-background);color:var(--chatbot-text-color);box-shadow:var(--chatbot-box-shadow);opacity:0;transition:transform var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1),opacity var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1),width 0s;will-change:transform,opacity;z-index:100;flex-direction:column;grid-column:2;min-width:0;height:100%;display:flex;position:relative;overflow:hidden;transform:translate(100%)}.base-chatbot__chatbot>*{flex-direction:column;height:100%;display:flex}.base-chatbot__chatbot>* .chatbot__content{flex-direction:column;flex:1;display:flex;overflow:hidden}.base-chatbot__chatbot>* .chatbot__content .chat-messages{flex:1;overflow-y:auto}.base-chatbot__chatbot>* .chatbot__content .chatbot__input-container{flex-shrink:0;margin-top:auto}.base-chatbot__button-container{z-index:101;bottom:var(--chatbot-button-bottom);right:var(--chatbot-button-right);opacity:1;transition:opacity .3s ease-in-out,right var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1);position:fixed}.base-chatbot__button-container--hidden{opacity:0;pointer-events:none}.base-chatbot--enabled{grid-template-columns:1fr var(--chatbot-width)}.base-chatbot--enabled .base-chatbot__chatbot{opacity:1;transform:translate(0)}.base-chatbot--enabled .base-chatbot__button-container:not(.base-chatbot__button-container--hidden){right:calc(var(--chatbot-width) + var(--chatbot-button-right))}.base-chatbot.chatbot-closing{grid-template-columns:1fr 0}.base-chatbot.chatbot-closing .base-chatbot__chatbot{opacity:0;transform:translate(100%)}.base-chatbot.chatbot-closing .base-chatbot__button-container:not(.base-chatbot__button-container--hidden){right:var(--chatbot-button-right)}.base-chatbot__chatbot:focus-within{outline:none}.base-chatbot__chatbot{contain:layout style}.base-chatbot--enabled{--chatbot-is-open:1}.base-chatbot__resize-overlay{z-index:9999;cursor:col-resize;-webkit-user-select:none;user-select:none;background-color:transparent;position:fixed;top:0;bottom:0;left:0;right:0}@keyframes slideIn{0%{opacity:0;transform:translate(100%)}60%{opacity:1;transform:translate(0)}80%{opacity:1;transform:translate(-15%)}to{opacity:1;transform:translate(0)}}.chatbot-button{cursor:pointer;z-index:100;transition:opacity .5s linear;animation:.6s ease-out forwards slideIn;display:flex;position:fixed;bottom:7em;right:2em}.chatbot-button__image{background-image:var(--tangerine-ai-bot);background-position:50%;background-repeat:no-repeat;background-size:cover;width:100px;height:100px}.chatbot-button:focus{outline:none}.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-group{flex-direction:column;align-items:flex-start;width:100%;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,.chat-bubble--bot .chat-bubble__message-group{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-group{align-self:flex-end;width:auto;max-width:80%}.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:100%}.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--highlighted .chat-bubble--user .chat-bubble__message{border-color:#e04949}.chat-message__flag-button{transition:all .2s}.chat-message__flag-button--flagged{opacity:.7;cursor:default}.chat-message__flag-button--flagged:hover{opacity:.7}.topic-ranking-item{border-radius:var(--border-radius-01);flex-direction:column;gap:4px;margin:8px 0;padding:8px;display:flex}.topic-ranking-item:hover{cursor:pointer;background-color:#f9f9f9}.topic-ranking-item:last-child{border-bottom:none}.topic-ranking-item__row{justify-content:space-between;align-items:center;gap:16px;margin-bottom:2px;display:flex}.topic-ranking-item__info{align-items:center;gap:16px;min-width:0;margin-right:2px;display:flex}.topic-ranking-item__name{font-family:var(--font-second);color:#333;white-space:nowrap;text-overflow:ellipsis;font-size:16px;font-weight:400;line-height:20px;overflow:hidden}.topic-ranking-item__discipline-badge{font-family:var(--font-second);white-space:nowrap;background-color:#f2f2f2;border-radius:8px;padding:4px 8px;font-size:14px;font-weight:500;line-height:18px}.topic-ranking-item__actions{flex-shrink:0;align-items:center;gap:4px;display:flex}.topic-ranking-item__frequency{font-family:var(--font-first);font-size:14px;font-weight:700;line-height:20px}.topic-ranking-item__chevron{cursor:pointer;color:#767676;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:4px;transition:transform .2s;display:flex}.topic-ranking-item__chevron:hover{background-color:#f2f2f2}.topic-ranking-item__chevron--expanded{transform:rotate(180deg)}.topic-ranking-item__bar{background-color:#f2f2f2;border-radius:3px;width:100%;height:8px;overflow:hidden}.topic-ranking-item__bar-fill{border-radius:3px;height:100%;transition:width .3s}.topic-ranking-item--color-1 .topic-ranking-item__frequency{color:#6b0a6b}.topic-ranking-item--color-1 .topic-ranking-item__bar-fill{background-color:#e047e0}.topic-ranking-item--color-2 .topic-ranking-item__frequency{color:#70022e}.topic-ranking-item--color-2 .topic-ranking-item__bar-fill{background-color:#e3366f}.topic-ranking-item--color-3 .topic-ranking-item__frequency{color:#662014}.topic-ranking-item--color-3 .topic-ranking-item__bar-fill{background-color:#ff7450}.topic-ranking-item--color-4 .topic-ranking-item__frequency{color:#664306}.topic-ranking-item--color-4 .topic-ranking-item__bar-fill{background-color:#ffb233}.topic-ranking-item--color-5 .topic-ranking-item__frequency{color:#305001}.topic-ranking-item--color-5 .topic-ranking-item__bar-fill{background-color:#91d432}.topic-ranking-item--color-6 .topic-ranking-item__frequency{color:#05490b}.topic-ranking-item--color-6 .topic-ranking-item__bar-fill{background-color:#36c03c}.topic-ranking-item--color-7 .topic-ranking-item__frequency{color:#014d5c}.topic-ranking-item--color-7 .topic-ranking-item__bar-fill{background-color:#3ce4f1}.topic-ranking-item--color-8 .topic-ranking-item__frequency{color:#0a3366}.topic-ranking-item--color-8 .topic-ranking-item__bar-fill{background-color:#4eabff}.tutor-usage-chart{border-top:1px solid #e0e0e0;flex-direction:column;gap:16px;padding-top:24px;display:flex}.tutor-usage-chart__header{justify-content:space-between;align-items:flex-start;display:flex}.tutor-usage-chart__header-text{flex-direction:column;gap:4px;display:flex}.tutor-usage-chart__title{font-family:var(--font-first);color:#333;margin:0;font-size:18px;font-weight:700;line-height:24px}.tutor-usage-chart__description{font-family:var(--font-second);color:#767676;margin:0;font-size:14px;font-weight:400;line-height:20px}.tutor-usage-chart__filter{flex-shrink:0;min-width:180px}.tutor-usage-chart__container{margin-top:16px}.tutor-usage-chart__legend{align-items:center;gap:16px;margin:0;padding:0;list-style:none;display:flex}.tutor-usage-chart__legend-item{font-family:var(--font-second);color:#4e4e4e;align-items:center;gap:4px;font-size:14px;font-weight:500;line-height:20px;display:flex}.tutor-usage-chart__legend-color{flex-shrink:0;width:28px;height:12px}.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__lessons-list{flex-direction:column;gap:8px;display:flex}.text-input-or-lesson-selector__add-more-container{direction:row;justify-content:space-between;display:flex}.text-input-or-lesson-selector__add-more{align-self:flex-start;padding:4px 0;font-size:14px}.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{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;line-height:24px;font-family:var(--font-second);text-overflow:ellipsis;white-space:nowrap;margin:0 0 2px;overflow:hidden}.lesson-selected-card__context{color:#767676;text-overflow:ellipsis;white-space:nowrap;margin:0 0 2px;font-size:12px;overflow:hidden}.lesson-selected-card__meta{color:#767676;margin:0;font-size:14px;font-weight:500;line-height:24px}.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{max-height:400px}.lesson-selection-dialog__section{margin-bottom:20px}.lesson-selection-dialog__section:last-child{margin-bottom:0}.lesson-selection-dialog__section-label{font-family:var(--font-second);color:#767676;text-transform:uppercase;margin-bottom:8px;font-size:14px;font-weight:700;line-height:normal;display:block}.lesson-selection-dialog__search{border:1px solid var(--Grays-Gray-05,#e0e0e0);background:#f9f9f9;border-radius:8px 8px 0 0;padding:12px 16px;position:relative}.lesson-selection-dialog__search-input{border:1px solid var(--Grays-Gray-05,#e0e0e0);font-family:var(--font-second);color:#333;background:#fff;border-radius:8px;outline:none;width:100%;padding:10px 40px 10px 12px;font-size:14px;transition:border-color .2s}.lesson-selection-dialog__search-input::placeholder{color:#ababab}.lesson-selection-dialog__search-input:focus{border-color:var(--color-first)}.lesson-selection-dialog__search-icon{color:#ababab;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:24px;transform:translateY(-50%)}.lesson-selection-dialog__search-icon svg{width:18px;height:18px}.lesson-selection-dialog__tree{border-left:1px solid var(--Grays-Gray-05,#e0e0e0);border-right:1px solid var(--Grays-Gray-05,#e0e0e0);max-height:320px;overflow-y:auto}.lesson-selection-dialog__loading{color:#767676;justify-content:center;align-items:center;min-height:60px;padding:20px;font-size:14px;display:flex}.lesson-selection-dialog__empty{text-align:center;color:#767676;padding:20px;font-size:14px}.lesson-selection-dialog__unit{border-bottom:1px solid var(--Grays-Gray-05,#e0e0e0)}.lesson-selection-dialog__unit:last-child{border-bottom:none}.lesson-selection-dialog__unit-row{cursor:pointer;align-items:center;gap:12px;padding:12px 16px;transition:background-color .15s;display:flex}.lesson-selection-dialog__unit-row:hover{background-color:rgba(var(--color-first),.04)}.lesson-selection-dialog__unit-info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.lesson-selection-dialog__unit-name{font-family:var(--font-second);color:#4e4e4e;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:700;line-height:24px;overflow:hidden}.lesson-selection-dialog__unit-counter{font-family:var(--font-second);color:#767676;text-transform:uppercase;letter-spacing:.3px;font-size:14px;font-weight:700;line-height:normal}.lesson-selection-dialog__unit-chevron{color:#767676;flex-shrink:0}.lesson-selection-dialog__unit-chevron svg{width:16px;height:16px}.lesson-selection-dialog__lessons{padding:0 16px 8px}.lesson-selection-dialog__lesson-row{cursor:pointer;border-radius:6px;align-items:center;gap:12px;padding:8px 12px;transition:background-color .15s;display:flex}.lesson-selection-dialog__lesson-row:hover{background-color:rgba(var(--color-first),.04)}.lesson-selection-dialog__lesson-row--selected{background-color:rgba(var(--color-first),.08)}.lesson-selection-dialog__lesson-name{font-family:var(--font-second);color:#333;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.lesson-selection-dialog__checkbox{cursor:pointer;background-color:#fff;border:2px solid #e0e0e0;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;transition:all .2s;display:flex}.lesson-selection-dialog__checkbox svg{width:12px;height:12px}.lesson-selection-dialog__checkbox--checked{background-color:var(--color-first);border-color:var(--color-first)}.lesson-selection-dialog__checkbox--indeterminate{border-color:var(--color-first);background-color:#fff}.lesson-selection-dialog__checkbox--unchecked:hover{border-color:var(--color-first);background-color:rgba(var(--color-first),.05)}.lesson-selection-dialog__checkbox-indeterminate{background-color:var(--color-first);border-radius:1px;width:10px;height:3px}.lesson-selection-dialog__actions{border:1px solid var(--Grays-Gray-05,#e0e0e0);background:#f9f9f9;border-radius:0 0 8px 8px;justify-content:flex-end;align-items:center;gap:16px;padding:12px 8px;display:flex}.lesson-selection-dialog__actions .button:disabled,.lesson-selection-dialog__actions .button[disabled]{color:#ababab;opacity:.6;background:0 0}.lesson-selection-dialog__footer-count{font-family:var(--font-second);color:#4e4e4e;white-space:nowrap;font-size:16px;font-weight:700;line-height:26px}.lesson-selection-dialog__field{margin-bottom:20px}.lesson-selection-dialog__field:last-child{margin-bottom:0}.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}