.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}.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-badge--revision{background-color:#fff3e0}.chat-badge--revision .chat-badge__text{color:#e65100}.practice-origin-label{align-items:center;gap:var(--ui-space-xxs);font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-12);font-weight:var(--ui-font-weight-medium);line-height:var(--ui-line-height-16);color:var(--ui-color-orange-600);display:inline-flex}.practice-origin-label--tutor{color:var(--ui-color-purple-600)}.teacher-page-header{--teacher-page-header-min-height:4rem;--teacher-page-header-robot-width:var(--ui-size-6xl);--teacher-page-header-robot-height:3.5rem;--teacher-page-header-chip-max-width:12.5rem;--teacher-page-header-block-basis:12rem;--teacher-page-header-gap-below:var(--ui-space-xxs);align-items:center;gap:var(--ui-space-lg);box-sizing:border-box;min-height:var(--teacher-page-header-min-height);margin-bottom:var(--teacher-page-header-gap-below);padding:var(--ui-space-xxs)var(--ui-space-xl);background-color:var(--ui-color-bg-container-primary);flex-wrap:wrap;width:100%;display:flex}.teacher-page-header--illustrated{--teacher-page-header-min-height:7rem}.teacher-page-header--breadcrumbs{--teacher-page-header-min-height:2.25rem}.teacher-page-header__block{flex:1 1 var(--teacher-page-header-block-basis);flex-direction:column;min-width:0;display:flex}.teacher-page-header__title{font-family:var(--ui-font-family-heading);font-size:var(--ui-font-size-22);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-32);color:var(--ui-color-neutral-grey-900);margin:0}.teacher-page-header__subtitle{font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-16);font-weight:var(--ui-font-weight-medium);line-height:var(--ui-line-height-24);color:var(--ui-color-text-default);margin:0}.teacher-page-header__robot-row{align-items:flex-start;gap:var(--ui-space-md);margin-top:var(--ui-space-md);display:flex}.teacher-page-header__robot{width:var(--teacher-page-header-robot-width);height:var(--teacher-page-header-robot-height);background:var(--teacher-page-header-robot-image)center/contain no-repeat;flex:none}.teacher-page-header__robot--help{--teacher-page-header-robot-image:var(--tangerine-ai-bot-help)}.teacher-page-header__robot--search{--teacher-page-header-robot-image:var(--tangerine-ai-bot-search)}.teacher-page-header__description{margin:var(--ui-space-md)0 0;font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-16);font-weight:var(--ui-font-weight-medium);line-height:var(--ui-line-height-24);color:var(--ui-color-text-default)}.teacher-page-header__back{display:flex}.teacher-page-header__student{align-items:center;gap:var(--ui-space-xs);max-width:var(--teacher-page-header-chip-max-width);padding:var(--ui-space-xxxs)var(--ui-space-xs);border-radius:var(--ui-radius-xl);display:flex}.teacher-page-header__student-name{font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-14);font-weight:var(--ui-font-weight-medium);line-height:var(--ui-line-height-20);color:var(--ui-color-neutral-grey-900);white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.teacher-page-header__actions{align-items:center;gap:var(--ui-space-md);display:flex}.teacher-page-header .teacher-page-header__breadcrumbs{--ui-breadcrumbs-color-text:var(--ui-color-text-default);--ui-breadcrumbs-color-current:var(--ui-color-neutral-grey-900);--ui-breadcrumbs-color-separator:var(--ui-color-neutral-grey-300);--ui-breadcrumbs-line-height:var(--ui-line-height-28);overflow-wrap:anywhere}.teacher-page-header__back .button{--button-font-family:var(--ui-font-family-heading);--button-font-size:var(--ui-font-size-16);--button-font-weight:var(--ui-font-weight-bold);--button-line-height:var(--ui-line-height-26);--button-icon-size:var(--ui-icon-size-sm);--button-gap:var(--ui-space-xs);--button-padding-y:var(--ui-space-xxxs);--button-padding-x:var(--ui-space-md)}.teacher-ai-analytics-panel__content{flex-direction:column;gap:24px;display:flex}.teacher-analytics-view__loading{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:400px;display:flex}.teacher-analytics-view__loading p{color:#767676;font-size:14px}.teacher-analytics-view__error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:24px;min-height:400px;display:flex}.teacher-analytics-view__error p{color:#dc3545;max-width:500px;font-size:14px}.teacher-analytics-view__header-container{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.teacher-analytics-view__header-container .teacher-analytics-view__class-selector{min-width:200px;max-width:300px;margin-left:auto}.teacher-analytics-view__subject-selector{min-width:200px;max-width:300px}.teacher-analytics-view__units-grid{flex-direction:column;gap:16px;width:100%;display:flex}.teacher-analytics-view__sections-container{flex-direction:column;gap:16px;display:flex}.teacher-analytics-view__section-separator{border-bottom:1px solid #eee4dc;margin:16px 0}.teacher-analytics-view__recommendations{gap:var(--spacing-lg);flex-direction:column;width:100%;display:flex}.teacher-analytics-view__section{display:block}.teacher-analytics-view__section-title{color:#333;font-size:22px;font-weight:700;font-family:var(--font-first);margin:0 0 24px}.teacher-analytics-view__legend{justify-content:flex-end;gap:24px;margin-top:16px;display:flex}.teacher-analytics-view__legend-item{align-items:center;gap:8px;display:flex}.teacher-analytics-view__legend-color{border-radius:4px;flex-shrink:0;width:16px;height:16px}.teacher-analytics-view__legend-color--mastered{background-color:#0095a2}.teacher-analytics-view__legend-color--in-progress{background-color:#00b4c5}.teacher-analytics-view__legend-color--not-started{background-color:#d4fbff}.teacher-analytics-view__legend-text{font-size:14px;font-weight:500;font-family:var(--font-second);color:#4e4e4e;line-height:1}.prerequisite-list{flex-direction:column;gap:8px;display:flex}.prerequisite-list__description{font-family:var(--font-second);color:#4e4e4e;background-color:#f9f9f9;border-radius:8px;margin:0;padding:8px;font-size:14px;line-height:20px}.prerequisite-list__description strong{font-family:var(--font-second-bold)}.prerequisite-list__items{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.prerequisite-list__item{flex-direction:column;gap:4px;display:flex}.prerequisite-list__item:not(:last-child){border-bottom:1px solid #e0e0e0;padding-bottom:8px}.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:var(--ui-color-text-error)}.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:var(--ui-color-text-error);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:var(--ui-color-stroke-form-error)}.text-input-mode--error .text-input-mode__footer{background:var(--ui-color-notification-error-bg);border-color:var(--ui-color-stroke-form-error)}.text-input-mode--error .text-input-mode__choose-button{opacity:.4;pointer-events:none}.text-input-mode--error .text-input-mode__counter{color:var(--ui-color-text-error)}.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:var(--ui-color-text-error);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:var(--ui-color-text-error);font-family:var(--font-second);font-size:14px;font-style:normal;font-weight:500;line-height:20px}.lesson-selection-dialog__error-message{color:var(--ui-color-text-error);font-family:var(--font-second);font-size:16px;font-style:normal;font-weight:500;line-height:24px}