.nav-logo img{width:100%}.itop-ad .ad-box .ad-left a img{width:100%;height:auto}html,body{min-height:100%;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overscroll-behavior-y:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:smooth;margin:0}@supports(-moz-appearance: none){*{scrollbar-width:thin;scrollbar-color:unset}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background-color:rgba(31,31,41,.2);border-radius:5px}::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}::-webkit-scrollbar-corner{background:rgba(0,0,0,0)}::-webkit-scrollbar-thumb:hover{background-color:rgba(31,31,41,.5)}.math-solver{color:#1e1c2c;line-height:1;font-family:"Lexend",Arial,"Microsoft Yahei",sans-serif;letter-spacing:0}.math-solver,.math-solver *{margin:0;padding:0;box-sizing:border-box}.math-solver li:not(.markdown-body li){list-style:none}.math-solver a:not(.markdown-body a){text-decoration:none;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.math-solver :where(a:not(.markdown-body a)){color:#fff}.math-solver img:not(.markdown-body img){-webkit-user-drag:none}.math-solver :where(input),.math-solver :where(textarea),.math-solver :where(button){-webkit-appearance:none;appearance:none;border-radius:0;outline:none;border:none;font-family:"Lexend",Arial,"Microsoft Yahei",sans-serif}.math-solver{padding-top:80px}@keyframes ai-spin{100%{transform:rotate(360deg)}}@keyframes ai-opacity-0{from{opacity:1}to{opacity:0}}@keyframes ai-opacity-1{from{opacity:0}to{opacity:1}}@keyframes ai-height-100{from{height:0}to{height:100%}}@keyframes ai-height-0{from{height:100%}to{height:0}}@keyframes ai-drawer-in{from{right:-100%}to{right:0}}@keyframes ai-drawer-out{from{right:0;opacity:1}to{right:-100%;opacity:0}}@media screen and (min-width: 769px){.ai-button{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;background-color:rgba(112,112,112,.1);padding-left:22px;padding-right:22px;border-radius:24px;outline:none;border:none;height:48px;font:normal normal 300 18px/18px Lexend;color:#1e1c2c;gap:8px;transition:all .3s ease-out}.ai-button:hover{background-color:rgba(14,90,255,.05);color:#0e5aff}.ai-button.ai-button--icon{padding-left:13px;padding-right:13px}.ai-button__icon{width:22px;height:22px;display:inline-block}.ai-button__text{display:inline-block}.ai-button.ai-button--primary{background:linear-gradient(90deg, #472ED2 0%, #2353D3 100%);font-weight:normal}.ai-button.ai-button--primary .ai-button__text{color:#fff}.ai-button.ai-button--primary:hover{background-color:#3078ff}.ai-button.ai-button--plain{color:#482ed2;background-color:#fff;border:1px solid #e2dcfe;font-weight:normal}.ai-button.ai-button--plain:hover{background:linear-gradient(90deg, #482ED2 0%, #2454D3 100%);color:#fff;border:none}.ai-button.ai-button--hover-arrow{position:relative}.ai-button.ai-button--hover-arrow .ai-button__text{opacity:1;transition:opacity .3s ease-out}.ai-button.ai-button--hover-arrow .ai-button__icon{position:absolute;top:50%;left:50%;width:16px;height:16px;background:url(/assets/aimathsolver/img/ico_send_white.svg) no-repeat center center;background-size:contain;transform:translateX(-50%) translateY(-50%) rotate(90deg);opacity:0;transition:opacity .3s ease-out}.ai-button.ai-button--hover-arrow:hover .ai-button__text{opacity:0}.ai-button.ai-button--hover-arrow:hover .ai-button__icon{opacity:1}.ai-select{position:relative}.ai-select__icon{width:22px;height:22px;object-fit:contain}.ai-select__label{transition:color .3s ease-out;font:normal normal 300 18px/18px Lexend;color:#1e1c2c}.ai-select__status{width:14px;height:14px;background:url(/assets/aimathsolver/img/ico_select_down.svg) no-repeat center center;background-size:contain;margin-left:auto;visibility:hidden}.ai-select__trigger,.ai-select__option{display:flex;align-items:center;cursor:pointer;user-select:none;transition:background-color .3s ease-out;padding-left:20px;padding-right:20px;gap:8px}.ai-select__trigger{background-color:rgba(112,112,112,.1);height:48px;border-radius:24px}.ai-select__trigger:hover{background-color:rgba(14,90,255,.1)}.ai-select__trigger:hover .ai-select__label{color:#0e5aff}.ai-select__trigger .ai-select__status{visibility:visible;transition:transform .2s ease-out;transform:rotate(0deg)}.ai-select .ai-select__trigger[aria-expanded=true] .ai-select__status{transform:rotate(180deg)}.ai-select__option{background-color:#fff;border-radius:8px;height:44px}.ai-select__option:hover{background-color:rgba(18,100,252,.1)}.ai-select__option .ai-select__label{font:normal normal normal 16px/16px Lexend}.ai-select__option .ai-select__status{visibility:hidden;width:20px;height:14px;background:url(/assets/aimathsolver/img/ico_checked.svg) no-repeat center center}.ai-select__option.is-active{background-color:rgba(18,100,252,.1)}.ai-select__option.is-active .ai-select__status{visibility:visible}.ai-select__dropdown{display:none;background-color:#fff;padding:4px;border-radius:12px;border:1px solid rgba(112,112,112,.5019607843)}.ai-select__list{display:grid;row-gap:4px}.ai-toast{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);display:flex;justify-content:center;align-items:center;user-select:none;pointer-events:none;max-width:70vw;z-index:99999;opacity:0;padding-left:24px;padding-right:24px;padding-top:9px;padding-bottom:9px;gap:10px;border-radius:28px;min-height:56px;font:normal normal normal 16px/20px Lexend;color:#1264fc;background-color:#e8f0ff;border:1px solid #1b55c2;overflow-wrap:break-word}.ai-toast__icon{display:inline-block;width:26px;height:26px;object-fit:contain;flex-shrink:0}.ai-toast.is-active{opacity:1}.ai-toast.is-info{color:#1264fc;background-color:#e8f0ff;border:1px solid #1b55c2}.ai-toast.is-error{color:#e94949;background-color:#ffe8e8;border:1px solid #cb2020}.ai-toast.is-warning{color:#c9802e;background-color:#fff8ef;border:1px solid #c9802e}.ai-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;z-index:20000;display:none}.ai-modal *{margin:0;box-sizing:border-box}.ai-modal__mask{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.7);z-index:20001;opacity:0}.ai-modal__content{position:relative;width:600px;min-height:328px;background-color:#fff;border-radius:16px;z-index:20002;padding-left:46px;padding-right:46px;padding-top:53px;padding-bottom:26px;display:flex;flex-direction:column;align-items:center}.ai-modal__footer{display:flex;justify-content:center;align-items:center;gap:32px;margin-top:45px}.ai-modal__icon{display:inline-block;width:48px;height:48px;object-fit:contain;flex-shrink:0}.ai-modal__title{margin-top:19px;text-align:center;font:normal normal bold 20px/25px Lexend;color:#2a2a2a}.ai-modal__desc{font:normal normal 300 16px/20px Lexend;color:#707070;margin-top:12px;text-align:center}.ai-modal .ai-button{width:156px;height:56px;border-radius:28px}.ai-modal.is-active{display:flex}.ai-modal.is-active .ai-modal__mask{animation:ai-opacity-1 .2s ease-out forwards}.ai-modal.is-leave{display:flex}.ai-modal.is-leave .ai-modal__content,.ai-modal.is-leave .ai-modal__mask{animation:ai-opacity-0 .2s ease-out forwards}.ai-modal-close{width:30px;height:30px;cursor:pointer;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px}.ai-modal-close svg{width:20px;height:20px;pointer-events:none}.ai-modal-close svg .css-flag{transition:all .3s ease-out;stroke:rgba(42,42,42,.4980392157)}.ai-modal-close:hover svg .css-flag{stroke:#2a2a2a}.ai-image-viewer{background-color:rgba(0,0,0,.7) !important}.ai-image-viewer .viewer-close{position:absolute;top:32px;right:32px;width:32px;height:32px;display:flex;justify-content:center;align-items:center;background-color:rgba(42,42,42,.6);border-radius:8px;cursor:pointer;transition:background-color .3s ease-out}.ai-image-viewer .viewer-close:hover{background-color:#2a2a2a !important}.ai-image-viewer .viewer-close:focus{background-color:rgba(0,0,0,0) !important;box-shadow:none !important}.ai-image-viewer .viewer-close::before{width:18px;height:18px;position:static;background:url(/assets/aimathsolver/img/ico_close_white.svg) no-repeat center center;background-size:contain}}@media screen and (max-width: 768px){.ai-button{display:flex;justify-content:center;align-items:center;cursor:pointer;user-select:none;background-color:rgba(112,112,112,.1);padding-left:22px;padding-right:22px;border-radius:24px;outline:none;border:none;height:48px;font:normal normal 300 16px/16px Lexend;color:#1e1c2c;gap:8px;transition:all .3s ease-out}.ai-button.ai-button--icon{padding-left:13px;padding-right:13px}.ai-button__icon{width:22px;height:22px;display:inline-block}.ai-button__text{display:inline-block}.ai-button.ai-button--primary{background:linear-gradient(90deg, #472ED2 0%, #2353D3 100%);font-weight:normal}.ai-button.ai-button--primary .ai-button__text{color:#fff}.ai-button.ai-button--plain{color:#482ed2;background-color:#fff;border:1px solid #e2dcfe;font-weight:normal}.ai-select{position:relative}.ai-select__icon{width:22px;height:22px;object-fit:contain}.ai-select__label{transition:color .3s ease-out;font:normal normal 300 16px/16px Lexend;color:#1e1c2c}.ai-select__status{width:14px;height:14px;background:url(/assets/aimathsolver/img/ico_select_down.svg) no-repeat center center;background-size:contain;margin-left:auto;visibility:hidden}.ai-select__trigger,.ai-select__option{display:flex;align-items:center;cursor:pointer;user-select:none;transition:background-color .3s ease-out;padding-left:12px;padding-right:12px;gap:8px}.ai-select__trigger{background-color:rgba(112,112,112,.1);height:48px;border-radius:24px}.ai-select__trigger .ai-select__status{visibility:visible;transition:transform .2s ease-out;transform:rotate(0deg)}.ai-select .ai-select__trigger[aria-expanded=true] .ai-select__status{transform:rotate(180deg)}.ai-select__option{background-color:#fff;border-radius:8px;height:44px}.ai-select__option:active{background-color:rgba(18,100,252,.1)}.ai-select__option .ai-select__label{font:normal normal 300 14px/14px Lexend}.ai-select__option .ai-select__status{visibility:hidden;width:20px;height:14px;background:url(/assets/aimathsolver/img/ico_checked.svg) no-repeat center center}.ai-select__option.is-active{background-color:rgba(18,100,252,.1)}.ai-select__option.is-active .ai-select__status{visibility:visible}.ai-select__dropdown{display:none;background-color:#fff;padding:4px;border-radius:12px;border:1px solid rgba(112,112,112,.5019607843)}.ai-select__list{display:grid;row-gap:4px}.ai-toast{position:fixed;bottom:40px;left:50%;transform:translateX(-50%);display:flex;justify-content:flex-start;align-items:center;user-select:none;pointer-events:none;width:calc(100vw - 32px);z-index:99999;opacity:0;padding-left:16px;padding-right:16px;padding-top:9px;padding-bottom:9px;gap:10px;border-radius:28px;min-height:56px;font:normal normal normal 16px/20px Lexend;color:#1264fc;background-color:#e8f0ff;border:1px solid #1b55c2;overflow-wrap:break-word;box-sizing:border-box}.ai-toast__icon{display:inline-block;width:26px;height:26px;object-fit:contain;flex-shrink:0}.ai-toast.is-active{opacity:1}.ai-toast.is-info{color:#1264fc;background-color:#e8f0ff;border:1px solid #1b55c2}.ai-toast.is-error{color:#e94949;background-color:#ffe8e8;border:1px solid #cb2020}.ai-toast.is-warning{color:#c9802e;background-color:#fff8ef;border:1px solid #c9802e}.ai-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;z-index:20000;display:none;padding-left:22px;padding-right:22px}.ai-modal *{margin:0;box-sizing:border-box}.ai-modal__mask{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.7);z-index:20001;opacity:0}.ai-modal__content{position:relative;background-color:#fff;border-radius:16px;z-index:20002;padding-left:20px;padding-right:20px;padding-top:56px;padding-bottom:20px;display:flex;flex-direction:column;align-items:center;width:100%}.ai-modal__footer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;margin-top:44px;width:100%}.ai-modal__icon{display:inline-block;width:48px;height:48px;object-fit:contain;flex-shrink:0}.ai-modal__title{margin-top:19px;text-align:center;font:normal normal bold 20px/20px Lexend;color:#2a2a2a}.ai-modal__desc{font:normal normal 300 14px/20px Lexend;color:#707070;margin-top:12px;text-align:center}.ai-modal .ai-modal-close{right:10px}.ai-modal .ai-button{width:100%;height:56px;border-radius:28px}.ai-modal .ai-button .ai-button__icon{display:none}.ai-modal.is-active{display:flex}.ai-modal.is-active .ai-modal__mask{animation:ai-opacity-1 .2s ease-out forwards}.ai-modal.is-leave{display:flex}.ai-modal.is-leave .ai-modal__content,.ai-modal.is-leave .ai-modal__mask{animation:ai-opacity-0 .2s ease-out forwards}.ai-modal-close{width:30px;height:30px;cursor:pointer;display:flex;justify-content:center;align-items:center;position:absolute;top:15px;right:15px}.ai-modal-close svg{width:20px;height:20px;pointer-events:none}.ai-modal-close svg .css-flag{transition:all .3s ease-out;stroke:rgba(42,42,42,.4980392157)}.ai-image-viewer{background-color:rgba(0,0,0,.7) !important}.ai-image-viewer .viewer-close{position:absolute;top:76px;right:16px;width:32px;height:32px;display:flex;justify-content:center;align-items:center;background-color:rgba(42,42,42,.6);border-radius:8px;cursor:pointer;transition:background-color .3s ease-out}.ai-image-viewer .viewer-close:focus{background-color:rgba(0,0,0,0) !important;box-shadow:none !important}.ai-image-viewer .viewer-close:hover{background-color:rgba(42,42,42,.6)}.ai-image-viewer .viewer-close::before{width:18px;height:18px;position:static;background:url(/assets/aimathsolver/img/ico_close_white.svg) no-repeat center center;background-size:contain}}.tippy-box[data-theme~=custom-tip]{background-color:#fff;font:normal normal 300 14px/20px Lexend;color:#2a2a2a;border:1px solid #707070;padding:9px 13px;height:fit-content;border-radius:8px}.tippy-box[data-theme~=custom-tip]>.tippy-content{padding:0}.tippy-box[data-theme~=custom-tip]>.tippy-arrow{color:#fff}.tippy-box[data-theme~=custom-tip]>.tippy-arrow::after{content:"";position:absolute;z-index:-1;border-color:rgba(0,0,0,0);border-style:solid}.tippy-box[data-theme~=custom-tip] .tippy-svg-arrow .custom-tippy-arrow{background:url(/assets/aimathsolver/img/ico_tippy_arrow.svg) no-repeat center center;width:16px;height:11px;display:block;transform:translateY(9px)}.tippy-box[data-theme~=custom-tip][data-placement^=top]>.tippy-arrow::after{border-width:7px 7px 0;top:17px;left:1px;border-top-color:#000}.tippy-box[data-theme~=custom-tip][data-placement^=bottom]>.tippy-arrow::after{border-width:0 7px 7px;bottom:17px;left:1px;border-bottom-color:#000}.tippy-box[data-theme~=custom-tip][data-placement^=left]>.tippy-arrow::after{border-width:7px 0 7px 7px;left:17px;top:1px;border-left-color:#000}.tippy-box[data-theme~=custom-tip][data-placement^=right]>.tippy-arrow::after{border-width:7px 7px 7px 0;right:17px;top:1px;border-right-color:#000}.tippy-box[data-theme~=none]{color:inherit;background-color:rgba(0,0,0,0);padding:0}.tippy-box[data-theme~=none] .tippy-content{padding:0}@media screen and (min-width: 769px){.math-tool{max-width:1252px;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto;padding-top:37px;padding-bottom:37px;position:relative}.math-tool .math-header{display:flex;flex-direction:row-reverse;gap:60px;margin-bottom:11px}.math-tool .math-header__logo{width:140px;height:124px;flex-shrink:0}.math-tool .math-header__body{flex-grow:1;display:flex;flex-direction:column;gap:8px}.math-tool .math-header__title{font:normal normal bold 40px/52px Lexend;color:#1e1c2c;max-width:780px}.math-tool .math-header__desc{font:normal normal 300 16px/22px Lexend;color:#8f8c9e}.math-tool .math-example{margin-top:25px}.math-tool .math-example__title{width:100%;display:flex;align-items:center;position:relative}.math-tool .math-example__title::before{content:"";height:1px;background-color:#e6e5eb;position:absolute;width:100%;top:50%;transform:translateY(-50%)}.math-tool .math-example__title p{background-color:#fff;padding-left:0;padding-right:20px;font:normal normal normal 16px/20px Lexend;color:#1e1c2c;white-space:nowrap;word-break:keep-all;text-align:center;z-index:1;min-height:20px}.math-tool .math-example-list{margin-top:37px;display:grid;grid-template-columns:repeat(4, 1fr);gap:24px}.math-tool .math-example__item{background-color:rgba(112,112,112,.0509803922);border:1px solid rgba(112,112,112,.5019607843);border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;height:162px;gap:13px;cursor:pointer;transition:all .3s ease-out;position:relative;overflow:hidden}.math-tool .math-example__item span{width:30px;height:30px;background:url(/assets/aimathsolver/img/ico_question.svg) no-repeat center center;background-size:contain}.math-tool .math-example__item p{padding-left:33px;padding-right:33px;font:normal normal normal 14px/20px Lexend;color:#1e1c2c;text-align:center}.math-tool .math-example__item img{display:block;font-size:0;width:100%;height:100%;object-fit:fill}.math-tool .math-example__item::before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,0);transition:background-color .3s ease-out;pointer-events:none}.math-tool .math-example__item:hover{background-color:rgba(14,90,255,.0509803922);border:1px solid #0e5aff}.math-tool .math-example__item:hover.is-image::before{background-color:rgba(18,100,252,.25)}.math-tool .ai-copy-select{width:182px}.math-tool .ai-copy-select .ai-select__label{font:normal normal 300 14px/14px Lexend}.math-tool .math-history{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;z-index:10000;display:none}.math-tool .math-history__mask{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.7);z-index:10001;opacity:0}.math-tool .math-history__content{z-index:10002;width:640px;height:100%;background-color:#fff;display:flex;flex-direction:column;border-radius:16px 0 0 16px;overflow:hidden;position:absolute;right:-100%}.math-tool .math-history__title{font:normal normal bold 20px/31px Lexend;color:#1e1c2c;cursor:default;padding-top:12px;padding-bottom:12px;padding-left:20px;padding-right:15px}.math-tool .math-history__body{flex-grow:1;overflow:hidden;padding-top:8px}.math-tool .math-history__body-wrapper{height:100%;overflow:auto}.math-tool .math-history__footer{padding-top:17px;padding-bottom:17px;padding-left:16px;padding-right:16px;display:flex;justify-content:space-between;align-items:center}.math-tool .math-history__text{font:normal normal 300 14px/20px Lexend;color:#707070;cursor:default}.math-tool .math-history__delete{font:normal normal normal 14px/20px Lexend;min-width:104px;height:40px}.math-tool .math-history__inner-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;display:none;user-select:none;pointer-events:none;-webkit-user-drag:none}.math-tool .math-history__inner-mask span{width:32px;height:32px;background:url(/assets/aimathsolver/img/ico_uploading.svg) no-repeat center center;animation:ai-spin 1s linear infinite}.math-tool .math-history.is-active{display:flex}.math-tool .math-history.is-active .math-history__mask{animation:ai-opacity-1 .2s ease-out forwards}.math-tool .math-history.is-active .math-history__content{animation:ai-drawer-in .2s ease-out forwards}.math-tool .math-history.is-leave{display:flex}.math-tool .math-history.is-leave .math-history__content,.math-tool .math-history.is-leave .math-history__mask{animation:ai-opacity-0 .2s ease-out forwards}.math-tool .math-history.is-leave .math-history__content{animation:ai-drawer-out .2s ease-out forwards}.math-tool .math-history.is-loading .math-history__body,.math-tool .math-history.is-loading .math-history__footer{display:none}.math-tool .math-history.is-loading .math-history__inner-mask{display:flex}.math-tool .chat-history__item{padding-left:20px;padding-right:20px;padding-top:14px;padding-bottom:16px;cursor:pointer;transition:background-color .3s ease-out;position:relative}.math-tool .chat-history__item:hover{background-color:rgba(18,100,252,.05)}.math-tool .chat-history__item:not(:last-child)::before{content:"";position:absolute;bottom:0;left:20px;right:20px;height:1px;background-color:#e8e7ec}.math-tool .chat-history__header{display:flex;justify-content:space-between;align-items:center;gap:24px;height:24px}.math-tool .chat-history__title{font:normal normal bold 16px/20px Lexend;color:#1e1c2c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.math-tool .chat-history__time{font:normal normal normal 14px/20px Lexend;color:#707070;flex-shrink:0}.math-tool .chat-history__delete{flex-shrink:0;width:24px;height:24px;display:flex;display:none;justify-content:center;align-items:center}.math-tool .chat-history__delete svg{width:20px;height:20px;pointer-events:none}.math-tool .chat-history__delete svg .css-flag{transition:all .3s ease-out;opacity:.5}.math-tool .chat-history__delete:hover .css-flag{opacity:1}.math-tool .chat-history__content{margin-top:4px;overflow:hidden;transition:max-height .3s ease-out;max-height:20px}.math-tool .chat-history__content-inner{font:normal normal 300 14px/20px Lexend;color:#707070;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.math-tool .chat-history .chat-history__item:hover .chat-history__delete{display:flex}.math-tool .chat-history .chat-history__item:hover .chat-history__time{display:none}.math-tool .chat-history .chat-history__item:hover .chat-history__content{max-height:40px}.math-tool .chat-history .chat-history__item:hover .chat-history__content-inner{animation:expand-text .3s ease-out forwards}.math-tool .chat-history .chat-history__item:not(:hover) .chat-history__content-inner{animation:collapse-text .3s ease-out forwards}@keyframes collapse-text{0%,30%{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}31%,100%{white-space:nowrap}}@keyframes expand-text{0%,30%{white-space:nowrap}31%,100%{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}}.math-tool .math-body{display:flex;flex-direction:column}.math-tool .chat-message{background-color:#f4f3f4;border-radius:16px;display:none;height:0;overflow:hidden}.math-tool .chat-message-wrapper{overflow:auto;padding:16px;height:100%;background-color:#f4f3f4;border-radius:16px}.math-tool .chat-message-list{display:grid;grid-template-rows:1fr;row-gap:36px}.math-tool .chat-message__item{overflow-x:hidden}.math-tool .chat-message-bot{display:flex;gap:8px}.math-tool .chat-message-bot .chat-message__icon{width:22px;height:22px;background:url(/assets/aimathsolver/img/ico_ai.svg) no-repeat center center;background-size:contain;flex-shrink:0}.math-tool .chat-message-bot .chat-message__content{flex-grow:1;width:calc(100% - 30px)}.math-tool .chat-message-bot .chat-message__content .chat-message__name{font:normal normal normal 14px/22px Lexend;color:#0e5aff;opacity:.8}.math-tool .chat-message-bot .chat-message__content .chat-message__body{margin-top:7px;margin-bottom:7px}.math-tool .chat-message-bot .chat-message__content .chat-message__markdown{display:none}.math-tool .chat-message-bot .chat-message__content .chat-message__thinking{width:44px;height:18px;transform:translateX(-6px);display:none;font-size:16px}.math-tool .chat-message-bot .chat-message__footer{display:flex;align-items:center;gap:7px;transform:translateX(-4px);display:none;overflow:hidden}.math-tool .chat-message-bot .chat-message__footer svg{width:16px;pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .css-flag{transition:opacity .3s ease-out}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow{width:24px;height:24px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh:hover .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy:hover .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow:hover .css-flag{opacity:1}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh.disabled,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy.disabled,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow.disabled{pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh.disabled .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy.disabled .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow.disabled .css-flag{opacity:.15}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-wrapper{display:inline-flex;justify-content:center;align-items:center}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-wrapper.is-disabled{pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow{width:14px;justify-content:flex-start}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow svg{width:10px}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-ok{display:none;width:24px;height:24px;transform:scale(1.67);font-size:16px}.math-tool .chat-message-bot.is-thinking .chat-message__thinking{display:block}.math-tool .chat-message-bot.is-completed .chat-message__markdown{display:block}.math-tool .chat-message-bot.is-completed .chat-message__footer{display:flex}.math-tool .chat-message-bot.is-typing .chat-message__markdown{display:block}.math-tool .chat-message-bot.is-copying .chat-message__copy-wrapper{display:none}.math-tool .chat-message-bot.is-copying .chat-message__copy-ok{display:block}.math-tool .chat-message-user{display:flex;flex-direction:column;align-items:flex-end;row-gap:16px}.math-tool .chat-message-user .chat-message__image{min-width:150px;min-height:100px;max-height:250px;max-width:250px;border:1px solid rgba(112,112,112,.5019607843);border-radius:12px;position:relative;overflow:hidden;cursor:pointer;flex-shrink:0}.math-tool .chat-message-user .chat-message__image img{width:100%;height:100%;object-fit:cover;display:block;font-size:0}.math-tool .chat-message-user .chat-message__image .chat-message__image-mask{display:flex;justify-content:center;align-items:center;background-color:rgba(0,0,0,.6);position:absolute;top:0;right:0;bottom:0;left:0;gap:8px;pointer-events:none;opacity:0;transition:opacity .3s ease-out}.math-tool .chat-message-user .chat-message__image .chat-message__image-mask .mask-icon{width:22px;height:22px;background:url(/assets/aimathsolver/img/ico_preview.svg) no-repeat center center}.math-tool .chat-message-user .chat-message__image .chat-message__image-mask .mask-text{font:normal normal normal 16px/20px Lexend;color:#fff}.math-tool .chat-message-user .chat-message__image:hover .chat-message__image-mask{opacity:1}.math-tool .chat-message-user .chat-message__message{background-color:#1264fc;border-radius:12px;font:normal normal normal 16px/20px Lexend;color:#fff;padding:12px 20px;width:fit-content;max-width:70%;flex-shrink:0;white-space:break-spaces}.math-tool .math-input .math-model-select{width:255px}.math-tool .math-input .math-input__input{flex-grow:1}.math-tool .math-input .math-input__textarea{width:100%;height:100%;border:none;outline:none;resize:none;font:normal normal 300 16px/20px Lexend;color:#1e1c2c;background-color:rgba(0,0,0,0)}.math-tool .math-input .math-input__textarea::placeholder{color:#8f8c9e}.math-tool .math-input .math-send{display:flex;justify-content:space-between;align-items:center;cursor:pointer;user-select:none;background:rgba(0,0,0,0) linear-gradient(91deg, #482ED2 0%, #2454D3 100%);padding-left:8px;padding-right:8px;border-radius:28px;outline:none;border:none;font:normal normal normal 14px/14px Lexend;color:#fff;gap:8px;transition:all .3s ease-out;width:193px;height:56px;position:relative}.math-tool .math-input .math-send .math-send__loading{width:24px;height:24px;background:url(/assets/aimathsolver/img/ico_loading.svg) no-repeat center center;background-size:contain;animation:ai-spin 1s linear infinite;display:none}.math-tool .math-input .math-send .math-send__icon{position:absolute;top:50%;right:0;transform:translateX(-20px) translateY(-50%);width:16px;height:16px;z-index:1;transition:transform .2s ease-out, opacity .2s ease-out}.math-tool .math-input .math-send .math-send__icon .css-flag{transition:all .3s ease-out}.math-tool .math-input .math-send .math-send__circle{width:40px;height:40px;border-radius:20px;background-color:#fff;opacity:1;transition:opacity .3s ease-out}.math-tool .math-input .math-send .math-send__text{margin-left:19px;opacity:1;transition:opacity .3s ease-out}.math-tool .math-input .math-send:hover .math-send__text,.math-tool .math-input .math-send:hover .math-send__circle{opacity:0}.math-tool .math-input .math-send:hover .math-send__icon{opacity:1;transform:translateX(-88px) translateY(-50%)}.math-tool .math-input .math-send:hover .math-send__icon .css-flag{stroke:#fff}.math-tool .math-input .math-upload{width:300px;height:250px;background-color:rgba(112,112,112,.0509803922);border-radius:16px;border:1px dashed rgba(112,112,112,.4);overflow:hidden;user-select:none;transition:all .3s ease-out}.math-tool .math-input .math-upload__icon{width:36px;height:36px}.math-tool .math-input .math-upload__title{padding-left:42px;padding-right:42px;font:normal normal 300 14px/20px Lexend;color:#2a2a2a;text-align:center;min-height:40px}.math-tool .math-input .math-upload__image{width:100%;height:100%;object-fit:contain;font-size:0;user-select:none;display:block;border-radius:16px}.math-tool .math-input .math-upload__tips{display:none}.math-tool .math-input .math-upload__delete{width:22px;height:22px;position:absolute;right:6px;top:6px;cursor:pointer;z-index:1}.math-tool .math-input .math-upload__delete .css-flag{transition:all .3s ease-out;fill:#707070}.math-tool .math-input .math-upload__delete:hover .css-flag{fill:#cf3c41}.math-tool .math-input .math-upload input{display:none}.math-tool .math-input .math-upload__default,.math-tool .math-input .math-upload__uploading,.math-tool .math-input .math-upload__showing{flex-direction:column;justify-content:center;align-items:center;height:100%;gap:14px;position:relative}.math-tool .math-input .math-upload__default{display:flex;cursor:pointer}.math-tool .math-input .math-upload__default .math-upload__icon{background:url(/assets/aimathsolver/img/ico_upload.svg) no-repeat center center;background-size:contain}.math-tool .math-input .math-upload__uploading{display:none}.math-tool .math-input .math-upload__uploading .math-upload__icon{background:url(/assets/aimathsolver/img/ico_uploading.svg) no-repeat center center;background-size:contain;animation:ai-spin 1s linear infinite}.math-tool .math-input .math-upload__showing{display:none}.math-tool .math-input .math-upload.is-idle:hover{background-color:rgba(14,90,255,.0509803922);border:1px dashed #0e5aff}.math-tool .math-input .math-upload.is-dragging{background-color:rgba(14,90,255,.0509803922);border:1px dashed #0e5aff}.math-tool .math-input .math-upload.is-uploading{background-color:rgba(14,90,255,.0509803922);border:1px dashed #0e5aff}.math-tool .math-input .math-upload.is-uploading .math-upload__uploading{display:flex}.math-tool .math-input .math-upload.is-uploading .math-upload__default,.math-tool .math-input .math-upload.is-uploading .math-upload__showing{display:none}.math-tool .math-input .math-upload.is-showing{border:1px solid #0e5aff}.math-tool .math-input .math-upload.is-showing .math-upload__showing{display:flex}.math-tool .math-input .math-upload.is-showing .math-upload__default,.math-tool .math-input .math-upload.is-showing .math-upload__uploading{display:none}.math-tool .math-input .math-shortcut{display:flex;align-items:flex-end;gap:8px;padding-top:12px}.math-tool .math-input .math-shortcut .ai-button{height:33px;padding-left:14px;padding-right:14px;border-radius:17px;font:normal normal 300 14px/14px Lexend}.math-tool .math-input-top{display:flex;justify-content:flex-end}.math-tool .math-input-content{display:flex;margin-top:16px;gap:24px}.math-tool .math-input-content .math-input__uploader{flex-shrink:0}.math-tool .math-input-right{flex-grow:1;display:flex;flex-direction:column}.math-tool .math-input-body{background-color:rgba(112,112,112,.0509803922);border:1px solid rgba(0,0,0,0);transition:all .3s ease-out;border-radius:16px;padding-top:16px;padding-bottom:16px;padding-left:20px;padding-right:20px;height:250px;display:flex;flex-direction:column}.math-tool .math-input-body:hover{background-color:hsla(0,0%,100%,.0509803922);border:1px solid #1e1c2c}.math-tool .math-input-footer{display:flex;align-items:center;margin-top:24px;gap:16px}.math-tool .math-input-footer-left{display:flex;gap:16px}.math-tool .math-input-footer .math-input__history{visibility:hidden}.math-tool .math-input-footer .math-input__history .ai-button__icon{background:url(/assets/aimathsolver/img/ico_history.svg) no-repeat center center}.math-tool .math-input-footer .math-input__new-chat .ai-button__icon{background:url(/assets/aimathsolver/img/ico_new_chat.svg) no-repeat center center;margin-top:1px}.math-tool .math-input-footer .math-input__new-chat .ai-button__text{font-weight:300}.math-tool .math-input-footer .math-send{margin-left:auto}.math-tool .math-input.is-engaged .math-input-body{background-color:hsla(0,0%,100%,.0509803922);border:1px solid #0e5aff}.math-tool.is-sending{pointer-events:none;user-select:none;-webkit-user-drag:none}.math-tool.is-sending .math-send{pointer-events:none;transition:none;display:flex;justify-content:center;align-items:center}.math-tool.is-sending .math-send>*:not(.math-send__loading){display:none}.math-tool.is-sending .math-send .math-send__loading{display:inline-block}.math-tool.chatting-mode{padding-top:30px;padding-bottom:18px}.math-tool.chatting-mode .math-header{display:none}.math-tool.chatting-mode .math-example{display:none}.math-tool.chatting-mode .chat-message{display:block;height:100%;animation:ai-height-100 .3s ease-out forwards}.math-tool.chatting-mode .math-input{margin-top:16px}.math-tool.chatting-mode .math-input .math-upload{width:210px;height:145px}.math-tool.chatting-mode .math-input .math-upload__title{padding-left:24px;padding-right:24px}.math-tool.chatting-mode .math-input-body{height:145px}.math-tool.chatting-mode .math-input-content{margin-top:14px}.math-tool.chatting-mode .math-input-footer{margin-top:10px;align-items:flex-end}.math-tool.is-leaving{padding-top:30px;padding-bottom:18px}.math-tool.is-leaving .math-header{display:flex}.math-tool.is-leaving .math-example{display:block}.math-tool.is-leaving .chat-message{display:block;height:100%;animation:ai-height-0 .2s ease-out forwards}}@media screen and (max-width: 768px){.math-tool{width:100%;padding-left:22px;padding-right:22px;margin-left:auto;margin-right:auto;padding-top:7px;padding-bottom:37px;position:relative}.math-tool .math-header{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}.math-tool .math-header__logo{width:105px;height:93px;flex-shrink:0}.math-tool .math-header__body{flex-grow:1;display:flex;flex-direction:column;gap:10px}.math-tool .math-header__title{font:normal normal bold 36px/44px Lexend;color:#1e1c2c}.math-tool .math-header__desc{font:normal normal 300 16px/22px Lexend;color:#8f8c9e}.math-tool .math-example{margin-top:36px}.math-tool .math-example__title{width:100%;display:flex;align-items:center;position:relative}.math-tool .math-example__title::before{content:"";height:1px;background-color:#e6e5eb;position:absolute;width:100%;top:50%;transform:translateY(-50%)}.math-tool .math-example__title p{background-color:#fff;padding-left:0;padding-right:20px;font:normal normal normal 16px/20px Lexend;color:#1e1c2c;height:24px;z-index:1;min-height:20px;max-height:40px;max-width:calc(100% - 16px);width:max-content;height:max-content}.math-tool .math-example-list{margin-top:25px;display:grid;grid-template-columns:1fr;gap:14px}.math-tool .math-example__item{background-color:rgba(112,112,112,.0509803922);border:1px solid rgba(112,112,112,.5019607843);border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;height:187px;gap:13px;cursor:pointer;transition:all .3s ease-out;position:relative;overflow:hidden}.math-tool .math-example__item span{width:30px;height:30px;background:url(/assets/aimathsolver/img/ico_question.svg) no-repeat center center;background-size:contain}.math-tool .math-example__item p{padding-left:56px;padding-right:56px;font:normal normal normal 14px/20px Lexend;color:#1e1c2c;text-align:center}.math-tool .math-example__item img{display:block;font-size:0;width:100%;height:100%;object-fit:fill}.math-tool .math-delete-select,.math-tool .ai-copy-select{width:182px}.math-tool .math-delete-select .ai-select__label,.math-tool .ai-copy-select .ai-select__label{font:normal normal 300 14px/14px Lexend}.math-tool .math-history{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;z-index:10000;display:none;padding-left:22px;padding-right:22px}.math-tool .math-history__mask{position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.7);z-index:10001;opacity:0}.math-tool .math-history__content{z-index:10002;width:640px;height:100%;max-height:70vh;background-color:#fff;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;position:relative}.math-tool .math-history__title{font:normal normal bold 20px/31px Lexend;color:#1e1c2c;cursor:default;padding-top:12px;padding-bottom:3px;padding-left:14px;padding-right:14px}.math-tool .math-history__body{flex-grow:1;overflow:hidden;padding-top:8px}.math-tool .math-history__body-wrapper{height:100%;overflow:auto}.math-tool .math-history__footer{padding-top:17px;padding-bottom:17px;padding-left:16px;padding-right:16px;display:flex;justify-content:space-between;align-items:center;gap:40px}.math-tool .math-history__text{font:normal normal 300 14px/20px Lexend;color:#707070;cursor:default}.math-tool .math-history__delete{font:normal normal normal 14px/20px Lexend;min-width:104px;height:40px;flex-shrink:0}.math-tool .math-history__inner-mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;display:none;user-select:none;pointer-events:none;-webkit-user-drag:none}.math-tool .math-history__inner-mask span{width:32px;height:32px;background:url(/assets/aimathsolver/img/ico_uploading.svg) no-repeat center center;animation:ai-spin 1s linear infinite}.math-tool .math-history__close{top:12px;right:12px}.math-tool .math-history.is-active{display:flex}.math-tool .math-history.is-active .math-history__mask{animation:ai-opacity-1 .2s ease-out forwards}.math-tool .math-history.is-leave{display:flex}.math-tool .math-history.is-leave .math-history__content,.math-tool .math-history.is-leave .math-history__mask{animation:ai-opacity-0 .2s ease-out forwards}.math-tool .math-history.is-loading .math-history__body,.math-tool .math-history.is-loading .math-history__footer{display:none}.math-tool .math-history.is-loading .math-history__inner-mask{display:flex}.math-tool .chat-history__item{padding-left:14px;padding-right:14px;padding-top:17px;padding-bottom:17px;cursor:pointer;transition:background-color .3s ease-out;position:relative;user-select:none}.math-tool .chat-history__item:not(:last-child)::before{content:"";position:absolute;bottom:0;left:14px;right:14px;height:1px;background-color:#e8e7ec}.math-tool .chat-history__header{display:flex;justify-content:space-between;align-items:center;gap:24px;height:24px}.math-tool .chat-history__title{font:normal normal bold 16px/20px Lexend;color:#1e1c2c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.math-tool .chat-history__time{font:normal normal 300 14px/20px Lexend;color:#707070;flex-shrink:0}.math-tool .chat-history__delete{flex-shrink:0;width:24px;height:24px;display:flex;display:none;justify-content:center;align-items:center}.math-tool .chat-history__delete svg{width:20px;height:20px;pointer-events:none}.math-tool .chat-history__delete svg .css-flag{transition:all .3s ease-out;opacity:.5}.math-tool .chat-history__content{margin-top:4px}.math-tool .chat-history__content-inner{font:normal normal 300 14px/20px Lexend;color:#707070;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.math-tool .math-body{display:flex;flex-direction:column}.math-tool .chat-message{display:none;height:0;overflow:hidden}.math-tool .chat-message-wrapper{overflow:auto;padding-left:22px;padding-right:22px}.math-tool .chat-message-list{display:grid;grid-template-rows:1fr;row-gap:20px}.math-tool .chat-message__item{overflow-x:hidden}.math-tool .chat-message-bot{display:flex;gap:8px;padding:14px;background-color:#f4f3f4;border-radius:16px}.math-tool .chat-message-bot .chat-message__icon{width:22px;height:22px;background:url(/assets/aimathsolver/img/ico_ai.svg) no-repeat center center;background-size:contain;flex-shrink:0}.math-tool .chat-message-bot .chat-message__content{flex-grow:1;width:calc(100% - 30px)}.math-tool .chat-message-bot .chat-message__content .chat-message__name{font:normal normal 300 14px/22px Lexend;color:#1264fc;opacity:.8}.math-tool .chat-message-bot .chat-message__content .chat-message__body{margin-top:7px;margin-bottom:7px}.math-tool .chat-message-bot .chat-message__content .chat-message__markdown{display:none}.math-tool .chat-message-bot .chat-message__content .chat-message__thinking{width:44px;height:18px;transform:translateX(-6px);display:none;font-size:16px}.math-tool .chat-message-bot .chat-message__footer{display:flex;align-items:center;gap:7px;transform:translateX(-4px);display:none;overflow:hidden}.math-tool .chat-message-bot .chat-message__footer svg{width:16px;pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .css-flag{transition:opacity .3s ease-out}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow{width:24px;height:24px;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh.disabled,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy.disabled,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow.disabled{pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .chat-message__refresh.disabled .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy.disabled .css-flag,.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow.disabled .css-flag{opacity:.15}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-wrapper{display:inline-flex;justify-content:center;align-items:center}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-wrapper.is-disabled{pointer-events:none}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow{width:14px;justify-content:flex-start}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-arrow svg{width:10px}.math-tool .chat-message-bot .chat-message__footer .chat-message__copy-ok{display:none;width:24px;height:24px;transform:scale(1.67);font-size:16px}.math-tool .chat-message-bot.is-thinking .chat-message__thinking{display:block}.math-tool .chat-message-bot.is-completed .chat-message__markdown{display:block}.math-tool .chat-message-bot.is-completed .chat-message__footer{display:flex}.math-tool .chat-message-bot.is-typing .chat-message__markdown{display:block}.math-tool .chat-message-bot.is-copying .chat-message__copy-wrapper{display:none}.math-tool .chat-message-bot.is-copying .chat-message__copy-ok{display:block}.math-tool .chat-message-user{display:flex;flex-direction:column;align-items:flex-end;row-gap:12px}.math-tool .chat-message-user .chat-message__image{min-width:150px;min-height:100px;max-height:250px;max-width:250px;border:1px solid rgba(112,112,112,.5019607843);border-radius:12px;position:relative;overflow:hidden;cursor:pointer;flex-shrink:0}.math-tool .chat-message-user .chat-message__image img{width:100%;height:100%;object-fit:cover;display:block;font-size:0}.math-tool .chat-message-user .chat-message__image .chat-message__image-mask{display:none}.math-tool .chat-message-user .chat-message__message{background-color:#1264fc;border-radius:12px;font:normal normal normal 16px/20px Lexend;color:#fff;padding:12px 20px;width:fit-content;max-width:80%;flex-shrink:0;white-space:break-spaces;word-break:break-word}.math-tool .math-input .math-model-select{width:255px}.math-tool .math-input .math-input__input{flex-grow:1}.math-tool .math-input .math-input__textarea{width:100%;height:100%;border:none;outline:none;resize:none;font:normal normal 300 16px/20px Lexend;color:#1e1c2c;background-color:rgba(0,0,0,0)}.math-tool .math-input .math-input__textarea::placeholder{color:#8f8c9e}.math-tool .math-input .math-send{display:flex;justify-content:space-between;align-items:center;cursor:pointer;user-select:none;background:rgba(0,0,0,0) linear-gradient(91deg, #482ED2 0%, #2454D3 100%);padding-left:8px;padding-right:8px;border-radius:28px;outline:none;border:none;font:normal normal normal 14px/14px Lexend;color:#fff;gap:8px;transition:all .3s ease-out;width:193px;height:56px;position:relative}.math-tool .math-input .math-send .math-send__loading{width:24px;height:24px;background:url(/assets/aimathsolver/img/ico_loading.svg) no-repeat center center;background-size:contain;animation:ai-spin 1s linear infinite;display:none}.math-tool .math-input .math-send .math-send__icon{position:absolute;top:50%;right:0;transform:translateX(-20px) translateY(-50%);width:16px;height:16px;z-index:1;transition:transform .2s ease-out, opacity .2s ease-out}.math-tool .math-input .math-send .math-send__circle{width:40px;height:40px;border-radius:20px;background-color:#fff;opacity:1;transition:opacity .3s ease-out}.math-tool .math-input .math-send .math-send__text{margin-left:19px;opacity:1;transition:opacity .3s ease-out}.math-tool .math-input .math-upload{width:100%;min-height:200px;aspect-ratio:331/200;background-color:rgba(112,112,112,.0509803922);border-radius:16px;border:1px dashed rgba(112,112,112,.4);overflow:hidden;user-select:none;transition:all .3s ease-out}.math-tool .math-input .math-upload__icon{width:36px;height:36px}.math-tool .math-input .math-upload__title{padding-left:42px;padding-right:42px;font:normal normal 300 14px/20px Lexend;color:#2a2a2a;text-align:center;min-height:40px}.math-tool .math-input .math-upload__image{width:100%;height:100%;object-fit:contain;font-size:0;user-select:none;display:block;border-radius:16px}.math-tool .math-input .math-upload__tips{font:normal normal 300 12px/20px Lexendb;color:#1e1c2c;text-align:center;opacity:.4;position:absolute;bottom:22px}.math-tool .math-input .math-upload__delete{width:22px;height:22px;position:absolute;right:6px;top:6px;cursor:pointer;z-index:1}.math-tool .math-input .math-upload__delete .css-flag{transition:all .3s ease-out;fill:#707070}.math-tool .math-input .math-upload input{display:none}.math-tool .math-input .math-upload__default,.math-tool .math-input .math-upload__uploading,.math-tool .math-input .math-upload__showing{flex-direction:column;justify-content:center;align-items:center;height:100%;gap:14px;position:relative}.math-tool .math-input .math-upload__default{display:flex;cursor:pointer}.math-tool .math-input .math-upload__default .math-upload__icon{background:url(/assets/aimathsolver/img/ico_upload.svg) no-repeat center center;background-size:contain}.math-tool .math-input .math-upload__uploading{display:none}.math-tool .math-input .math-upload__uploading .math-upload__icon{background:url(/assets/aimathsolver/img/ico_uploading.svg) no-repeat center center;background-size:contain;animation:ai-spin 1s linear infinite}.math-tool .math-input .math-upload__showing{display:none}.math-tool .math-input .math-upload.is-dragging{background-color:rgba(14,90,255,.0509803922);border:1px dashed #0e5aff}.math-tool .math-input .math-upload.is-uploading{background-color:rgba(14,90,255,.0509803922);border:1px dashed #0e5aff}.math-tool .math-input .math-upload.is-uploading .math-upload__uploading{display:flex}.math-tool .math-input .math-upload.is-uploading .math-upload__default,.math-tool .math-input .math-upload.is-uploading .math-upload__showing{display:none}.math-tool .math-input .math-upload.is-showing{border:1px solid #0e5aff}.math-tool .math-input .math-upload.is-showing .math-upload__showing{display:flex}.math-tool .math-input .math-upload.is-showing .math-upload__default,.math-tool .math-input .math-upload.is-showing .math-upload__uploading{display:none}.math-tool .math-input .math-shortcut{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding-top:12px}.math-tool .math-input .math-shortcut .ai-button{height:33px;padding-left:14px;padding-right:14px;border-radius:17px;font:normal normal 300 14px/14px Lexend}.math-tool .math-input-top{display:flex;justify-content:flex-end;display:none}.math-tool .math-input-content{display:flex;flex-direction:column;gap:15px}.math-tool .math-input-content .math-input__uploader{flex-shrink:0}.math-tool .math-input-right{flex-grow:1;display:flex;flex-direction:column}.math-tool .math-input-body{background-color:rgba(112,112,112,.0509803922);border:1px solid rgba(0,0,0,0);transition:all .3s ease-out;border-radius:16px;padding-top:14px;padding-bottom:14px;padding-left:14px;padding-right:14px;height:382px;display:flex;flex-direction:column}.math-tool .math-input-footer{display:flex;flex-direction:column;margin-top:16px;gap:16px;flex-wrap:wrap}.math-tool .math-input-footer-left{display:flex;gap:10px}.math-tool .math-input-footer .math-model-select{display:flex !important;order:1;width:100%;flex-grow:1}.math-tool .math-input-footer .math-model-select .ai-select__trigger{width:100%}.math-tool .math-input-footer .math-input__history{visibility:hidden;order:2}.math-tool .math-input-footer .math-input__history .ai-button__icon{background:url(/assets/aimathsolver/img/ico_history.svg) no-repeat center center}.math-tool .math-input-footer .math-input__new-chat{padding-left:13px;padding-right:13px;order:3}.math-tool .math-input-footer .math-input__new-chat .ai-button__icon{background:url(/assets/aimathsolver/img/ico_new_chat.svg) no-repeat center center;margin-top:1px}.math-tool .math-input-footer .math-input__new-chat .ai-button__text{display:none}.math-tool .math-input-footer .math-send{width:100%}.math-tool .math-input.is-engaged .math-input-body{background-color:hsla(0,0%,100%,.0509803922);border:1px solid #0e5aff}.math-tool.is-sending{pointer-events:none;user-select:none;-webkit-user-drag:none}.math-tool.is-sending .math-send{pointer-events:none;transition:none;display:flex;justify-content:center;align-items:center}.math-tool.is-sending .math-send>*:not(.math-send__loading){display:none}.math-tool.is-sending .math-send .math-send__loading{display:inline-block}.math-tool.chatting-mode{padding:0}.math-tool.chatting-mode .math-header{display:none}.math-tool.chatting-mode .math-example{display:none}.math-tool.chatting-mode .math-body{position:relative;overflow:hidden}.math-tool.chatting-mode .chat-message{display:block;height:100%;animation:ai-height-100 .3s ease-out forwards}.math-tool.chatting-mode .chat-message .chat-message-wrapper{--add-padding-bottom: 0px;padding-top:22px;padding-bottom:22px;padding-bottom:calc(292px + var(--add-padding-bottom));height:100%}.math-tool.chatting-mode .math-input{background-color:#fff;box-shadow:0 -1px 6px rgba(0,0,0,.1607843137);position:absolute;bottom:0;left:0;right:0;padding-top:15px;padding-bottom:12px;z-index:99;transition:all .3s ease-out}.math-tool.chatting-mode .math-input .math-input__input{background-color:#fff;border:1px solid rgba(30,28,44,.1882352941);transition:all .3s ease-out;border-radius:16px;padding-top:14px;padding-bottom:14px;padding-left:14px;padding-right:14px;margin-left:22px;margin-right:22px;max-height:88px}.math-tool.chatting-mode .math-input .math-input__textarea{height:28px;max-height:56px}.math-tool.chatting-mode .math-input .math-shortcut{flex-wrap:nowrap;padding-top:7px;padding-right:22px;width:max-content}.math-tool.chatting-mode .math-input .math-shortcut .ai-button{white-space:nowrap}.math-tool.chatting-mode .math-input .math-shortcut-outer{display:block !important;width:100%;padding-left:22px;padding-right:0}.math-tool.chatting-mode .math-input .math-shortcut-wrapper{width:100%;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none}.math-tool.chatting-mode .math-input .math-shortcut-wrapper::-webkit-scrollbar{display:none}.math-tool.chatting-mode .math-input-top{display:flex;justify-content:space-between;padding-left:22px;padding-right:22px;margin-bottom:12px}.math-tool.chatting-mode .math-input-top .math-model-select{width:215px}.math-tool.chatting-mode .math-input-top .math-input__uploader{display:block !important}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload{width:48px;height:48px;min-height:unset;border-radius:12px}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__icon{width:28px;height:28px}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__title{display:none}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__delete{width:18px;height:18px;position:absolute;right:2px;top:2px;cursor:pointer;z-index:1}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__image{border-radius:12px}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__default,.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__uploading,.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__showing{gap:0}.math-tool.chatting-mode .math-input-top .math-input__uploader .math-upload__uploading .math-upload__icon{width:20px;height:20px}.math-tool.chatting-mode .math-input-content .math-input__uploader{display:none}.math-tool.chatting-mode .math-input-body{background-color:rgba(0,0,0,0);border:none;border-radius:0;padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;height:auto;display:flex;flex-direction:column}.math-tool.chatting-mode .math-input-footer{margin-top:12px;flex-direction:row;padding-left:22px;padding-right:22px}.math-tool.chatting-mode .math-input-footer-left{gap:10px;align-items:center}.math-tool.chatting-mode .math-input-footer .math-model-select{display:none !important}.math-tool.chatting-mode .math-input-footer .math-input__history{order:2}.math-tool.chatting-mode .math-input-footer .math-input__new-chat{order:1}.math-tool.chatting-mode .math-input-footer .math-send{width:165px;margin-left:auto}.math-tool.chatting-mode .math-input.is-engaged .math-input-body{background-color:rgba(0,0,0,0);border:none}.math-tool.chatting-mode .math-input.is-engaged .math-input__input{background-color:hsla(0,0%,100%,.0509803922);border:1px solid #0e5aff}.math-tool.is-leaving{padding-top:30px;padding-bottom:18px}.math-tool.is-leaving .math-header{display:flex}.math-tool.is-leaving .math-example{display:block}.math-tool.is-leaving .chat-message{display:block;height:100%;animation:ai-height-0 .2s ease-out forwards}}