.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:#f9f9f9;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:16px;font-weight:600;display:flex}.chat-d3-card__footer__title .icon{color:#333}.chat-d3-card__footer__button{color:var(--ui-color-brand-fod-primary-a);cursor:pointer;background:0 0;border:none;padding:0;font-size:14px;text-decoration:underline}.chat-d3-card__footer__button:hover{color:var(--ui-color-brand-fod-dark)}.report-modal__content{flex-direction:column;gap:16px;display:flex}.report-modal__subtitle{font-family:var(--font-second);color:#4e4e4e;margin:0;font-size:14px;font-weight:400;line-height:1.5}.report-modal__options{flex-direction:column;gap:16px;display:flex}.report-modal__option{padding:0}.report-modal__comment{flex-direction:column;gap:8px;margin-top:8px;display:flex}.report-modal .dialog__actions .footer-buttons .button{color:#fff;background:var(--color-first)}.report-modal .dialog__actions .footer-buttons .button.button--variant-secondary-ghost{color:var(--color-first);background:0 0}.report-modal .dialog__actions .footer-buttons .button.button--variant-secondary-ghost .button__text{color:var(--color-first)}.report-modal .dialog__actions .footer-buttons .button:disabled{opacity:.4}.report-modal .dialog__title{font-family:var(--font-second);font-size:16px;font-weight:600}.conversation-history{--conversation-history-row-padding:var(--ui-space-xs)var(--ui-space-md);--conversation-history-title-font-size:var(--ui-font-size-16);--conversation-history-title-line-height:var(--ui-line-height-24);--conversation-history-date-font-size:var(--ui-font-size-14);--conversation-history-date-line-height:var(--ui-line-height-20);overflow:hidden}.conversation-history .chat-dropdown__content{padding:0}.conversation-history__list{margin:0;padding:0;list-style:none}.conversation-history__item{position:relative}.conversation-history__item:not(:last-child):after{content:"";height:var(--ui-stroke-1);background-color:var(--ui-color-neutral-grey-200);position:absolute;bottom:0;left:0;right:0}.conversation-history__item-wrapper{align-items:center;gap:var(--ui-space-xs);padding:var(--conversation-history-row-padding);transition:background-color .2s;display:flex}.conversation-history__item-wrapper:hover{background-color:var(--ui-color-neutral-grey-100)}.conversation-history__button{cursor:pointer;text-align:left;background:0 0;border:none;flex:1;align-items:center;min-width:0;padding:0;display:flex}.conversation-history__info{flex:1;min-width:0}.conversation-history__item-title{font-size:var(--conversation-history-title-font-size);font-weight:var(--ui-font-weight-medium);line-height:var(--conversation-history-title-line-height);color:var(--ui-color-neutral-grey-900);margin-bottom:var(--ui-space-xxxs);white-space:nowrap;text-overflow:ellipsis;font-family:var(--ui-font-family-body);letter-spacing:normal;overflow:hidden}.conversation-history__metadata{font-size:var(--conversation-history-date-font-size);font-weight:var(--ui-font-weight-medium);line-height:var(--conversation-history-date-line-height);color:var(--ui-color-neutral-grey-700);font-family:var(--ui-font-family-body);letter-spacing:normal}.conversation-history__empty{text-align:center;color:#767676;padding:40px 16px;font-size:14px}.conversation-history__loading{text-align:center;color:#767676;flex-direction:column;align-items:center;gap:12px;padding:40px 16px;font-size:14px;display:flex}.conversation-history__spinner{border:2px solid #f2f2f2;border-top-color:var(--ui-color-brand-fod-primary-a);border-radius:50%;width:24px;height:24px;animation:.8s linear infinite spin}.conversation-history__error{text-align:center;color:#f66868;flex-direction:column;align-items:center;gap:8px;padding:40px 16px;font-size:14px;display:flex}.conversation-history__error .icon__wrapper{width:24px;height:24px}.conversation-history__delete-button{cursor:pointer;opacity:1;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;padding:2px;transition:background-color .2s;display:flex}.conversation-history__delete-button:hover{color:#f66868;background-color:rgba(246,104,104,.1)}.conversation-history__delete-button .icon__wrapper{width:20px;height:20px}.conversation-history__new-chat-button{width:100%}.conversation-history__end{text-align:center;color:#767676;font-size:14px;font-family:var(--font-second);padding:16px;font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.teacher-layout-wrapper{--teacher-layout-top-inset:2.25rem;height:100vh;display:flex;overflow:hidden}.teacher-layout-wrapper__sidebar{background:var(--color-background);flex-direction:column;flex-shrink:0;width:13rem;height:100vh;transition:width .3s;display:flex;overflow-x:hidden;overflow-y:auto}.teacher-layout-wrapper__sidebar-header{padding:var(--teacher-layout-top-inset)var(--ui-space-md)0;justify-content:space-between;align-items:center;display:flex}.teacher-layout-wrapper__collapse-btn{padding:var(--ui-space-xs);cursor:pointer;border-radius:var(--ui-radius-xl);background:0 0;border:none;justify-content:center;align-items:center;transition:background-color .2s;display:flex}.teacher-layout-wrapper__collapse-btn:hover{background-color:var(--ui-color-brand-fod-lighter)}.teacher-layout-wrapper__collapse-btn .icon{color:var(--ui-color-neutral-grey-700)}.teacher-layout-wrapper__title-container{visibility:visible;transition:opacity .3s;overflow:hidden}.teacher-layout-wrapper__title{padding:var(--ui-space-lg)var(--ui-space-md)0;font-family:var(--ui-font-family-heading);font-size:var(--ui-font-size-22);font-weight:var(--ui-font-weight-semibold);line-height:var(--ui-line-height-28);color:var(--ui-color-neutral-grey-700);white-space:nowrap;margin:0}.teacher-layout-wrapper__navigation{padding:var(--ui-space-lg)0 0 var(--ui-space-md);flex:1;transition:padding .3s}.teacher-layout-wrapper__nav-list{gap:var(--ui-space-xs);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.teacher-layout-wrapper__nav-item{padding:var(--ui-space-xs);border-radius:var(--ui-radius-xl)0 0 var(--ui-radius-xl);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;width:100%;transition:background-color .2s,color .2s;display:flex;overflow:hidden}.teacher-layout-wrapper__nav-item .icon{width:var(--ui-icon-size-md);height:var(--ui-icon-size-md);color:var(--ui-color-neutral-grey-700);flex-shrink:0;transition:color .2s}.teacher-layout-wrapper__nav-item:hover{background:var(--ui-color-brand-fod-lighter)}.teacher-layout-wrapper__nav-item--active{background:var(--ui-color-neutral-white)}.teacher-layout-wrapper__nav-item--active .icon,.teacher-layout-wrapper__nav-item--active .teacher-layout-wrapper__nav-text{color:var(--ui-color-brand-fod-primary-a)}.teacher-layout-wrapper__nav-item--active:hover{background:var(--ui-color-neutral-white)}.teacher-layout-wrapper__nav-skeleton-item{align-items:center;gap:12px;padding:8px 15px;display:flex}.teacher-layout-wrapper__nav-skeleton-text{flex:1}.teacher-layout-wrapper__nav-text{margin-left:var(--ui-space-xs);font-family:var(--ui-font-family-heading);font-weight:var(--ui-font-weight-semibold);font-size:var(--ui-font-size-16);line-height:var(--ui-line-height-26);color:var(--ui-color-neutral-grey-700);white-space:nowrap;opacity:1;width:auto;transition:opacity .2s,width .3s}.teacher-layout-wrapper__sidebar-footer{--teacher-layout-footer-gap:var(--ui-space-md);--teacher-layout-footer-padding-block:var(--ui-space-md);--teacher-layout-footer-padding-inline:var(--ui-space-md);gap:var(--teacher-layout-footer-gap);padding:var(--teacher-layout-footer-padding-block)var(--teacher-layout-footer-padding-inline);flex-direction:column;margin-top:auto;display:flex}.teacher-layout-wrapper__dev-toggle .switch__texts{margin-left:0}.teacher-layout-wrapper__dev-toggle .switch__texts .switch__label{font-size:var(--ui-font-size-14)}.teacher-layout-wrapper__dev-toggle-hint{color:var(--ui-color-neutral-grey-500);margin-top:4px;font-size:11px;line-height:1.3}.teacher-layout-wrapper__main{background:var(--ui-color-neutral-white);flex:1;min-width:0;overflow:auto}.teacher-layout-wrapper__main--fill{flex-direction:column;display:flex}.teacher-layout-wrapper__toolbar{--teacher-layout-gutter-start:var(--ui-space-xl);--teacher-layout-gutter-end:var(--ui-space-xl)}.teacher-layout-wrapper__toolbar--gutter-compact{--teacher-layout-gutter-start:var(--ui-space-md);--teacher-layout-gutter-end:var(--ui-space-md)}.teacher-layout-wrapper__toolbar--gutter-compact-start{--teacher-layout-gutter-start:var(--ui-space-md);--teacher-layout-gutter-end:0}.teacher-layout-wrapper__toolbar--gutter-none{--teacher-layout-gutter-start:0;--teacher-layout-gutter-end:0}.teacher-layout-wrapper__toolbar{--teacher-layout-toolbar-min-height:var(--ui-space-4xl);--teacher-layout-toolbar-stroke:var(--ui-color-neutral-warm-200);justify-content:space-between;align-items:center;gap:var(--ui-space-md);box-sizing:border-box;min-height:var(--teacher-layout-toolbar-min-height);padding:var(--ui-space-xxs)var(--teacher-layout-gutter-end)var(--ui-space-xxs)var(--teacher-layout-gutter-start);border-top:var(--ui-stroke-1)solid var(--teacher-layout-toolbar-stroke);border-bottom:var(--ui-stroke-1)solid var(--teacher-layout-toolbar-stroke);display:flex}.teacher-layout-wrapper__content{--teacher-layout-gutter-start:var(--ui-space-xl);--teacher-layout-gutter-end:var(--ui-space-xl)}.teacher-layout-wrapper__content--gutter-compact{--teacher-layout-gutter-start:var(--ui-space-md);--teacher-layout-gutter-end:var(--ui-space-md)}.teacher-layout-wrapper__content--gutter-compact-start{--teacher-layout-gutter-start:var(--ui-space-md);--teacher-layout-gutter-end:0}.teacher-layout-wrapper__content--gutter-none{--teacher-layout-gutter-start:0;--teacher-layout-gutter-end:0}.teacher-layout-wrapper__content{--teacher-layout-content-gap:var(--ui-space-md);padding:var(--teacher-layout-content-gap)var(--teacher-layout-gutter-end)var(--ui-space-xl)var(--teacher-layout-gutter-start)}.teacher-layout-wrapper__content--gap-none{--teacher-layout-content-gap:0}.teacher-layout-wrapper__content--gap-xxs{--teacher-layout-content-gap:var(--ui-space-xxs)}.teacher-layout-wrapper__content--gap-xs{--teacher-layout-content-gap:var(--ui-space-xs)}.teacher-layout-wrapper__content--gap-sm{--teacher-layout-content-gap:var(--ui-space-sm)}.teacher-layout-wrapper__content--gap-md{--teacher-layout-content-gap:var(--ui-space-md)}.teacher-layout-wrapper__content--fill{flex-direction:column;flex:1;min-height:0;padding-bottom:0;display:flex}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__sidebar{width:5rem}.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{padding:var(--ui-space-lg)0 0 var(--ui-space-md);align-items:center}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__nav-item{padding:var(--ui-space-xs);justify-content:center}.teacher-layout-wrapper--collapsed .teacher-layout-wrapper__sidebar-footer{--teacher-layout-footer-padding-inline:var(--ui-space-xs);align-items:center}.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--show-back-collapsed .teacher-layout-wrapper__sidebar-header .back-arrow{display:flex}.teacher-layout-wrapper__mobile-menu-button,.teacher-layout-wrapper__mobile-menu-backdrop{display:none}@media only screen and (min-width:768px){body:has(.teacher-layout-wrapper) .react-toast-notifications__container{--teacher-layout-toast-inset-start:13rem;right:0;left:var(--teacher-layout-toast-inset-start);padding-inline:var(--ui-space-xl)}body:has(.teacher-layout-wrapper--collapsed) .react-toast-notifications__container{--teacher-layout-toast-inset-start:5rem}}.topic-ranking-section{background-color:#fff;flex-direction:column;gap:16px;padding:16px 24px;display:flex;overflow:hidden}.topic-ranking-section__header{justify-content:space-between;align-items:flex-start;display:flex}.topic-ranking-section__header-titles{flex-direction:column;gap:8px;display:flex}.topic-ranking-section__title{font-family:var(--font-first);color:#333;margin:0;font-size:22px;font-weight:600;line-height:32px}.topic-ranking-section__subtitle{font-family:var(--font-second);color:#4e4e4e;margin:0;font-size:16px;font-weight:400;line-height:24px}.topic-ranking-section__header-actions{flex-shrink:0;align-items:center;display:flex}.topic-ranking-section__view-toggle{background-color:#f2f2f2;border-radius:4px;align-items:center;gap:4px;padding:8px;display:flex}.topic-ranking-section__view-toggle-btn{cursor:pointer;color:#ababab;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:2px;transition:color .2s,background-color .2s;display:flex}.topic-ranking-section__view-toggle-btn .icon--color-default{color:#4e4e4e}.topic-ranking-section__view-toggle-btn--active{color:#333;background-color:#fff}.topic-ranking-section__view-toggle-btn--active .icon--color-default{color:var(--ui-color-brand-fod-primary-a)}.topic-ranking-section__view-toggle-btn--active:hover:not(:disabled) .icon--color-default{color:var(--ui-color-brand-fod-dark)}.topic-ranking-section__view-toggle-btn:disabled{opacity:.5;cursor:not-allowed}.topic-ranking-section__filters-row{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.topic-ranking-section__description{font-family:var(--font-second);color:#4e4e4e;flex:1;min-width:0;margin:0;font-size:16px;font-weight:400;line-height:20px}.topic-ranking-section__filters{flex-shrink:0;gap:8px;display:flex}.topic-ranking-section__filter{flex-direction:column;gap:2px;min-width:242px;display:flex}.topic-ranking-section__filter-label{font-family:var(--font-second);color:#4e4e4e;font-size:16px;font-weight:400;line-height:24px}.topic-ranking-section__list{flex-direction:column;display:flex}.topic-ranking-section__load-more-btn{font-family:var(--font-first);color:var(--color-first);border:1px solid var(--color-first);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-self:center;align-items:center;gap:8px;padding:8px 12px;font-size:18px;font-weight:700;line-height:22px;transition:background-color .2s;display:flex}.topic-ranking-section__load-more-btn:hover{background-color:var(--color-first-alpha)}.topic-ranking-section__load-more-btn .icon--color-default{color:var(--color-first)}.topic-ranking-section__load-more-btn #loading__svg{width:22px;height:22px}.topic-ranking-section__loading{justify-content:center;align-items:center;min-height:200px;display:flex}.topic-ranking-section__empty{font-family:var(--font-second);color:#767676;text-align:center;margin:0;padding:24px 0;font-size:14px}.teacher-tool-card{background:var(--ui-color-neutral-white);border:1px solid var(--ui-color-neutral-grey-300);cursor:pointer;font-family:var(--font-second);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{font-weight:var(--ui-font-weight-bold);font-size:var(--ui-font-size-16);line-height:var(--ui-line-height-24);color:var(--ui-color-neutral-grey-900);white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.teacher-tool-card__description{font-weight:var(--ui-font-weight-medium);font-size:var(--ui-font-size-14);line-height:var(--ui-line-height-20);min-height:calc(2*var(--ui-line-height-20));color:var(--ui-color-neutral-grey-700);-webkit-line-clamp:2;line-clamp:2;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;margin:0;display:-webkit-box;overflow:hidden}.teacher-tool-card__button{color:inherit;font:inherit;text-align:inherit;cursor:inherit;white-space:nowrap;text-overflow:ellipsis;background:0 0;width:100%;display:block;overflow:hidden}.teacher-tool-card__button:after{content:"";border-radius:8px;position:absolute;top:-1px;bottom:-1px;left:-1px;right:-1px}.teacher-tool-card__button:focus-visible:after{outline:var(--focus-ring-size,var(--ui-stroke-2))solid var(--focus-ring-color,var(--ui-color-stroke-focus-secondary));outline-offset:var(--focus-ring-offset,2px)}.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:#ababab}.teacher-tool-card--active{border-color:var(--ui-color-brand-fod-primary-a);background:#fff}.teacher-tool-card--active:hover{border-color:var(--ui-color-brand-fod-primary-a);box-shadow:0 5px 12px rgba(16,16,16,.05)}.teacher-tool-card--disabled{background:var(--ui-color-neutral-grey-100);border-color:var(--ui-color-neutral-grey-200);cursor:not-allowed}.teacher-tool-card--disabled .teacher-tool-card__title,.teacher-tool-card--disabled .teacher-tool-card__description{color:var(--ui-color-neutral-grey-700)}.teacher-tool-card--disabled .teacher-tool-card__icon{opacity:.5}.teacher-tool-card--disabled:hover{border-color:var(--ui-color-neutral-grey-200);box-shadow:none}@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}}