.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-y:auto}.base-chatbot__container>*{transition:width var(--chatbot-transition-duration)cubic-bezier(.19,1,.22,1);width:100%;overflow-x:hidden}.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}.chat-badge{border-radius:16px;align-items:center;gap:4px;padding:4px 8px;font-size:14px;display:inline-flex}.chat-badge__emoji{font-size:inherit}.chat-badge__text{font-family:var(--font-second);color:transparent;-webkit-background-clip:text;background-clip:text;font-weight:600;line-height:26px}.chat-badge--practice{background-color:#d6f6ff}.chat-badge--practice .chat-badge__text{color:#0a3366}.chat-badge--study{background-color:#ffe8ff}.chat-badge--study .chat-badge__text{color:#6b0a6b}.chat-icon-button{cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;position:relative}.chat-icon-button--large{width:32px;height:32px}.chat-icon-button--large .icon{width:20px;height:20px}.chat-icon-button--small{width:24px;height:24px}.chat-icon-button--small .icon{width:14px;height:14px}.chat-icon-button--default .icon path,.chat-icon-button--default .icon svg,.chat-icon-button--default .icon path path,.chat-icon-button--default .icon svg path{fill:#828282!important;color:#828282!important;stroke:transparent!important}.chat-icon-button--error .icon path,.chat-icon-button--error .icon svg,.chat-icon-button--error .icon path path,.chat-icon-button--error .icon svg path{fill:#f66868!important;color:#f66868!important;stroke:transparent!important}.chat-icon-button:hover:not(.chat-icon-button--disabled){background-color:#f2f2f2}.chat-icon-button:hover:not(.chat-icon-button--disabled) .icon path,.chat-icon-button:hover:not(.chat-icon-button--disabled) .icon svg{fill:#333!important;color:#333!important;stroke:transparent!important}.chat-icon-button:active:not(.chat-icon-button--disabled){background-color:#f2f2f2;box-shadow:inset 0 3px rgba(224,224,224,.7)}.chat-icon-button:focus-visible{outline:2px solid var(--color-tangerine-ai,#bc3ebc);outline-offset:2px}.chat-icon-button--disabled{opacity:.5;cursor:not-allowed}.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 #bdbdbd;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}}.chat-link{color:var(--color-tangerine-ai,#bc3ebc);cursor:pointer;font-weight:600;text-decoration:none;transition:all .2s;display:inline-block}.chat-link:hover{color:var(--color-tangerine-ai,#bc3ebc);text-decoration:underline}.chat-link:active{color:var(--color-tangerine-ai-dark,#741571);text-decoration:underline}.chat-link:focus{outline:2px solid var(--color-tangerine-ai,#bc3ebc);outline-offset:2px;border-radius:2px}.chat-link:focus-visible{outline:2px solid var(--color-tangerine-ai,#bc3ebc);outline-offset:2px;border-radius:2px}.chat-link:focus:not(:focus-visible){outline:none}.chat-link--disabled{color:var(--color-tangerine-ai,#bc3ebc);opacity:.5;cursor:not-allowed;pointer-events:none;text-decoration:none}.chat-link--disabled:hover{text-decoration:none}.chat-content-references{background-color:var(--color-gray-07);border-top:1px solid #e0e0e0;border-radius:0 0 8px;padding:8px}.chat-content-references__title{color:#828282;font-size:14px;font-weight:600;line-height:30px;font-family:var(--font-second)}.chat-content-references__label{color:#828282;margin-right:8px;font-size:15px;font-weight:600}.chat-content-references__button{color:var(--color-tangerine-ai,#bc3ebc);cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;text-decoration:underline}.chat-content-references__button svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.chat-content-references__button:hover{color:var(--color-tangerine-ai-dark,#741571)}.chat-content-references__header{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.chat-content-references__list{flex-direction:column;gap:8px;transition:all .2s;display:flex}.chat-content-references__list--hidden{display:none}.chat-content-references__item{color:var(--color-tangerine-ai,#bc3ebc);flex-direction:column;gap:2px;max-width:212px;font-size:15px;text-decoration:none;transition:background-color .2s;display:flex}.chat-content-references__item:hover{text-decoration:underline}.chat-content-references__item:active{color:var(--color-tangerine-ai-dark,#741571)}.chat-content-references__item span p{margin:0;display:inline}.chat-content-references__item-title{color:var(--color-tangerine-ai,#bc3ebc);font-weight:600;display:block}.chat-content-references__section{margin-bottom:12px}.chat-content-references__section:last-child{margin-bottom:0}.chat-content-references__section-header{align-items:center;gap:8px;margin-bottom:8px;display:flex}.chat-content-references__section-icon{align-items:center;font-size:16px;display:flex}.chat-content-references__section-title{font-size:12px;font-weight:600;font-family:var(--font-second);color:#4e4e4e}.chat-content-references__section-links{flex-direction:column;gap:8px;display:flex}.chat-content-references__separator{background-color:#e0e0e0;width:100%;height:1px}.chat-content-references__link{font-size:14px;font-family:var(--font-second);word-break:break-word;line-height:1.4;display:block}.chat-content-references__link-text{display:block}.chat-content-references__snippet{color:#333;margin-bottom:4px;font-size:14px;font-style:italic;line-height:1.4;display:block}.chat-content-references__domain{color:#333;font-size:12px;display:block}.chat-content-references--expanded{flex-direction:column;gap:8px;display:flex}.chat-content-references--expanded .chat-content-references__header{border-bottom:1px solid #e0e0e0;padding-bottom:0}@media screen and (max-width:768px){.chat-content-references{margin-top:12px;padding:10px 12px}.chat-content-references__item{padding:3px 10px;font-size:11px}}.chat-d3-card{cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:8px 0;transition:all .2s}.chat-d3-card:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.1)}.chat-d3-card__header{padding:8px}.chat-d3-card__title{font-family:var(--font-second);color:#4e4e4e;flex:1;font-size:18px;font-weight:700}.chat-d3-card__footer{background-color:var(--color-gray-07);border-top:1px solid #e0e0e0;border-radius:0 0 8px 8px;margin-top:0;padding:8px}.chat-d3-card__footer__content{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-d3-card__footer__title{color:#333;align-items:center;gap:4px;font-size:15px;font-weight:600;display:flex}.chat-d3-card__footer__title svg path{fill:#333}.chat-d3-card__footer__button{color:var(--color-tangerine-ai,#bc3ebc);cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;text-decoration:underline}.chat-d3-card__footer__button:hover{color:var(--color-tangerine-ai-dark,#741571)}.chat-mermaid-modal-container{border-radius:var(--border-radius-01);justify-content:center;align-items:center;width:100%;min-height:300px;padding:20px;display:flex}.chat-mermaid-modal-container .chat-mermaid-modal__diagram{text-align:center}.chat-mermaid-modal-container .chat-mermaid-modal__diagram svg{max-width:100%;height:auto}.typing-indicator{justify-content:center;align-items:center;gap:7px;margin-top:0;display:flex}.typing-indicator--inline{background-color:transparent;border:none;justify-content:flex-start;width:auto;margin-top:8px;padding:8px 0 0}.typing-indicator span{border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite typing-pulse;display:inline-block}.typing-indicator span:first-child{background-color:var(--color-tangerine-ai,#bc3ebc);animation-delay:0s}.typing-indicator span:nth-child(2){background-color:var(--color-tangerine-ai-dark,#741571);animation-delay:.2s}.typing-indicator span:nth-child(3){background-color:var(--color-tangerine-ai-light,#f0c0f0);animation-delay:.4s}@keyframes typing-pulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.6)}}.tool-indicator{border:1px solid var(--color-tangerine-ai,#bc3ebc);background-color:#fff;border-radius:8px;align-items:center;margin:8px 0;padding:8px 12px;animation:.3s ease-in-out fadeIn;display:flex}.tool-indicator--error{color:#f66868;background:#fef0ef;border-color:#f66868}.tool-indicator__icon{flex-shrink:0;margin-right:12px}.tool-indicator__icon svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.tool-indicator__content{flex:1;justify-content:space-between;align-items:center;gap:12px;display:flex}.tool-indicator__message{color:#333;font-size:18px;font-weight:500;line-height:1.4}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.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:#bdbdbd;border-radius:20px}.chat-messages__container{scrollbar-width:thin;scrollbar-color:#bdbdbd #f2f2f2}.chat-messages__empty-state{text-align:center;color:#828282;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-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:#828282;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}.lesson-recommendation-item{align-items:center;gap:16px;padding:0;display:flex}.lesson-recommendation-item__alert{background-color:#fff0f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.lesson-recommendation-item__content{flex:1}.lesson-recommendation-item__title{color:#333;font-family:Lato Bold,sans-serif;font-size:16px;font-weight:600;line-height:24px}.teacher-layout-wrapper{height:100vh;display:flex;overflow:hidden}.teacher-layout-wrapper__sidebar{background:#faf7f5;flex-direction:column;flex-shrink:0;width:265px;height:100vh;transition:width .3s;display:flex;overflow-x:hidden;overflow-y:auto}.teacher-layout-wrapper__sidebar-header{justify-content:space-between;align-items:center;padding:24px 24px 0;display:flex}.teacher-layout-wrapper__collapse-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:24px;transition:background-color .2s;display:flex}.teacher-layout-wrapper__collapse-btn:hover{background-color:rgba(0,0,0,.05)}.teacher-layout-wrapper__collapse-btn .icon{color:#828282}.teacher-layout-wrapper__title-container{visibility:visible;transition:opacity .3s;overflow:hidden}.teacher-layout-wrapper__title{color:#4e4e4e;white-space:nowrap;font-size:24px;font-weight:600;font-family:var(--font-first);margin:0;padding:24px 24px 0}.teacher-layout-wrapper__navigation{flex:1;padding:24px 0 0 24px;transition:padding .3s}.teacher-layout-wrapper__nav-list{font-family:var(--font-first);flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.teacher-layout-wrapper__nav-item{cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px 0 0 8px;align-items:center;width:100%;padding:8px 15px;transition:background-color .2s;display:flex;overflow:hidden}.teacher-layout-wrapper__nav-item .icon{flex-shrink:0}.teacher-layout-wrapper__nav-item .icon__wrapper svg path{fill:#828282;transition:fill .2s}.teacher-layout-wrapper__nav-item:hover{background:rgba(255,255,255,.5)}.teacher-layout-wrapper__nav-item:hover .icon__wrapper svg path{fill:var(--color-tangerine-ai-dark,#741571)}.teacher-layout-wrapper__nav-item:hover .teacher-layout-wrapper__nav-text{color:var(--color-tangerine-ai-dark,#741571)}.teacher-layout-wrapper__nav-item--active{background:#fff}.teacher-layout-wrapper__nav-item--active .teacher-layout-wrapper__nav-text{color:var(--color-tangerine-ai,#bc3ebc);font-family:var(--font-first)}.teacher-layout-wrapper__nav-item--active .icon__wrapper svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.teacher-layout-wrapper__nav-item--active:hover{background:#fff}.teacher-layout-wrapper__nav-text{color:#828282;white-space:nowrap;opacity:1;width:auto;margin-left:12px;font-family:Dosis Bold,sans-serif;font-size:16px;font-weight:600;line-height:24px;transition:opacity .2s,width .3s}.teacher-layout-wrapper__main{background:#fff;flex:1;min-width:0;padding-top:36px;overflow:auto}.teacher-layout-wrapper__main--default-padding{padding-left:72px;padding-right:72px}.teacher-layout-wrapper__main--left-only-padding{padding-left:72px;padding-right:0}.teacher-layout-wrapper__main--none-padding{padding-left:0;padding-right:0}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__sidebar{width:80px}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__sidebar-header{justify-content:center;padding-left:0;padding-right:0}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__sidebar-header .back-arrow{display:none}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__title-container{opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s linear .3s}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__navigation{align-items:center;padding:24px 0 0 24px}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__nav-item{justify-content:center;padding:8px}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__nav-text{opacity:0;width:0;margin-left:0;transition:opacity .2s ease-out,width .3s,margin-left .3s}.teacher-layout-wrapper__mobile-menu-button,.teacher-layout-wrapper__mobile-menu-backdrop{display:none}.teacher-tool-card{cursor:pointer;font-family:var(--font-second);background:#fff;border:1px solid #e0e0e0;border-radius:8px;align-items:flex-start;gap:8px;width:100%;padding:8px;display:flex;position:relative}.teacher-tool-card__icon{flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:flex}.teacher-tool-card__content{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.teacher-tool-card__title{color:#333;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:16px;font-weight:700;line-height:20px;overflow:hidden}.teacher-tool-card__description{color:#828282;-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;min-height:36px;margin:0;font-size:14px;font-weight:500;line-height:18px;display:-webkit-box;overflow:hidden}.teacher-tool-card:hover:not(.teacher-tool-card--disabled):not(.teacher-tool-card--pressed):not(.teacher-tool-card--active){outline:1px solid #f2f2f2;box-shadow:0 5px 12px rgba(16,16,16,.05)}.teacher-tool-card--pressed{border-color:#bdbdbd}.teacher-tool-card--active{background:#fff;border-color:#bc3ebc}.teacher-tool-card--active:hover{border-color:#bc3ebc;box-shadow:0 5px 12px rgba(16,16,16,.05)}.teacher-tool-card--disabled{cursor:not-allowed;background:#f9f9f9;border-color:#f2f2f2}.teacher-tool-card--disabled .teacher-tool-card__title,.teacher-tool-card--disabled .teacher-tool-card__description{color:#828282}.teacher-tool-card--disabled .teacher-tool-card__icon{filter:grayscale()}.teacher-tool-card--disabled:hover{box-shadow:none;border-color:#f2f2f2}@media (max-width:768px){.teacher-tool-card{padding:12px}.teacher-tool-card__title{font-size:14px;line-height:18px}.teacher-tool-card__description{min-height:32px;font-size:12px;line-height:16px}}