.chat-dropdown-overlay{z-index:999;background:0 0;position:fixed;top:0;bottom:0;left:0;right:0}.chat-dropdown-portal{z-index:1000;position:fixed}.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):not([aria-disabled=true]){background:var(--ui-gradient-brand-reverse)}.chat-button--brand.chat-button--contained:active:not(:disabled):not([aria-disabled=true]){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):not([aria-disabled=true]),.chat-button--brand.chat-button--outlined:active:not(:disabled):not([aria-disabled=true]){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):not([aria-disabled=true]){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):not([aria-disabled=true]){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):not([aria-disabled=true]){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):not([aria-disabled=true]),.chat-button--brand.chat-button--text:not(.chat-button--icon-only):active:not(:disabled):not([aria-disabled=true]){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):not([aria-disabled=true]),.chat-button--brand.chat-button--text.chat-button--active:active:not(:disabled):not([aria-disabled=true]){background-color:var(--ui-color-brand-fod-lighter)}.chat-button:disabled,.chat-button[aria-disabled=true]{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-d3-modal .dialog__content{padding:0;overflow:hidden}.chat-d3-modal__content{background-color:#f2f2f2;width:100%;height:80vh;position:relative}.chat-d3-modal__iframe{background-color:#fff;border:none;width:100%;height:100%}.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)}.chat-mermaid-card{cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:8px;margin:8px 0;transition:all .2s}.chat-mermaid-card:hover{transform:translateY(-1px);box-shadow:0 4px 8px rgba(0,0,0,.1)}.chat-mermaid-card--error{color:#e04949;box-shadow:none;cursor:default;background:#fef0ef;border-color:#e04949;padding:8px}.chat-mermaid-card--error:hover{box-shadow:none;border-color:#e04949;transform:none}.chat-mermaid-card__preview{padding:8px;overflow:hidden}.chat-mermaid-card__preview .diagram-mermaid,.chat-mermaid-card__preview .diagram-mermaid *{pointer-events:none;-webkit-user-select:none;user-select:none}.chat-mermaid-card__footer{background-color:#f2f2f2;border-top:1px solid #e0e0e0;border-radius:0 0 8px 8px;padding:16px}.chat-mermaid-card__footer__content{justify-content:space-between;align-items:center;gap:8px;display:flex}.chat-mermaid-card__footer__title{color:#333;align-items:center;gap:4px;font-size:16px;font-weight:600;display:flex}.chat-mermaid-card__footer .icon{color:#333}.flagged-message-bubble-tags{margin:0;margin-top:var(--ui-space-xs);align-items:flex-start;gap:var(--ui-space-xs);flex-direction:column;padding:0;list-style:none;display:flex}.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(--ui-color-brand-fod-lighter);border:1px solid var(--ui-color-brand-fod-light);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(--ui-color-brand-fod-primary-a)12.58%,var(--ui-color-brand-fod-dark)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}.chat-quota-first-use-notice{--chat-quota-first-use-notice-avatar-size:var(--ui-space-xl);margin-bottom:var(--ui-space-xs);padding-left:calc(var(--chat-quota-first-use-notice-avatar-size) + var(--ui-space-xs))}.chat-quota-first-use-notice__bubble{padding:var(--ui-space-xs);border:var(--ui-stroke-1)solid var(--ui-color-blue-400);border-radius:var(--ui-radius-xl)var(--ui-radius-xl)var(--ui-radius-xl)0;background:var(--ui-color-blue-100);color:var(--ui-color-neutral-grey-900);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);overflow-wrap:break-word;margin:0}.chat-quota-first-use-notice__title{margin-bottom:var(--ui-line-height-24);font-weight:var(--ui-font-weight-bold);display:block}.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:#ababab;border-radius:20px}.chat-messages__container{scrollbar-width:thin;scrollbar-color:#ababab #f2f2f2}.chat-messages__empty-state{text-align:center;color:#767676;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:16px;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-messages--loading{justify-content:center;align-items:center;min-height:200px;display:flex}.chat-messages__loading{padding:16px}.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:#767676;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}@keyframes fadeIn{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.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}.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}.tutor-usage-section{flex-direction:column;gap:24px;display:flex}.tutor-usage-section__title{font-family:var(--font-first);color:#333;margin:0;font-size:18px;font-weight:700;line-height:28px}.tutor-usage-section__stats{--tutor-usage-section-stat-min-width:13rem;grid-template-columns:repeat(auto-fit,minmax(var(--tutor-usage-section-stat-min-width),1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.tutor-usage-section__stats-item{display:grid}.tutor-usage-section__empty{font-family:var(--font-second);color:#767676;text-align:center;margin:0;padding:24px 0;font-size:14px}.tutor-usage-section__loading{justify-content:center;align-items:center;padding:48px 0;display:flex}.learning-block-content{flex-direction:column;gap:16px;padding:16px;display:flex}.learning-block-content__header{flex-direction:column;display:flex}.learning-block-content__label-row{justify-content:space-between;align-items:flex-start;margin-bottom:8px;display:flex}.learning-block-content__label-group{align-items:center;gap:4px;display:flex}.learning-block-content__kc-info{flex-direction:column;gap:2px;display:flex}.learning-block-content__kc-statement{font-family:var(--font-second);color:#333;margin:0;font-size:18px;font-weight:500;line-height:26px}.learning-block-content__locations{flex-direction:column;gap:2px;margin:0;padding-left:16px;list-style:disc;display:flex}.learning-block-content__location{font-family:var(--font-second);color:#767676;margin:0;font-size:14px;line-height:20px}.learning-block-content__stats{flex-direction:column;gap:8px;display:flex}.radar-view__toolbar-actions{align-items:center;gap:var(--ui-space-xs);display:flex}.radar-view__toolbar-divider{border-left:var(--ui-stroke-1)solid var(--ui-color-stroke-divider);align-self:stretch}.radar-view__content{flex-direction:column;gap:24px;display:flex}.radar-view__cards{flex-direction:column;gap:16px;padding-bottom:48px;display:flex}.radar-view .button.button--variant-primary-ghost:disabled{opacity:.4;background-color:transparent}