.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--small{gap:8px;height:30px;padding:2px 8px;font-size: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(--ui-color-brand-fod-primary-a)}.chat-button--icon-only:active{color:var(--ui-color-brand-fod-dark)}.chat-button--brand.chat-button--contained{color:#fff;background:var(--ui-gradient-brand)}.chat-button--brand.chat-button--contained:hover:not(:disabled){background:var(--ui-gradient-brand-reverse)}.chat-button--brand.chat-button--contained:active:not(:disabled){background:var(--ui-color-brand-fod-dark)}.chat-button--brand.chat-button--outlined{color:var(--ui-color-brand-fod-primary-a);border:1px solid var(--ui-color-brand-fod-primary-a);background-color:#fff}.chat-button--brand.chat-button--outlined:hover:not(:disabled),.chat-button--brand.chat-button--outlined:active:not(:disabled){color:var(--ui-color-brand-fod-dark);background-color:var(--ui-color-brand-fod-alpha);border-color:var(--ui-color-brand-fod-dark)}.chat-button--brand.chat-button--text{color:var(--ui-color-brand-fod-primary-a);font-family:var(--font-first);background-color:transparent;border-radius:8px}.chat-button--brand.chat-button--text:hover:not(:disabled){color:var(--ui-color-brand-fod-dark);background-color:var(--ui-color-brand-fod-alpha)}.chat-button--brand.chat-button--text.chat-button--icon-only:hover:not(:disabled){background-color:var(--ui-color-brand-fod-lighter);color:var(--ui-color-brand-fod-primary-a)}.chat-button--brand.chat-button--text.chat-button--icon-only:active:not(:disabled){background-color:var(--ui-color-brand-fod-lighter);color:var(--ui-color-brand-fod-dark)}.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(--ui-color-brand-fod-dark);background-color:var(--ui-color-brand-fod-alpha)}.chat-button--brand.chat-button--text.chat-button--active,.chat-button--brand.chat-button--text.chat-button--active:hover:not(:disabled),.chat-button--brand.chat-button--text.chat-button--active:active:not(:disabled){background-color:var(--ui-color-brand-fod-lighter)}.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:inherit}.chat-input{background-color:#fff;flex-wrap:wrap;flex-shrink:0;align-items:flex-end;gap:8px;width:100%;padding:0;display:flex}.chat-input__field-wrapper{background-color:#fff;border:1px solid #e0e0e0;border-radius:24px;flex-direction:column;flex:1;gap:8px;min-height:40px;padding:3px 12px;display:flex;position:relative}.chat-input__field-wrapper:focus-within{border:1px solid var(--ui-color-brand-fod-primary-a)}.chat-input__text-row{align-items:flex-end;gap:8px;width:100%;display:flex}.chat-input__recording{transform-origin:100%;width:100%;animation:.22s forwards chat-input-grow-from-right;transform:scaleX(0)}.chat-input__error{color:#e04949;flex-basis:100%;width:100%;margin-bottom:6px;padding-left:4px;font-size:12px;line-height:1.3}.chat-input__field{font-size:16px;font-family:var(--font-second);color:#333;resize:none;background-color:transparent;border:none;outline:none;align-self:center;width:100%;min-height:24px;max-height:72px;margin:0;padding:0;line-height:1.5;overflow-y:auto}.chat-input__field::-webkit-scrollbar{display:none}.chat-input__field{scrollbar-width:none}.chat-input__field--rich{cursor:text;word-wrap:break-word;white-space:pre-wrap}.chat-input__field--rich:empty:not(:focus):before{content:attr(data-placeholder);color:#767676;pointer-events:none;position:absolute}.chat-input__field--rich:not(:focus):has(>br:only-child):before{content:attr(data-placeholder);color:#767676;pointer-events:none;position:absolute}.chat-input__field--rich br{content:"";display:block}.chat-input__formula{cursor:default;-webkit-user-select:none;user-select:none;margin:0 2px;display:inline-block}.chat-input__formula .katex{font-size:16px;line-height:16px;font-family:var(--font-second);display:inline-block}.chat-input__formula .katex-display{text-align:left;margin:0;display:inline-block}.chat-input__formula .katex .katex-html{color:#333}.chat-input__image-preview{background:#f2f2f2;border-radius:12px;align-items:center;width:-webkit-fit-content;width:fit-content;padding:4px;display:flex;position:relative}.chat-input__image-preview img{object-fit:cover;border-radius:8px;width:48px;height:48px}.chat-input__image-remove{cursor:pointer;color:#fff;background:#e0e0e0;border:none;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:0;transition:background-color .2s;display:flex;position:absolute;top:-4px;right:-4px}.chat-input__image-remove:hover{background:#101010}.chat-input__image-remove .icon{width:10px;height:10px}.chat-input__image-button{width:24px;top:-10px}.chat-input__image-button .icon{width:20px;height:20px}.chat-input__calculator-button{width:24px}.chat-input__calculator-button .icon{width:20px;height:20px}.chat-input__action-button{background:var(--ui-gradient-brand);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;min-width:40px;height:40px;padding:8px 12px;transition:transform .2s;display:flex;position:relative;overflow:hidden}.chat-input__action-button:before{content:"";background:var(--ui-gradient-brand-reverse);border-radius:inherit;opacity:0;z-index:0;transition:opacity .4s;position:absolute;top:0;bottom:0;left:0;right:0}.chat-input__action-button:after{content:"";background:var(--ui-color-brand-fod-dark);border-radius:inherit;opacity:0;z-index:0;transition:opacity .2s;position:absolute;top:0;bottom:0;left:0;right:0}.chat-input__action-button:hover:before,.chat-input__action-button:active:after{opacity:1}.chat-input__action-button{color:#fff}.chat-input__action-button .icon{z-index:1;width:24px;height:24px;position:relative}.chat-input__action-button:disabled{cursor:not-allowed;background:0 0;transform:none}.chat-input__action-button:disabled:before{content:"";background:var(--ui-gradient-brand);opacity:.4;border-radius:inherit;z-index:0;position:absolute;top:0;bottom:0;left:0;right:0}.chat-input__action-button:disabled:hover{transform:none}.chat-input__action-button:disabled:hover:before{opacity:.4}.chat-input__action-button:disabled:active:after{opacity:0}.chat-input__action-button--recording{background:#e04949;animation:1.5s ease-in-out infinite pulse}.chat-input__action-button--recording:before,.chat-input__action-button--recording:after{display:none}.chat-input__action-button--recording:hover{background:#d22424}.chat-input__action-button--recording:active{background:#bc2020}.chat-input__action-button--recording{color:#fff}.chat-input__field::placeholder{color:#767676}.chat-input--disabled .chat-input__field-wrapper{cursor:not-allowed;background-color:#f9f9f9;border-color:#f2f2f2}.chat-input--disabled .chat-input__field{color:#767676;cursor:not-allowed}.chat-input--disabled .chat-input__field::placeholder{color:#767676}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}}@keyframes chat-input-grow-from-right{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}.diagram-mermaid{width:100%;height:100%;position:relative}.diagram-mermaid svg{max-width:100%;height:auto;margin:0 auto;display:block}.diagram-mermaid__download-btn{color:var(--ui-color-brand-fod-primary-a);position:absolute;top:8px;right:8px}.diagram-mermaid-error__container{flex-direction:row;gap:8px;display:flex}.diagram-mermaid-error__icon{margin-bottom:.5rem;font-size:2rem}.diagram-mermaid-error__message{color:#333;font-size:18px}.diagram-mermaid-error__details{font-size:14px}.diagram-mermaid-error__code{color:#333;max-width:280px;overflow: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(--ui-color-brand-fod-primary-a);animation-delay:0s}.typing-indicator span:nth-child(2){background-color:var(--ui-color-brand-fod-dark);animation-delay:.2s}.typing-indicator span:nth-child(3){background-color:var(--ui-color-brand-fod-light);animation-delay:.4s}@keyframes typing-pulse{0%,to{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.6)}}.ai-revision-loading{z-index:2147483647;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.ai-revision-loading__backdrop{background:var(--color-background);width:100%;height:100%;position:absolute;top:0;left:0}.ai-revision-loading__content{flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex;position:relative}.ai-revision-loading__bot-container{justify-content:center;align-items:center;display:flex;position:relative}.ai-revision-loading__bot{--ai-revision-loading-bot-width:7.5rem;--ai-revision-loading-bot-height:8.75rem;width:var(--ai-revision-loading-bot-width);height:var(--ai-revision-loading-bot-height);background-image:var(--tangerine-ai-bot-search);background-position:50%;background-repeat:no-repeat;background-size:contain;animation:2s ease-in-out infinite ai-revision-loading-bounce}.ai-revision-loading__stars{pointer-events:none;width:100%;height:100%;position:absolute}.ai-revision-loading__star{color:var(--color-first);font-size:28px;animation:1.5s ease-in-out infinite ai-revision-loading-sparkle;position:absolute}.ai-revision-loading__star--1{animation-delay:0s;top:-10px;right:-15px}.ai-revision-loading__star--2{animation-delay:.75s;bottom:10px;left:-20px}.ai-revision-loading__text{font-family:var(--font-first);color:#4e4e4e;text-align:center;max-width:300px;font-size:22px;animation:.3s ease-in-out ai-revision-loading-fade}@keyframes ai-revision-loading-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes ai-revision-loading-sparkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}@keyframes ai-revision-loading-fade{0%{opacity:0}to{opacity:1}}.feedback-status-modal{--feedback-status-modal-mascot-width:3rem;--feedback-status-modal-mascot-height:3.5rem}.feedback-status-modal__content{align-items:center;gap:var(--ui-space-sm);padding:var(--ui-space-md);text-align:center;flex-direction:column;display:flex}.feedback-status-modal__mascot{width:var(--feedback-status-modal-mascot-width);height:var(--feedback-status-modal-mascot-height);background-position:50%;background-repeat:no-repeat;background-size:contain}.feedback-status-modal__mascot--success{background-image:var(--tangerine-ai-bot-happy)}.feedback-status-modal__mascot--error{background-image:var(--tangerine-ai-bot-disconnected)}.feedback-status-modal__title{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-32);color:var(--ui-color-neutral-grey-900);margin:0}.feedback-status-modal__description{font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-16);font-weight:var(--ui-font-weight-regular);line-height:var(--ui-line-height-24);color:var(--ui-color-neutral-grey-900);margin:0}.tutor-usage-stat-card{gap:var(--ui-space-xs);padding:var(--ui-space-xs)var(--ui-space-md);border:var(--ui-stroke-1)solid var(--ui-color-stroke-primary);border-radius:var(--ui-radius-xl);background-color:var(--ui-color-bg-container-primary);flex-direction:column;display:flex}.tutor-usage-stat-card__header{justify-content:space-between;align-items:center;display:flex}.tutor-usage-stat-card__icon{width:var(--ui-size-5xl);height:var(--ui-size-5xl);border-radius:var(--ui-radius-xl);justify-content:center;align-items:center;display:flex}.tutor-usage-stat-card__icon--purple{background-color:var(--ui-color-purple-100)}.tutor-usage-stat-card__icon--purple .icon--color-default{color:var(--ui-color-purple-500)}.tutor-usage-stat-card__icon--blue{background-color:var(--ui-color-blue-100)}.tutor-usage-stat-card__icon--blue .icon--color-default{color:var(--ui-color-blue-500)}.tutor-usage-stat-card__icon--orange{background-color:var(--ui-color-orange-100)}.tutor-usage-stat-card__icon--orange .icon--color-default{color:var(--ui-color-orange-500)}.tutor-usage-stat-card__icon--green{background-color:var(--ui-color-green-100)}.tutor-usage-stat-card__icon--green .icon--color-default{color:var(--ui-color-green-500)}.tutor-usage-stat-card__info-icon{cursor:help;opacity:.5;align-items:center;display:flex}.tutor-usage-stat-card__info-icon:hover{opacity:.8}.tutor-usage-stat-card__label{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-text-secondary);margin:0;margin-top:var(--ui-space-xs)}.tutor-usage-stat-card__value{font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-18);font-weight:var(--ui-font-weight-bold);line-height:var(--ui-line-height-26);color:var(--ui-color-text-default);margin:0}.tutor-usage-stat-card__subtitle{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-text-tertiary);margin:0}.tutor-usage-stat-card__trend{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-semibold);line-height:var(--ui-line-height-18);margin:0;margin-top:var(--ui-space-xs);display:flex}.tutor-usage-stat-card__trend .icon__wrapper{margin-right:var(--ui-space-xs)}.tutor-usage-stat-card__trend .icon__wrapper svg{width:var(--ui-size-xxl);height:var(--ui-size-xxl)}.tutor-usage-stat-card__trend--positive,.tutor-usage-stat-card__trend--positive .icon--color-success,.tutor-usage-stat-card__trend--positive .tutor-usage-stat-card__trend-text{color:var(--ui-color-green-600)}.tutor-usage-stat-card__trend--negative,.tutor-usage-stat-card__trend--negative .icon--color-red,.tutor-usage-stat-card__trend--negative .tutor-usage-stat-card__trend-text{color:var(--ui-color-red-600)}.tutor-usage-stat-card__trend--neutral,.tutor-usage-stat-card__trend--neutral .tutor-usage-stat-card__trend-text{color:var(--ui-color-text-tertiary)}.tutor-usage-stat-card__trend-text{font-family:var(--ui-font-family-body);font-size:var(--ui-font-size-12);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text-tertiary);margin-left:var(--ui-space-xxs)}.tutor-usage-stat-card__trend-text--na{margin-left:0}.stat-card{--stat-card-icon-size:36px;--stat-card-toggle-size:24px;border:1px solid #e0e0e0;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;display:flex}.stat-card--expandable{flex-direction:column;align-items:stretch}.stat-card__row{align-items:center;gap:16px;width:100%;display:flex}.stat-card__row--clickable{font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;margin:0;padding:0}.stat-card__row--clickable:hover .stat-card__toggle{color:#333}.stat-card__row--clickable:focus-visible{outline:2px solid var(--color-first);outline-offset:2px}.stat-card__icon{width:var(--stat-card-icon-size);height:var(--stat-card-icon-size);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.stat-card__icon--success{color:#28a773;background-color:#e6fbfc}.stat-card__icon--success .icon--color-default{color:#02788a}.stat-card__icon--rollback{color:#e04949;background-color:#ffeaed}.stat-card__icon--rollback .icon--color-default{color:#97033a}.stat-card__icon--timeline{color:#8e0d8e;background-color:#fff1ff}.stat-card__icon--timeline .icon--color-default{color:#8e0d8e}.stat-card__icon--time{color:#0a6910;background-color:#d7fedb}.stat-card__icon--time .icon--color-default{color:#0a6910}.stat-card__icon--group{background-color:#fffad6}.stat-card__icon--group .icon--color-default{color:#996008}.stat-card__icon--mastery{color:#8e0d8e;background-color:#fff1ff}.stat-card__icon--mastery .icon--color-default{color:#8e0d8e}.stat-card__description{font-family:var(--font-second);color:#4e4e4e;background-color:#f9f9f9;border-radius:8px;margin:0;padding:8px;font-size:14px;line-height:20px}.stat-card__info{flex:1;gap:8px;min-width:0;display:flex}.stat-card--layout-inline .stat-card__info{flex-direction:row-reverse;justify-content:flex-end;align-items:baseline}.stat-card--layout-spread{gap:0}.stat-card--layout-spread .stat-card__info{flex-direction:row;justify-content:space-between}.stat-card--layout-stacked .stat-card__info{flex-direction:column;align-items:flex-start;gap:2px}.stat-card__value{font-family:var(--font-second);color:#333;flex-shrink:0;font-weight:700}.stat-card--layout-inline .stat-card__value,.stat-card--layout-spread .stat-card__value{font-size:18px;line-height:26px}.stat-card__label{font-family:var(--font-second);color:#4e4e4e;font-size:14px;line-height:20px}.stat-card__toggle{width:var(--stat-card-toggle-size);height:var(--stat-card-toggle-size);cursor:pointer;color:#767676;background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:transform .4s;display:flex}.stat-card__toggle svg{width:var(--stat-card-toggle-size);height:var(--stat-card-toggle-size)}.stat-card__toggle--expanded{transform:rotate(180deg)}