.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--large .chat-button__icon svg,.chat-button--large .chat-button__icon-right svg,.chat-button--large .icon__wrapper svg{width:24px;height:24px}.chat-button--small{gap:8px;height:30px;padding:2px 8px;font-size:16px}.chat-button--small .chat-button__icon{width:16px;height: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(--color-tangerine-ai,#bc3ebc)}.chat-button--icon-only svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.chat-button--icon-only:active{color:var(--color-tangerine-ai-dark,#741571)}.chat-button--icon-only:active svg path{fill:var(--color-tangerine-ai-dark,#741571)!important}.chat-button--brand.chat-button--contained{color:#fff;background:var(--color-tangerine-ai-gradient,linear-gradient(111deg,#e14de3 12.58%,#8c2a89 100%))}.chat-button--brand.chat-button--contained:hover:not(:disabled){background:var(--color-tangerine-ai-gradient-reverse,linear-gradient(291deg,#e14de3 12.5%,#8c2a89 99.91%))}.chat-button--brand.chat-button--contained:active:not(:disabled){background:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large{box-shadow:0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--large:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small{box-shadow:0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px rgba(188,62,188,.3)}.chat-button--brand.chat-button--contained.chat-button--has-shadow.chat-button--small:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.3)}.chat-button--brand.chat-button--outlined{color:var(--color-tangerine-ai,#bc3ebc);border:1px solid var(--color-tangerine-ai,#bc3ebc);background-color:#fff}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large{box-shadow:0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 5px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--large:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small{box-shadow:0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined.chat-button--has-shadow.chat-button--small:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 3px rgba(188,62,188,.2)}.chat-button--brand.chat-button--outlined:hover:not(:disabled),.chat-button--brand.chat-button--outlined:active:not(:disabled){color:var(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15));border-color:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--outlined.chat-button--icon-right svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.chat-button--brand.chat-button--text{color:var(--color-tangerine-ai,#bc3ebc);font-family:var(--font-first);background-color:transparent;border-radius:8px}.chat-button--brand.chat-button--text.chat-button--icon-right svg path{fill:var(--color-tangerine-ai,#bc3ebc)}.chat-button--brand.chat-button--text:hover:not(:disabled){color:var(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15))}.chat-button--brand.chat-button--text:hover:not(:disabled).chat-button--icon-right svg path{fill:var(--color-tangerine-ai-dark,#741571)}.chat-button--brand.chat-button--text.chat-button--icon-only:hover:not(:disabled){background-color:var(--color-tangerine-ai-lighter,#d068d0)}.chat-button--brand.chat-button--text.chat-button--icon-only:hover:not(:disabled) svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.chat-button--brand.chat-button--text.chat-button--icon-only:active:not(:disabled){background-color:var(--color-tangerine-ai-lighter,#d068d0)}.chat-button--brand.chat-button--text.chat-button--icon-only:active:not(:disabled) svg path{fill:var(--color-tangerine-ai-dark,#741571)!important}.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(--color-tangerine-ai-dark,#741571);background-color:var(--color-tangerine-ai-alpha,rgba(188,62,188,.15))}.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:var(--color-tangerine-ai,#bc3ebc)}.chat-button__icon svg path{fill:var(--color-tangerine-ai,#bc3ebc)!important}.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:15px;font-weight:600;display:flex}.chat-mermaid-card__footer svg path{fill:#333}.chat-checkbox{font-size:14px;display:block}.chat-checkbox__label{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:flex-start;gap:8px;display:flex}.chat-checkbox__input-wrapper{flex-shrink:0;margin-top:2px;position:relative}.chat-checkbox__input{opacity:0;width:0;height:0;position:absolute}.chat-checkbox__custom{background-color:#fff;border:2px solid #e0e0e0;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;transition:all .2s;display:flex;position:relative}.chat-checkbox__custom:after{content:"";opacity:0;border-radius:4px;transition:opacity .2s;position:absolute;top:-2px;bottom:-2px;left:-2px;right:-2px}.chat-checkbox__checkmark{opacity:0;font-size:12px;transition:all .2s;transform:scale(.8)}.chat-checkbox__content{flex-direction:column;flex:1;gap:4px;display:flex}.chat-checkbox__text{font-family:var(--font-second);color:#333;font-size:14px;font-weight:600;line-height:1.6}.chat-checkbox__description{color:#767676;font-size:12px;line-height:1.4}.chat-checkbox__label:hover .chat-checkbox__custom{border-color:var(--color-first);background-color:var(--color-first-alpha)}.chat-checkbox__input:checked+.chat-checkbox__custom{background-color:var(--color-first);border-color:var(--color-first)}.chat-checkbox__input:checked+.chat-checkbox__custom .chat-checkbox__checkmark{opacity:1;transform:scale(1)}.chat-checkbox__label:active .chat-checkbox__custom{background-color:var(--color-first);border-color:var(--color-first);transform:scale(.95)}.chat-checkbox__label:active .chat-checkbox__custom:after{opacity:.2;background-color:var(--color-first)}.chat-checkbox__input:focus-visible+.chat-checkbox__custom{outline:2px solid var(--color-first);outline-offset:2px}.chat-checkbox--disabled .chat-checkbox__label{cursor:not-allowed}.chat-checkbox--disabled .chat-checkbox__custom{opacity:.5;background-color:#f2f2f2;border-color:#e0e0e0}.chat-checkbox--disabled .chat-checkbox__text,.chat-checkbox--disabled .chat-checkbox__description{opacity:.5}.chat-checkbox--disabled .chat-checkbox__label:hover .chat-checkbox__custom{background-color:#f2f2f2;border-color:#e0e0e0}.chat-checkbox--position-right .chat-checkbox__label{flex-direction:row-reverse;justify-content:space-between}.chat-checkbox--position-right .chat-checkbox__input-wrapper{margin-top:0}.chat-checkbox--position-right .chat-checkbox__content{flex:1}.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}.challenge-type-tag{font-size:14px;font-weight:700;font-family:var(--font-second);text-overflow:ellipsis;white-space:nowrap;border-radius:16px;padding:4px 8px;line-height:22px;overflow:hidden}.challenge-type-tag--small{padding:2px 8px;font-size:12px;line-height:18px}.challenge-type-tag:before{content:"";width:12px;height:12px;margin-right:4px;font-size:12px;line-height:1;display:inline-block}.challenge-type-tag--new{color:#ba1f33;background:#fff0f0}.challenge-type-tag--new:before{content:"🌱"}.challenge-type-tag--new.done{color:#4e4e4e;background:#f9f9f9}.challenge-type-tag--new.done:before{content:"🌱";filter:grayscale()}.challenge-type-tag--review{color:#0038a8;background:#eaf5ff}.challenge-type-tag--review:before{content:"🧠"}.challenge-type-tag--review.done{color:#4e4e4e;background:#f9f9f9}.challenge-type-tag--review.done:before{content:"🧠";filter:grayscale()}.challenge-type-tag--refuerzo-microtest{color:#830089;background:#feeeff}.challenge-type-tag--refuerzo-microtest:before{content:"🧪"}.challenge-type-tag--refuerzo-microtest.done{color:#830089;background:#f9f9f9}.challenge-type-tag--refuerzo-microtest.done:before{content:"🧪";filter:grayscale()}.challenge-type-tag--práctica-mezclada{color:#873600;background:#feeeff}.challenge-type-tag--práctica-mezclada:before{content:"🧩"}.challenge-type-tag--práctica-mezclada.done{color:#767676;background:#e0e0e0}.challenge-type-tag--práctica-mezclada.done:before{content:"🧩";filter:grayscale()}.challenge-type-tag--del-docente{color:#135f3e;background:#eefaf4}.challenge-type-tag--del-docente:before{content:"🎓"}.challenge-type-tag--del-docente.done{color:#767676;background:#e0e0e0}.challenge-type-tag--del-docente.done:before{content:"🎓";filter:grayscale()}.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:#e04949}.text-input-or-lesson-selector__content{width:100%}.text-input-or-lesson-selector__error-message{color:#e04949;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:#ed6a6a}.text-input-mode--error .text-input-mode__footer{background:rgba(246,104,104,.05);border-color:#ed6a6a}.text-input-mode--error .text-input-mode__choose-button{opacity:.4;pointer-events:none}.text-input-mode--error .text-input-mode__counter{color:#ba1f33}.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-wrapper svg path{fill:#fff}.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;font-family:var(--font-second);text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;overflow:hidden}.lesson-selected-card__meta{color:#767676;margin:0;font-size:14px}.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:#e04949;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{min-height:300px}.lesson-selection-dialog__content{padding:20px 0}.lesson-selection-dialog__field{margin-bottom:20px}.lesson-selection-dialog__field:last-child{margin-bottom:0}.lesson-selection-dialog__loading{justify-content:center;align-items:center;min-height:60px;padding:20px;display:flex}.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:#e04949;font-family:var(--font-second);font-size:14px;font-style:normal;font-weight:500;line-height:20px}.lesson-selection-dialog__error-message{color:#e04949;font-family:var(--font-second);font-size:16px;font-style:normal;font-weight:500;line-height:24px}.lesson-selection-dialog__link{margin-top:16px}.lesson-selection-dialog__link .lesson-selection-dialog__link-text{color:var(--color-first);font-family:var(--font-second);font-size:14px;font-weight:600;text-decoration:none;display:inline-block}.lesson-selection-dialog__link .lesson-selection-dialog__link-text:hover{opacity:1;text-decoration:underline}.lesson-selection-dialog__link .lesson-selection-dialog__link-text:focus-visible{outline-offset:2px;outline:2px solid #333}.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:#767676;-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:#ababab}.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}}