@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2) format("woff2"),url(/math/assets/KaTeX_AMS-Regular-DMm9YOAa.woff) format("woff"),url(/math/assets/KaTeX_AMS-Regular-DRggAlZN.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/math/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2) format("woff2"),url(/math/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff) format("woff"),url(/math/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2) format("woff2"),url(/math/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff) format("woff"),url(/math/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/math/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2) format("woff2"),url(/math/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff) format("woff"),url(/math/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2) format("woff2"),url(/math/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff) format("woff"),url(/math/assets/KaTeX_Fraktur-Regular-CB_wures.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/math/assets/KaTeX_Main-Bold-Cx986IdX.woff2) format("woff2"),url(/math/assets/KaTeX_Main-Bold-Jm3AIy58.woff) format("woff"),url(/math/assets/KaTeX_Main-Bold-waoOVXN0.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/math/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2) format("woff2"),url(/math/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff) format("woff"),url(/math/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/math/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2) format("woff2"),url(/math/assets/KaTeX_Main-Italic-BMLOBm91.woff) format("woff"),url(/math/assets/KaTeX_Main-Italic-3WenGoN9.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Main-Regular-B22Nviop.woff2) format("woff2"),url(/math/assets/KaTeX_Main-Regular-Dr94JaBh.woff) format("woff"),url(/math/assets/KaTeX_Main-Regular-ypZvNtVU.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/math/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2) format("woff2"),url(/math/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff) format("woff"),url(/math/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/math/assets/KaTeX_Math-Italic-t53AETM-.woff2) format("woff2"),url(/math/assets/KaTeX_Math-Italic-DA0__PXp.woff) format("woff"),url(/math/assets/KaTeX_Math-Italic-flOr_0UB.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/math/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2) format("woff2"),url(/math/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff) format("woff"),url(/math/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/math/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2) format("woff2"),url(/math/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff) format("woff"),url(/math/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2) format("woff2"),url(/math/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff) format("woff"),url(/math/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Script-Regular-D3wIWfF6.woff2) format("woff2"),url(/math/assets/KaTeX_Script-Regular-D5yQViql.woff) format("woff"),url(/math/assets/KaTeX_Script-Regular-C5JkGWo-.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2) format("woff2"),url(/math/assets/KaTeX_Size1-Regular-C195tn64.woff) format("woff"),url(/math/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2) format("woff2"),url(/math/assets/KaTeX_Size2-Regular-oD1tc_U0.woff) format("woff"),url(/math/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,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) format("woff2"),url(/math/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/math/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2) format("woff2"),url(/math/assets/KaTeX_Size4-Regular-BF-4gkZK.woff) format("woff"),url(/math/assets/KaTeX_Size4-Regular-DWFBv043.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/math/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2) format("woff2"),url(/math/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff) format("woff"),url(/math/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}:root{--primary:#4F8EF7;--primary-dark:#2563EB;--bg:#F0F2F5;--bubble-agent:#FFFFFF;--bubble-user:#4F8EF7;--text:#1A1A2E;--muted:#8896A0;--success:#22C55E;--warning:#F59E0B;--danger:#EF4444;--card-bg:#FFFFFF;--border:#E5E8EC;--header-grad:linear-gradient(135deg,#1E3A5F 0%,#2563EB 100%);--panel-max:900px;--content-max:1120px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px)}html,body{height:100%;font-family:-apple-system,PingFang SC,Helvetica Neue,Arial,sans-serif;background:var(--bg);color:var(--text);overflow:hidden;overflow-x:hidden}#app{display:flex;flex-direction:column;height:100vh;height:100dvh;max-width:var(--panel-max);margin:0 auto;background:var(--bg);position:relative;overflow:hidden;padding-left:var(--safe-left);padding-right:var(--safe-right)}@media (min-width:901px){#app{border-left:1px solid var(--border);border-right:1px solid var(--border)}}.panel-scroll,.arena-body,.guide-body,.explain-body,.auth-body,.kg-full-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.input-area{padding-bottom:calc(12px + var(--safe-bottom))}.header{background:var(--header-grad);padding:16px 24px 0;flex-shrink:0;box-shadow:0 2px 12px #2563eb40}.header-top{display:flex;align-items:center;gap:10px;padding-bottom:10px;flex-wrap:wrap}.header-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#60a5fa,#a78bfa);display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0}.header-info{flex:1}.header-name{color:#fff;font-size:15px;font-weight:600;letter-spacing:.4px}.header-sub{color:#fff9;font-size:10.5px;margin-top:1px}.header-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.hdr-btn{background:#ffffff26;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:11px;padding:4px 10px;border-radius:20px;cursor:pointer;transition:background .2s}.hdr-btn:hover{background:#ffffff40}.wq-btn{font-size:16px;padding:4px 8px}.prog-row{display:flex;justify-content:space-between;color:#ffffffa6;font-size:10px;margin-bottom:5px}.prog-bar-bg{background:#ffffff26;border-radius:4px;height:3px;overflow:hidden;margin-bottom:10px}.prog-bar-fill{height:100%;background:linear-gradient(90deg,#60a5fa,#a78bfa);border-radius:4px;transition:width .6s cubic-bezier(.4,0,.2,1)}#chat-area{flex:1;overflow-y:auto;padding:18px 20px 12px;scroll-behavior:smooth}#chat-area::-webkit-scrollbar{width:0}.msg-row{display:flex;gap:8px;margin-bottom:12px;animation:fadeUp .32s ease}.msg-row.user{flex-direction:row-reverse}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.avatar{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:17px}.avatar.agent-av{background:linear-gradient(135deg,#60a5fa,#a78bfa)}.avatar.user-av{background:linear-gradient(135deg,#34d399,#3b82f6)}.bubble{max-width:70%;padding:12px 16px;border-radius:16px;line-height:1.7;font-size:15px;word-break:break-word}.bubble.agent{background:var(--bubble-agent);border-top-left-radius:4px;box-shadow:0 1px 4px #00000014}.bubble.user{background:var(--bubble-user);color:#fff;border-top-right-radius:4px}.bubble .katex{font-size:.97em}.typing-indicator{display:flex;align-items:center;gap:4px;padding:10px 12px}.typing-indicator span{width:6px;height:6px;background:var(--muted);border-radius:50%;animation:bounce 1.2s ease-in-out infinite}.typing-indicator span:nth-child(2){animation-delay:.15s}.typing-indicator span:nth-child(3){animation-delay:.3s}@keyframes bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-5px)}}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.cursor-blink{display:inline-block;width:2px;height:14px;background:var(--primary);margin-left:2px;animation:blink .8s infinite;vertical-align:middle}.upload-card{background:#fff;border-radius:14px;overflow:hidden;margin:4px 0 6px;box-shadow:0 2px 10px #00000012;max-width:80%;cursor:pointer;border:2px dashed var(--border);transition:border-color .2s}.upload-card:hover{border-color:var(--primary)}.upload-zone{padding:18px;text-align:center}.upload-icon{font-size:32px;margin-bottom:8px}.upload-text{font-size:13px;color:var(--muted)}.upload-text strong{color:var(--primary-dark)}.upload-preview{padding:0;position:relative}.upload-preview img{width:100%;height:160px;object-fit:cover;display:block}.ocr-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f19328c;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#fff}.ocr-spinner{width:28px;height:28px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.ocr-label{font-size:12px;letter-spacing:.5px}.graph-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px #00000012;max-width:calc(100% - 44px);margin:2px 0 6px 44px}.graph-card-header{background:linear-gradient(90deg,#1e3a5f,#2563eb);padding:8px 12px;display:flex;align-items:center;justify-content:space-between}.graph-card-title{color:#fff;font-size:12.5px;font-weight:600}.graph-btns{display:flex;gap:5px}.graph-toggle-btn{background:#fff3;border:none;color:#fff;font-size:10.5px;padding:3px 9px;border-radius:20px;cursor:pointer;transition:background .2s;white-space:nowrap}.graph-toggle-btn.active{background:#fff6}.desmos-wrap{height:210px}.graph-tip{padding:6px 12px 8px;background:#f8faff;font-size:11px;color:#5a6a7a;border-top:1px solid #EEF1F6}.slider-card{background:#fff;border-radius:14px;padding:14px 16px;box-shadow:0 2px 10px #00000012;max-width:calc(100% - 44px);margin:2px 0 6px 44px}.slider-card-title{font-size:12px;color:var(--muted);font-weight:600;letter-spacing:.8px;margin-bottom:12px}.slider-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}.slider-label{font-size:13px;font-weight:600;color:var(--text);min-width:22px}.slider-val{font-size:13px;font-weight:700;color:var(--primary-dark);min-width:40px;text-align:right}.slider-row input[type=range]{flex:1;accent-color:var(--primary-dark)}.slider-formula{background:#f8faff;border-radius:10px;padding:10px 12px;font-size:13.5px;color:var(--text);border:1px solid #EEF1F6;text-align:center;margin-top:4px}.slider-desc{font-size:11.5px;color:var(--muted);margin-top:8px;line-height:1.6}.options-wrap{display:flex;flex-direction:column;gap:6px;margin:6px 0 4px 44px;animation:fadeUp .32s ease}.option-btn{background:#fff;border:1.5px solid var(--border);border-radius:24px;padding:13px 16px;font-size:15px;text-align:left;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:10px;min-height:48px}.multi-opt{cursor:pointer;transition:all .15s;-webkit-user-select:none;user-select:none}.multi-opt:hover{border-color:#3b82f6}.multi-opt.multi-selected{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f640}.multi-opt.multi-selected .option-icon{background:#3b82f6;color:#fff}.multi-submit{margin-top:4px;background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border:none;border-radius:24px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s}.multi-submit:active{transform:scale(.97)}.option-btn:hover{border-color:var(--primary);background:#eff6ff}.option-btn.correct{border-color:var(--success);background:#f0fdf4;color:#15803d}.option-btn.wrong{border-color:var(--danger);background:#fef2f2;color:#b91c1c;animation:shake .4s}.option-icon{width:22px;height:22px;border-radius:50%;background:var(--border);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;color:var(--muted);flex-shrink:0}.option-btn.correct .option-icon{background:var(--success);color:#fff}.option-btn.wrong .option-icon{background:var(--danger);color:#fff}@keyframes shake{0%,to{transform:translate(0)}20%,60%{transform:translate(-5px)}40%,80%{transform:translate(5px)}}.btn-row{margin:6px 0 4px 44px;display:flex;gap:8px;flex-wrap:wrap}.input-area{flex-shrink:0;background:#fff;border-top:1px solid var(--border);padding:12px 16px;display:flex;align-items:flex-end;gap:8px}.input-box{flex:1;border:1.5px solid var(--border);border-radius:24px;padding:10px 16px;font-size:15px;outline:none;resize:none;max-height:100px;line-height:1.5;transition:border-color .2s;font-family:inherit}.input-box:focus{border-color:var(--primary)}.send-btn{width:44px;height:44px;border-radius:50%;background:var(--primary);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .15s,background .2s;box-shadow:0 2px 8px #4f8ef759}.send-btn:active{transform:scale(.9)}.send-btn svg{width:19px;height:19px;fill:#fff}.attach-btn{width:44px;height:44px;border-radius:50%;background:var(--bg);border:1.5px solid var(--border);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;transition:background .2s}.attach-btn:hover{background:#e8eaee}.think-btn{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#f5f3ff,#ede9fe);border:1.5px solid #C4B5FD;cursor:pointer;font-size:18px;transition:transform .15s;flex-shrink:0}.think-btn:active{transform:scale(.92)}.think-feedback{margin:4px 0 8px 44px;border-radius:14px;overflow:hidden;animation:fadeUp .32s ease;border:1.5px solid #A5B4FC}.think-feedback-head{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;padding:10px 14px;display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700}.think-feedback-body{background:#f8faff;padding:12px 14px}.think-feedback-section{font-size:12.5px;line-height:1.7;color:#374151;margin-bottom:8px}.think-feedback-section:last-child{margin-bottom:0}.think-feedback-label{font-size:11px;font-weight:700;color:#6d28d9;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.think-score-ring{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:52px;border-radius:50%;color:#fff;font-size:17px;font-weight:800;margin-right:10px}.kg-panel{background:#fff;border-top:1px solid var(--border);padding:12px 18px;flex-shrink:0}.kg-title{font-size:10px;color:var(--muted);margin-bottom:7px;font-weight:600;letter-spacing:1px;text-transform:uppercase}.kg-nodes{display:flex;gap:5px;flex-wrap:wrap}.kg-node{font-size:12px;padding:5px 12px;border-radius:20px;border:1.5px solid var(--border);color:var(--muted);transition:all .4s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:4px}.kg-node.active{border-color:var(--success);background:#f0fdf4;color:#15803d}.kg-node.current{border-color:var(--primary);background:#eff6ff;color:var(--primary-dark);animation:kgpulse 1.5s ease-in-out infinite}@keyframes kgpulse{0%,to{box-shadow:0 0 #4f8ef74d}50%{box-shadow:0 0 0 5px #4f8ef700}}.kg-node .dot{width:5px;height:5px;border-radius:50%;background:currentColor}.divider{text-align:center;color:var(--muted);font-size:10.5px;margin:4px 0 10px;position:relative}.divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--border)}.divider span{position:relative;background:var(--bg);padding:0 9px}.hint-tag{display:inline-flex;align-items:center;gap:4px;background:#fef3c7;color:#92400e;font-size:10.5px;padding:2px 8px;border-radius:8px;margin-bottom:4px}.success-banner{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1.5px solid #A7F3D0;border-radius:14px;padding:11px 13px;margin:4px 0 5px 44px;animation:fadeUp .4s ease}.success-banner-title{font-size:13.5px;font-weight:700;color:#065f46;margin-bottom:3px}.success-banner-sub{font-size:12px;color:#047857}.context-intro{background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1.5px solid #BFDBFE;border-radius:14px;padding:12px 14px;margin:4px 0 8px 44px;animation:fadeUp .32s ease}.context-intro-icon{font-size:14px;margin-bottom:5px;color:#1d4ed8}.context-intro-text{font-size:13px;color:#1e40af;line-height:1.65}.error-analysis{background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1.5px solid #FED7AA;border-radius:14px;padding:12px 14px;margin:4px 0 8px 44px;animation:fadeUp .32s ease}.error-analysis-header{font-size:14px;font-weight:700;color:#9a3412;margin-bottom:8px;display:flex;align-items:center;gap:6px}.error-analysis-section{margin-bottom:8px;padding:8px 10px;background:#fff9;border-radius:10px}.error-analysis-section:last-child{margin-bottom:0}.error-analysis-label{font-size:11px;font-weight:700;color:#c2410c;margin-bottom:3px;text-transform:uppercase;letter-spacing:.5px}.error-analysis-text{font-size:12.5px;color:#431407;line-height:1.6}.thinking-extension{background:linear-gradient(135deg,#f5f3ff,#ede9fe);border:1.5px solid #C4B5FD;border-radius:14px;padding:12px 14px;margin:4px 0 8px 44px;animation:fadeUp .32s ease}.thinking-extension-header{font-size:14px;font-weight:700;color:#5b21b6;margin-bottom:6px;display:flex;align-items:center;gap:6px}.thinking-extension-text{font-size:13px;color:#4c1d95;line-height:1.65}.math-history{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1.5px solid #FCD34D;border-radius:14px;padding:12px 14px;margin:4px 0 8px 44px;animation:fadeUp .32s ease}.math-history-header{font-size:14px;font-weight:700;color:#92400e;margin-bottom:6px;display:flex;align-items:center;gap:6px}.math-history-text{font-size:13px;color:#78350f;line-height:1.7}.math-history-text em{color:#b45309}.arena-trigger-btn{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#16a34a,#059669);color:#fff;border:none;border-radius:24px;padding:12px 24px;font-size:14.5px;font-weight:700;cursor:pointer;margin:8px 0 0 44px;box-shadow:0 4px 14px #16a34a59;transition:transform .15s;width:calc(100% - 56px)}.arena-trigger-btn:active{transform:scale(.97)}.phase-badge{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;padding:2px 8px;border-radius:8px;margin-bottom:6px}.phase-badge.k01{background:#eff6ff;color:var(--primary-dark);border:1px solid #BFDBFE}.phase-badge.k02{background:#fff7ed;color:#92400e;border:1px solid #FED7AA}.phase-badge.k03{background:#fdf4ff;color:#6b21a8;border:1px solid #E9D5FF}@media (min-width: 1024px){#app{max-width:1440px;display:grid;grid-template-columns:300px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;box-shadow:0 0 44px #1e3a5f1a}.header{grid-column:1/3;grid-row:1;padding:14px 28px 0}.header-actions{flex-wrap:wrap;justify-content:flex-end}#chat-area{grid-column:2;grid-row:2;min-height:0;padding:26px 34px}.input-area{grid-column:2;grid-row:3;padding:14px 34px}.kg-panel{grid-column:1;grid-row:2/4;border-top:0;border-right:1px solid var(--border);padding:18px 14px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.kg-title{font-size:13px;font-weight:700;color:var(--muted)}.kg-nodes{flex-direction:column;gap:6px}.kg-node{width:100%;justify-content:flex-start;padding:8px 12px;font-size:13px;border-radius:10px}.bubble{max-width:78%;font-size:16px;padding:14px 20px}.options-wrap{max-width:780px}.option-btn{font-size:15.5px;padding:14px 18px}#chat-area::-webkit-scrollbar{width:6px}#chat-area::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}#chat-area{scrollbar-width:thin;scrollbar-color:#CBD5E1 transparent}#arena-panel,#exam-panel,#gallery-panel,#formula-panel,#challenge-panel,#leaderboard-panel,#dashboard-panel,#wrong-questions-panel,#kg-full-panel,#user-profile-panel,#review-panel,#explain-panel,#guide-panel,#auth-panel,#story-panel{max-width:100%;box-shadow:-10px 0 30px #1e3a5f1f}.arena-header,.kg-full-header{padding-left:28px;padding-right:28px}.arena-body,.guide-body,.explain-body,.kg-full-body{padding:24px 32px}#exam-panel .exam-card,#exam-panel .arena-card,#arena-panel .arena-card,.wq-item,.review-card,.lb-row,.challenge-result,.challenge-start,.profile-card,.panel-status,.exam-status,.gallery-empty,.formula-empty,.wq-export-bar,.profile-loading,.profile-loading.error{max-width:860px;margin-left:auto;margin-right:auto}#exam-panel .exam-card{margin-left:auto;margin-right:auto}.auth-body>*{max-width:460px;margin-left:auto;margin-right:auto}.lb-tabs,.exam-toolbar,.gallery-filter,.formula-toolbar{max-width:860px;margin-left:auto;margin-right:auto}.gallery-count,.formula-count{max-width:var(--content-max);margin-left:auto;margin-right:auto}#guide-panel .guide-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(480px,100%),1fr));gap:14px;align-content:start;width:100%;max-width:var(--content-max);margin:0 auto}#guide-panel .guide-body>.guide-section-title,#guide-panel .guide-body>.guide-continue-btn,#guide-panel .guide-body>.guide-scenes-wrap{grid-column:1/-1}#guide-panel .guide-topic-card{margin-bottom:0}#gallery-panel .arena-body,#formula-panel .arena-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(480px,100%),1fr));gap:14px;align-content:start;padding:24px 32px}#gallery-panel .arena-body>.gallery-filter,#gallery-panel .arena-body>.gallery-count,#gallery-panel .arena-body>.gallery-empty,#gallery-panel .arena-body>.panel-status,#formula-panel .arena-body>.formula-toolbar,#formula-panel .arena-body>.gallery-filter,#formula-panel .arena-body>.formula-count,#formula-panel .arena-body>.formula-empty,#formula-panel .arena-body>.panel-status{grid-column:1/-1}#gallery-panel .gallery-card,#formula-panel .formula-card,#gallery-panel .gallery-filter,#formula-panel .formula-toolbar,#gallery-panel .gallery-count,#formula-panel .formula-count{margin:0}#story-panel .arena-body{width:100%;max-width:var(--content-max);margin:0 auto;padding:24px 32px}#story-panel .story-intro,#story-panel .story-stage-title{margin-left:0;margin-right:0}#story-panel .story-list{margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(400px,100%),1fr));gap:12px}#story-panel .story-article{margin:0 auto;max-width:860px}#story-panel .panel-status{max-width:860px;margin:0 auto}#dashboard-panel .arena-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(520px,100%),1fr));gap:14px;align-content:start;width:100%;max-width:var(--content-max);margin:0 auto;padding:24px 32px}#dashboard-panel .arena-body>.panel-status{grid-column:1/-1}#dashboard-panel .dash-card{margin:0;max-width:none}#dashboard-panel .dash-stat-grid{grid-template-columns:repeat(4,1fr);gap:10px}#wrong-questions-panel .arena-body{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(520px,100%),1fr));gap:14px;align-content:start;width:100%;max-width:var(--content-max);margin:0 auto;padding:24px 32px}#wrong-questions-panel .arena-body>.wq-export-bar,#wrong-questions-panel .arena-body>.panel-status,#wrong-questions-panel .arena-body>.wq-empty{grid-column:1/-1}#wrong-questions-panel .wq-item{margin:0;max-width:none}#user-profile-panel .arena-body{width:100%;max-width:var(--content-max);margin:0 auto;padding:24px 32px}#user-profile-panel .profile-card{margin-left:0;margin-right:0;max-width:none}#user-profile-panel .profile-auth-card{max-width:480px;margin-left:auto;margin-right:auto}#explain-panel .explain-body>*,#kg-full-panel .kg-full-body>*,#review-panel .arena-body>*,#leaderboard-panel .arena-body>*{max-width:var(--content-max);margin-left:auto;margin-right:auto}#leaderboard-panel .lb-row,#review-panel .review-card{margin-left:0;margin-right:0}#challenge-panel .arena-body>*{max-width:860px;margin-left:auto;margin-right:auto}#exam-panel .exam-body{padding:0 32px 24px}#exam-panel .exam-toolbar{max-width:860px;margin:12px auto 0}#exam-panel .exam-card{max-width:860px;margin-left:auto;margin-right:auto}#topic-modal{align-items:center;justify-content:center}.topic-sheet{border-radius:20px;max-width:680px;max-height:82vh;box-shadow:0 24px 70px #00000047}}@media (min-width: 1280px){.hdr-btn{font-size:12.5px;padding:7px 13px}.wq-btn{display:inline-flex;align-items:center;gap:5px}.wq-btn:after{content:attr(title);font-size:12px;font-weight:600}}.subject-switch{position:relative;display:inline-flex}.subject-switch.ss-float{position:absolute;top:16px;right:20px;z-index:6}.ss-trigger{display:inline-flex;align-items:center;gap:5px;background:#ffffff26;border:1px solid rgba(255,255,255,.3);color:#fff;font-size:11px;padding:4px 10px;border-radius:20px;cursor:pointer;font-family:inherit;transition:background .2s;white-space:nowrap}.ss-trigger:hover{background:#ffffff47}.ss-trigger-icon{font-size:13px;line-height:1}.ss-trigger-caret{font-size:9px;opacity:.75}.ss-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:300;background:#fff;border-radius:14px;box-shadow:0 14px 40px #0f172a3d;border:1px solid #E2E8F0;padding:6px;min-width:220px;animation:fadeUp .18s ease}.ss-menu-head{font-size:10.5px;font-weight:700;color:#94a3b8;padding:6px 10px 4px;letter-spacing:.5px}.ss-menu-foot{font-size:10px;color:#94a3b8;padding:6px 10px 4px;border-top:1px solid #F1F5F9;margin-top:4px}.ss-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;text-decoration:none;color:#1e293b;transition:background .15s}.ss-item:hover{background:#f1f5f9}.ss-item.current{background:#eff6ff;cursor:default}.ss-item-icon{font-size:18px;line-height:1;width:22px;text-align:center}.ss-item-body{display:flex;flex-direction:column;min-width:0}.ss-item-name{font-size:13px;font-weight:700;white-space:nowrap}.ss-item-desc{font-size:10.5px;color:#94a3b8;white-space:nowrap}.ss-item-badge{margin-left:auto;font-size:10px;font-weight:700;color:#2563eb;background:#dbeafe;border-radius:999px;padding:2px 8px;white-space:nowrap}.ss-item-arrow{margin-left:auto;color:#94a3b8;font-size:12px}#guide-panel .guide-header{position:relative}@media (max-width:640px){.ss-trigger-label{display:none}.ss-menu{min-width:200px}}#auth-panel{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:30;display:flex;flex-direction:column;width:100%;max-width:none}#auth-panel.hidden{display:none}.auth-header{background:var(--header-grad);padding:32px 28px 28px;color:#fff;flex-shrink:0}.auth-title{font-size:22px;font-weight:800;letter-spacing:.5px;margin-bottom:4px}.auth-sub{font-size:14px;opacity:.75;line-height:1.6}.auth-body{flex:1;overflow-y:auto;padding:20px 24px}.auth-card{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 10px #0000000d}.auth-form-group{margin-bottom:16px}.auth-label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;font-weight:500}.auth-input{width:100%;border:1.5px solid var(--border);border-radius:10px;padding:12px 14px;font-size:15px;outline:none;transition:border-color .2s;font-family:inherit}.auth-input:focus{border-color:var(--primary)}.auth-btn{width:100%;padding:13px;background:var(--primary);color:#fff;border:none;border-radius:24px;font-size:15px;font-weight:700;cursor:pointer;transition:transform .15s;box-shadow:0 4px 14px #4f8ef759}.auth-btn:active{transform:scale(.97)}.auth-switch{width:100%;background:transparent;color:var(--primary);border:1.5px solid var(--primary);border-radius:24px;padding:11px;font-size:13px;font-weight:600;cursor:pointer;margin-top:10px}.auth-error{display:none;color:#dc2626;font-size:12px;text-align:center;margin-top:10px;background:#fef2f2;padding:8px;border-radius:8px}.auth-error.show{display:block}.auth-skip{text-align:center;margin-top:16px;font-size:12px;color:var(--muted)}.auth-skip a{color:var(--primary);cursor:pointer;text-decoration:underline}#guide-panel{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg);z-index:10;display:flex;flex-direction:column;width:100%;max-width:none}.guide-header{background:linear-gradient(135deg,#1e3a5f,#4f46e5);padding:32px 28px 28px;color:#fff;flex-shrink:0}.guide-title{font-size:24px;font-weight:800;letter-spacing:.5px;margin-bottom:6px}.guide-sub{font-size:14px;opacity:.75;line-height:1.6}.guide-stats{display:flex;gap:16px;margin-top:16px}.guide-stat{background:#ffffff26;border-radius:12px;padding:12px 16px;text-align:center;min-width:70px}.guide-stat-val{font-size:22px;font-weight:800}.guide-stat-label{font-size:10.5px;opacity:.65;margin-top:2px}.guide-body{flex:1;overflow-y:auto;padding:20px 24px}.guide-section-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:12px;display:flex;align-items:center;gap:8px}.guide-section-title:after{content:"";flex:1;height:1px;background:var(--border)}.guide-topic-card{background:#fff;border-radius:16px;padding:18px 20px;margin-bottom:12px;box-shadow:0 2px 10px #0000000a;display:flex;align-items:center;gap:16px;cursor:pointer;transition:all .25s;border:2px solid transparent}.guide-topic-card:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 6px 20px #4f8ef71f}.guide-topic-card.done{border-color:var(--success);background:#f0fdf4}.guide-topic-card.locked{opacity:.45;pointer-events:none}.guide-tc-icon{font-size:32px;width:56px;height:56px;border-radius:14px;background:var(--bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.guide-tc-info{flex:1;min-width:0}.guide-tc-name{font-size:15px;font-weight:700;color:var(--text);margin-bottom:4px}.guide-grade-tag{font-size:10px;padding:2px 8px;border-radius:6px;background:#f5f3ff;color:#7c3aed;margin-left:8px;font-weight:600;vertical-align:middle}.guide-tc-desc{font-size:12px;color:var(--muted);line-height:1.5}.guide-tc-meta{display:flex;align-items:center;gap:8px;margin-top:8px}.guide-tc-prog-bg{flex:1;height:6px;background:var(--border);border-radius:3px;overflow:hidden}.guide-tc-prog-fill{height:100%;background:var(--primary);border-radius:3px;transition:width .5s}.guide-tc-prog-fill.done{background:var(--success)}.guide-tc-prog-txt{font-size:11px;color:var(--muted);white-space:nowrap}.guide-tc-badge{font-size:10px;padding:3px 9px;border-radius:8px;font-weight:600;white-space:nowrap}.guide-tc-badge.done{background:#d1fae5;color:#065f46}.guide-tc-badge.wip{background:#eff6ff;color:var(--primary-dark)}.guide-tc-badge.new{background:#f3f4f6;color:#6b7280}.guide-arrow{font-size:18px;color:var(--muted);flex-shrink:0}.guide-continue-btn{display:block;width:100%;padding:15px;margin-top:14px;background:linear-gradient(135deg,#4f8ef7,#2563eb);color:#fff;border:none;border-radius:16px;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #4f8ef759;transition:transform .15s}.guide-continue-btn:active{transform:scale(.97)}.guide-rec{margin:10px 16px 4px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#f0fdf4);border:1.5px solid #93C5FD;display:none;animation:fadeUp .32s ease}.guide-rec.show{display:block}.guide-rec-title{font-size:13px;font-weight:800;color:#1d4ed8;margin-bottom:4px}.guide-rec-text{font-size:12.5px;color:#1e3a5f;line-height:1.7;margin-bottom:8px}.guide-rec-btn{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;border:none;border-radius:20px;padding:8px 16px;font-size:12.5px;font-weight:700;cursor:pointer}.guide-daily{margin:8px 16px 4px;padding:12px 38px 12px 14px;border-radius:14px;background:linear-gradient(135deg,#fff7ed,#fef3c7);border:1.5px solid #FCD34D;display:none;animation:fadeUp .32s ease;position:relative}.guide-daily.show{display:block}.guide-card-close{position:absolute;top:7px;right:8px;width:22px;height:22px;padding:0;border:none;border-radius:50%;background:#0000000d;color:#9ca3af;font-size:11px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:inherit;transition:all .15s;z-index:2}.guide-card-close:hover{background:#00000021;color:#374151}.guide-scenes-wrap{position:relative}.guide-scenes-wrap .guide-scenes-btn{padding-right:38px}.guide-restore-link{display:block;margin:10px 0 0;background:none;border:none;color:#ffffffb8;font-size:11.5px;cursor:pointer;text-decoration:underline;font-family:inherit;padding:0}.guide-daily-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.guide-daily-title{font-size:13px;font-weight:800;color:#b45309}.guide-daily-streak{font-size:12px;font-weight:700;color:#ea580c}.guide-daily-q{font-size:13.5px;color:#78350f;line-height:1.7;margin-bottom:8px}.guide-daily-btn{background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;border:none;border-radius:20px;padding:8px 16px;font-size:12.5px;font-weight:700;cursor:pointer}#explain-panel{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg);transform:translate(100%);transition:transform .4s cubic-bezier(.4,0,.2,1);z-index:15;display:flex;flex-direction:column;width:100%;max-width:none}#explain-panel.visible{transform:translate(0)}.explain-header{background:linear-gradient(135deg,#1e40af,#3b82f6);padding:16px 20px;display:flex;align-items:center;gap:12px;flex-shrink:0}.explain-back{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:6px;line-height:1}.explain-title{color:#fff;font-size:17px;font-weight:700}.explain-subtitle{color:#fff9;font-size:11px;margin-left:auto}.explain-body{flex:1;overflow-y:auto;padding:20px 24px}.explain-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 10px #0000000a;border-left:4px solid var(--primary)}.explain-card.important{border-left-color:#f59e0b;background:#fffbeb}.explain-card-title{font-size:15px;font-weight:700;color:var(--text);margin-bottom:12px;display:flex;align-items:center;gap:6px}.explain-content{font-size:15px;line-height:1.85;color:var(--text)}.explain-content .katex{font-size:1.05em}.explain-formula{background:linear-gradient(135deg,#f8faff,#eff6ff);border:2px solid #D0DDF4;border-radius:14px;padding:18px;text-align:center;margin:14px 0}.explain-keypoints{list-style:none;padding:0}.explain-keypoints li{padding:10px 0 10px 30px;position:relative;font-size:14px;line-height:1.7;color:var(--text);border-bottom:1px solid #F3F4F6}.explain-keypoints li:last-child{border-bottom:none}.explain-keypoints li:before{content:"✦";position:absolute;left:6px;color:var(--primary);font-size:13px;top:10px}.explain-start-btn{display:block;width:100%;padding:16px;margin-top:8px;background:linear-gradient(135deg,#16a34a,#059669);color:#fff;border:none;border-radius:16px;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 4px 14px #16a34a59;transition:transform .15s}.explain-start-btn:active{transform:scale(.97)}.explain-graph-card{background:#fff;border-radius:16px;overflow:hidden;margin-bottom:16px;box-shadow:0 2px 10px #0000000a}.explain-graph-header{background:linear-gradient(90deg,#1e3a5f,#2563eb);padding:10px 16px;color:#fff;font-size:13px;font-weight:600}.explain-graph-wrap{height:230px}.explain-steps{display:flex;flex-direction:column;gap:10px;margin-top:12px}.explain-step{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;background:#f8faff;border-radius:12px;font-size:14px;line-height:1.7}.explain-step-num{width:28px;height:28px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}.explain-skip-hint{text-align:center;padding:10px;font-size:12px;color:var(--muted)}.explain-skip-link{color:var(--primary);cursor:pointer;text-decoration:underline}.guide-scenes-btn{display:block;width:100%;margin:0 0 4px;background:#fff;border:1.5px dashed #14B8A6;color:#0f766e;border-radius:14px;padding:11px 14px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .2s}.guide-scenes-btn:hover{background:#f0fdfa}#topic-modal{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:flex-end;z-index:100;animation:fadeIn .25s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.topic-sheet{background:#fff;border-radius:20px 20px 0 0;width:100%;max-height:72vh;overflow-y:auto;padding:20px 16px 32px}.topic-sheet-title{font-size:15px;font-weight:700;margin-bottom:4px;color:var(--text)}.topic-sheet-sub{font-size:12px;color:var(--muted);margin-bottom:16px}.topic-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1.5px solid var(--border);border-radius:14px;margin-bottom:9px;cursor:pointer;transition:all .2s}.topic-item:hover{border-color:var(--primary);background:#eff6ff}.topic-item.active{border-color:var(--primary-dark);background:#eff6ff}.topic-item.locked{opacity:.45;pointer-events:none}.topic-icon{font-size:22px;width:42px;height:42px;background:var(--bg);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.topic-info{flex:1}.topic-name{font-size:13.5px;font-weight:600}.topic-desc{font-size:11.5px;color:var(--muted);margin-top:2px}.topic-badges{display:flex;gap:5px;margin-top:4px;flex-wrap:wrap}.tbadge{font-size:10px;padding:2px 7px;border-radius:8px;border:1px solid}.tbadge.done{border-color:var(--success);color:var(--success);background:#f0fdf4}.tbadge.wip{border-color:var(--primary);color:var(--primary);background:#eff6ff}.tbadge.lock{border-color:var(--border);color:var(--muted)}.tbadge.grade{border-color:#8b5cf6;color:#7c3aed;background:#f5f3ff}.topic-confirm{width:100%;padding:13px;background:var(--primary);color:#fff;border:none;border-radius:24px;font-size:15px;font-weight:700;cursor:pointer;margin-top:4px;box-shadow:0 4px 14px #4f8ef759;transition:transform .15s}.topic-confirm:active{transform:scale(.97)}#arena-panel,#exam-panel,#gallery-panel,#formula-panel,#challenge-panel,#leaderboard-panel,#dashboard-panel,#wrong-questions-panel,#kg-full-panel,#user-profile-panel,#review-panel,#story-panel,#scenes-panel{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg);transform:translate(100%);transition:transform .4s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;width:100%;max-width:none}#arena-panel,#wrong-questions-panel,#kg-full-panel,#user-profile-panel,#review-panel{z-index:20}#exam-panel{z-index:21}#gallery-panel,#formula-panel,#story-panel,#scenes-panel{z-index:22}#challenge-panel,#leaderboard-panel{z-index:23}#dashboard-panel{z-index:24}#arena-panel.visible,#exam-panel.visible,#gallery-panel.visible,#formula-panel.visible,#challenge-panel.visible,#leaderboard-panel.visible,#dashboard-panel.visible,#wrong-questions-panel.visible,#kg-full-panel.visible,#user-profile-panel.visible,#review-panel.visible,#story-panel.visible,#scenes-panel.visible{transform:translate(0)}.arena-header{background:linear-gradient(135deg,#14532d,#16a34a);padding:14px 16px;display:flex;align-items:center;gap:10px;flex-shrink:0}.arena-back{background:none;border:none;color:#fff;font-size:20px;cursor:pointer}.arena-title{color:#fff;font-size:15px;font-weight:700}.arena-badge{margin-left:auto;background:#fff3;color:#fff;font-size:10px;padding:3px 9px;border-radius:20px}.arena-body{flex:1;overflow-y:auto;padding:14px}.exam-body{padding:0;display:flex;flex-direction:column}.arena-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 10px #0000000f;margin-bottom:12px}.arena-card-title{font-size:11px;color:var(--muted);font-weight:600;letter-spacing:.9px;margin-bottom:9px}.arena-problem{font-size:14.5px;line-height:1.8;color:var(--text)}.arena-choices{display:flex;flex-direction:column;gap:8px;margin-top:12px}.arena-choice{padding:10px 14px;border:1.5px solid var(--border);border-radius:12px;cursor:pointer;font-size:13.5px;transition:all .2s;display:flex;align-items:center;gap:9px;background:#fff;text-align:left;font-family:inherit}.arena-choice:hover{border-color:var(--primary);background:#eff6ff}.arena-choice.correct{border-color:var(--success);background:#f0fdf4;color:#15803d;font-weight:600}.arena-choice.wrong{border-color:var(--danger);background:#fef2f2;color:#b91c1c}.arena-choice-label{width:24px;height:24px;border-radius:50%;background:var(--bg);border:1.5px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}.arena-result{text-align:center;padding:18px;animation:fadeUp .4s ease}.arena-result-icon{font-size:44px;margin-bottom:6px}.arena-result-title{font-size:19px;font-weight:700;color:var(--success);margin-bottom:5px}.arena-result-sub{font-size:13.5px;color:var(--muted);line-height:1.7}.xp-badge{display:inline-flex;align-items:center;gap:5px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;padding:5px 14px;border-radius:20px;font-size:12.5px;font-weight:700;margin-top:10px}.exam-toolbar{display:flex;gap:8px;padding:12px 16px;border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;flex-shrink:0}.exam-select{flex:1;min-width:90px;padding:9px 10px;border:1.5px solid var(--border);border-radius:12px;font-size:13px;background:#fff;color:var(--text);font-family:inherit}.exam-start{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;border:none;border-radius:12px;padding:10px 16px;font-size:13px;font-weight:700;cursor:pointer}.exam-card{background:#fff;border:1.5px solid var(--border);border-radius:16px;margin:14px 16px;padding:16px;box-shadow:0 2px 10px #0000000a}.exam-meta{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.exam-tag{font-size:11px;font-weight:700;padding:3px 8px;border-radius:20px;background:#f0fdfa;color:#0f766e;border:1px solid #99F6E4}.exam-q{font-size:15px;line-height:1.8;color:var(--text);margin-bottom:12px}.exam-choices{display:flex;flex-direction:column;gap:8px}.exam-choice{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid var(--border);border-radius:20px;padding:12px 14px;font-size:14px;text-align:left;cursor:pointer;transition:all .15s;font-family:inherit}.exam-choice:hover{border-color:#0f766e}.exam-choice:disabled{cursor:default}.exam-choice.correct{background:#ecfdf5;border-color:#34d399}.exam-choice.wrong{background:#fef2f2;border-color:#f87171}.exam-choice.multi-opt.multi-selected{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f640}.exam-choice.multi-opt.multi-selected .option-icon{background:#3b82f6;color:#fff}.exam-answer{margin-top:12px}.exam-result{font-size:14px;font-weight:700;padding:10px 12px;border-radius:10px;margin-bottom:8px}.exam-result.ok{background:#ecfdf5;color:#047857}.exam-result.no{background:#fef2f2;color:#b91c1c}.exam-solution-title{font-size:13px;font-weight:700;color:var(--primary);margin-bottom:4px}.exam-solution{font-size:13px;color:#374151;line-height:1.7;background:#f8fafc;border-radius:10px;padding:10px 12px}.exam-src{font-size:11px;color:var(--muted);margin-top:8px}.exam-next{margin-top:12px;width:100%;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;border:none;border-radius:20px;padding:11px;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit}.exam-input{width:100%;padding:10px 12px;border:1.5px solid var(--border);border-radius:12px;font-size:14px;margin-bottom:8px;font-family:inherit}.exam-status{padding:24px;text-align:center;color:var(--muted);font-size:13.5px;line-height:1.7}.exam-status.error{color:#ef4444}.gallery-card{background:#fff;border:1.5px solid var(--border);border-radius:16px;margin:14px 16px;padding:14px 16px;box-shadow:0 2px 10px #0000000a}.gallery-title{font-size:14px;font-weight:800;color:var(--text);margin-bottom:3px}.gallery-desc{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:10px}.gallery-graph{height:230px;border-radius:12px;overflow:hidden;background:#fdfdff;border:1px solid #EEF0F4}.gallery-filter{display:flex;flex-wrap:wrap;gap:6px;margin:12px 16px 2px}.gallery-chip{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1.5px solid var(--border);color:var(--muted);font-size:12px;font-weight:600;padding:6px 11px;border-radius:20px;cursor:pointer;transition:all .2s;font-family:inherit}.gallery-chip:hover{border-color:#c026d3;color:#a21caf}.gallery-chip.active{background:linear-gradient(135deg,#7c3aed,#c026d3);border-color:transparent;color:#fff}.gallery-chip-n{background:#7c3aed1f;color:#7c3aed;font-size:10px;padding:1px 6px;border-radius:8px}.gallery-chip.active .gallery-chip-n{background:#ffffff40;color:#fff}.gallery-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:4px}.gallery-cat{font-size:10px;font-weight:700;color:#7c3aed;background:#f5f3ff;border:1px solid #DDD6FE;padding:2px 8px;border-radius:8px;white-space:nowrap;margin-top:2px}.gallery-points{margin:2px 0 10px;padding-left:18px}.gallery-points li{font-size:12px;color:#475569;line-height:1.75}.gallery-tip{font-size:11.5px;color:#92400e;background:#fffbeb;border-left:3px solid #F59E0B;border-radius:0 8px 8px 0;padding:7px 10px;margin-top:10px;line-height:1.7}.gallery-empty{text-align:center;color:var(--muted);font-size:13px;padding:36px 16px}.gallery-count{margin:8px 16px 0;font-size:11.5px;color:var(--muted)}.formula-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 16px 2px}.formula-search{flex:1;min-width:170px;border:1.5px solid var(--border);border-radius:22px;padding:9px 14px;font-size:13px;outline:none;font-family:inherit;background:#fff}.formula-search:focus{border-color:#4f46e5}.formula-quiz-btn{background:#fff;border:1.5px solid #C7D2FE;color:#4f46e5;font-size:12px;font-weight:700;padding:8px 13px;border-radius:20px;cursor:pointer;font-family:inherit;transition:all .2s}.formula-quiz-btn.active{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-color:transparent;color:#fff}.formula-card{background:#fff;border:1.5px solid var(--border);border-radius:16px;margin:12px 16px;padding:14px 16px;box-shadow:0 2px 10px #0000000a}.formula-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.formula-name{font-size:14px;font-weight:800;color:var(--text)}.formula-cat{font-size:10px;font-weight:700;color:#4f46e5;background:#eef2ff;border:1px solid #C7D2FE;padding:2px 8px;border-radius:8px;white-space:nowrap}.formula-latex{background:linear-gradient(135deg,#f8faff,#f5f3ff);border:1px solid #E0E7FF;border-radius:12px;padding:16px 10px;font-size:15px;overflow-x:auto;text-align:center;transition:filter .25s}.formula-quizmode .formula-latex{filter:blur(9px);cursor:pointer}.formula-quizmode .formula-latex.revealed{filter:none}.formula-memo{margin-top:9px;font-size:12px;color:#92400e;background:#fffbeb;border-left:3px solid #F59E0B;border-radius:0 8px 8px 0;padding:8px 11px;line-height:1.7}.formula-grid{margin-top:9px;display:grid;gap:7px}.formula-sec{font-size:12px;line-height:1.75;color:#334155;background:#f8fafc;border-radius:10px;padding:9px 11px;border-left:3px solid #CBD5E1}.formula-sec b{display:block;font-size:11.5px;color:#475569;margin-bottom:3px}.formula-sec.f-src{border-left-color:#0ea5e9}.formula-sec.f-why{border-left-color:#8b5cf6}.formula-sec.f-idea{border-left-color:#10b981}.formula-sec.f-use{border-left-color:#f59e0b}.formula-empty{text-align:center;color:var(--muted);font-size:13px;padding:40px 16px}.formula-count{margin:8px 16px 0;font-size:11.5px;color:var(--muted)}.challenge-start{display:flex;flex-direction:column;align-items:center;padding:40px 24px;text-align:center}.challenge-start h3{font-size:18px;color:var(--text);margin-bottom:8px}.challenge-start p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:18px}.challenge-big-btn{background:linear-gradient(135deg,#ea580c,#dc2626);color:#fff;border:none;border-radius:28px;padding:14px 34px;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 6px 18px #dc262659;font-family:inherit}.challenge-q{font-size:15px;line-height:1.8;color:var(--text);margin-bottom:12px}.challenge-progress{font-size:12px;color:var(--muted);text-align:center;margin-bottom:8px}.challenge-result{background:linear-gradient(135deg,#fef2f2,#fff7ed);border:1.5px solid #FCA5A5;border-radius:16px;padding:20px;margin:16px;text-align:center}.challenge-score{font-size:44px;font-weight:900;color:#dc2626;line-height:1}.lb-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 12px;margin:0 16px 8px}.lb-rank{width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;flex-shrink:0}.lb-me{outline:2px solid #F59E0B;outline-offset:1px}.lb-tabs{display:flex;gap:8px;padding:12px 16px 0}.lb-tab{flex:1;padding:9px;border-radius:20px;border:1.5px solid var(--border);background:#fff;font-size:13px;font-weight:700;cursor:pointer;color:var(--muted);font-family:inherit}.lb-tab.active{background:linear-gradient(135deg,#d97706,#f59e0b);color:#fff;border-color:transparent}.challenge-body-pad{padding:14px 16px 0}.panel-status{padding:40px;text-align:center;color:var(--muted);font-size:13.5px}.panel-status.error{color:#ef4444}.dash-card{background:#fff;border:1.5px solid var(--border);border-radius:16px;margin:12px 16px;padding:14px 16px;box-shadow:0 2px 10px #0000000a}.dash-title{font-size:13.5px;font-weight:800;color:var(--text);margin-bottom:10px}.dash-heat{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.dash-heat-item{border-radius:8px;padding:7px 2px;text-align:center;font-size:10px;font-weight:700;color:#fff;cursor:pointer}.dash-heat-empty{background:#e5e7eb;color:#9ca3af}.dash-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.dash-stat{background:#f8faff;border-radius:10px;padding:10px;text-align:center}.dash-stat-val{font-size:17px;font-weight:800;color:var(--text)}.dash-stat-label{font-size:10.5px;color:var(--muted);margin-top:2px}.dash-legend{display:flex;gap:8px;margin-top:10px;font-size:10px;color:var(--muted);flex-wrap:wrap}.dash-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:2px;vertical-align:middle}.dash-btns{display:flex;gap:8px;flex-wrap:wrap}.dash-btn-primary{flex:1;background:linear-gradient(135deg,#0369a1,#0ea5e9);color:#fff;border:none;border-radius:20px;padding:10px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.dash-btn-secondary{flex:1;background:#f3f4f6;color:#374151;border:1.5px solid var(--border);border-radius:20px;padding:10px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.dash-btn-green{flex:1;background:linear-gradient(135deg,#15803d,#22c55e);color:#fff;border:none;border-radius:20px;padding:10px;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.dash-hint{font-size:12.5px;color:var(--muted);line-height:1.7;margin-bottom:10px}.dash-err-row{display:flex;justify-content:space-between;font-size:12.5px;background:#f8faff;border-radius:8px;padding:8px 10px;margin-bottom:5px}.dash-report-box{margin-top:10px;font-size:12px;line-height:1.8}.dash-parent-box{background:#f0f9ff;border:1px solid #BAE6FD;border-radius:12px;padding:12px;font-size:12px;color:#334155;line-height:1.9}.dash-parent-title{font-size:13px;font-weight:800;color:#0369a1;margin-bottom:6px}.dash-semester-box{background:#f0fdf4;border:1px solid #BBF7D0;border-radius:12px;padding:12px;font-size:12px;color:#334155;line-height:1.9}.dash-semester-title{font-size:13px;font-weight:800;color:#15803d;margin-bottom:6px}.dash-growth-title{font-size:12px;font-weight:700;color:#15803d;margin-top:8px}.dash-growth-row{display:flex;justify-content:space-between;font-size:12px;background:#f8fafc;border-radius:8px;padding:6px 10px;margin-top:4px}.wq-export-bar{padding:12px 16px;border-bottom:1px solid var(--border);display:flex;gap:8px;flex-shrink:0}.wq-export-btn{flex:1;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:12px;padding:10px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}.wq-refresh-btn{background:#f3f4f6;color:#6b7280;border:none;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}.wq-item{background:#fff;border-radius:16px;padding:16px;margin:12px;border:1px solid var(--border)}.wq-header{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}.wq-topic{background:#fef3c7;color:#92400e;font-size:12px;padding:3px 8px;border-radius:8px;font-weight:600}.wq-step{background:#f3f4f6;color:#6b7280;font-size:12px;padding:3px 8px;border-radius:8px}.wq-reviewed{background:#d1fae5;color:#065f46;font-size:12px;padding:3px 8px;border-radius:8px}.wq-question{font-size:15px;color:var(--text);margin-bottom:12px;line-height:1.6}.wq-options{margin-bottom:12px}.wq-option{padding:8px 12px;border-radius:10px;margin-bottom:6px;font-size:14px;background:#f9fafb;color:var(--text)}.wq-option.user{background:#fee2e2;color:#dc2626;border:1px solid #FECACA}.wq-option.correct{background:#d1fae5;color:#065f46;border:1px solid #A7F3D0}.wq-result{display:flex;gap:16px;font-size:13px;margin-bottom:12px;padding:10px;background:#f9fafb;border-radius:10px}.wq-hint{background:#fef3c7;border-left:3px solid #F59E0B;padding:10px 12px;border-radius:0 10px 10px 0;margin-bottom:8px;font-size:13px;color:#92400e}.wq-solution{background:#eef2ff;border-left:3px solid #6366F1;padding:10px 12px;border-radius:0 10px 10px 0;margin-bottom:12px;font-size:13px;color:#4338ca}.wq-actions{display:flex;gap:8px}.wq-btn-review{flex:1;background:#22c55e;color:#fff;border:none;border-radius:12px;padding:10px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}.wq-btn-delete{background:#f3f4f6;color:#6b7280;border:none;border-radius:12px;padding:10px 16px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}.wq-empty{text-align:center;padding:40px 20px}.wq-empty-icon{font-size:48px;margin-bottom:16px}.wq-empty-title{color:var(--text);font-size:16px;font-weight:600;margin-bottom:8px}.wq-empty-sub{color:var(--muted);font-size:13px}.kg-full-header{background:linear-gradient(135deg,#1e40af,#3b82f6);padding:14px 16px;display:flex;align-items:center;gap:10px;flex-shrink:0}.kg-full-body{flex:1;overflow-y:auto;padding:14px}.kg-legend{display:flex;justify-content:center;gap:16px;padding:10px;background:#fff;border-radius:12px;margin-bottom:16px;box-shadow:0 2px 8px #0000000d}.kg-legend-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7280}.kg-dot{width:12px;height:12px;border-radius:50%;display:inline-block}.kg-dot.locked{background:#d1d5db}.kg-dot.current{background:#3b82f6;animation:pulse 2s infinite}.kg-dot.active{background:#22c55e}.kg-graph-container{background:#fff;border-radius:16px;padding:20px;margin-bottom:16px;box-shadow:0 2px 10px #0000000d;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.kg-graph-svg{width:100%;max-width:360px;height:auto}.kg-node-circle{transition:all .3s;cursor:pointer}.kg-node-circle:hover{filter:brightness(1.1)}.kg-arrow{stroke:#9ca3af;stroke-width:2;fill:none;marker-end:url(#arrowhead)}.kg-node-label{font-size:11px;font-weight:600;text-anchor:middle;pointer-events:none}.kg-nodes-list{display:flex;flex-direction:column;gap:10px}.kg-node-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 2px 8px #0000000d;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all .2s;border:2px solid transparent}.kg-node-card:hover{border-color:var(--primary);transform:translateY(-2px)}.kg-node-card.current{border-color:#3b82f6;background:#eff6ff}.kg-node-card.active{border-color:#22c55e;background:#f0fdf4}.kg-node-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}.kg-node-icon.locked{background:#f3f4f6;color:#9ca3af}.kg-node-icon.current{background:#3b82f6;color:#fff}.kg-node-icon.active{background:#22c55e;color:#fff}.kg-node-info{flex:1}.kg-node-title{font-size:14px;font-weight:600;color:var(--text)}.kg-node-desc{font-size:12px;color:var(--muted);margin-top:2px}.kg-node-arrow{color:#9ca3af;font-size:16px}@keyframes pulse{0%{box-shadow:0 0 #3b82f680}70%{box-shadow:0 0 0 8px #3b82f600}to{box-shadow:0 0 #3b82f600}}.profile-card{background:#fff;border-radius:16px;padding:18px;margin-bottom:12px;box-shadow:0 2px 10px #0000000d;margin-left:16px;margin-right:16px}.profile-header{display:flex;align-items:center;gap:14px;margin-bottom:16px}.profile-avatar{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#60a5fa,#a78bfa);display:flex;align-items:center;justify-content:center;font-size:32px;cursor:pointer;transition:transform .2s}.profile-avatar:hover{transform:scale(1.05)}.profile-info{flex:1}.profile-name{font-size:18px;font-weight:700;color:var(--text);margin-bottom:4px}.profile-username{font-size:13px;color:var(--muted)}.profile-edit-btn{background:#f3f4f6;color:#4b5563;border:none;border-radius:12px;padding:8px 14px;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}.profile-edit-btn:hover{background:#e5e7eb}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:16px}.stat-item{background:#f8faff;border-radius:12px;padding:12px;text-align:center}.stat-value{font-size:22px;font-weight:800;color:#2563eb}.stat-label{font-size:11px;color:#64748b;margin-top:4px}.profile-section-title{font-size:13px;color:var(--muted);font-weight:600;margin-bottom:10px;letter-spacing:.5px}.profile-form-group{margin-bottom:14px}.profile-input{width:100%;border:1.5px solid var(--border);border-radius:10px;padding:10px 12px;font-size:14px;outline:none;transition:border-color .2s;font-family:inherit}.profile-input:focus{border-color:var(--primary)}.profile-label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px;font-weight:500}.profile-save-btn{width:100%;background:var(--primary);color:#fff;border:none;border-radius:14px;padding:12px;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s;font-family:inherit}.profile-save-btn:active{transform:scale(.97)}.avatar-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}.avatar-option{width:52px;height:52px;border-radius:50%;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:24px;cursor:pointer;border:2px solid transparent;transition:all .2s}.avatar-option:hover{border-color:var(--primary);background:#eff6ff}.avatar-option.selected{border-color:var(--primary);background:#eff6ff;box-shadow:0 0 0 3px #4f8ef733}.account-actions{display:flex;flex-direction:column;gap:10px;margin-top:10px}.account-btn{padding:11px 14px;border:none;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;text-align:left;font-family:inherit}.account-btn.primary{background:#eff6ff;color:#2563eb}.account-btn.danger{background:#fef2f2;color:#dc2626}.account-btn.secondary{background:#f3f4f6;color:#4b5563}.profile-topbar{display:flex;align-items:center;gap:10px;margin-bottom:16px}.profile-error{color:#dc2626;font-size:12px;text-align:center;margin-top:10px;background:#fef2f2;padding:8px;border-radius:8px}.profile-banner{text-align:center;margin-bottom:18px}.profile-banner-icon{font-size:42px;margin-bottom:10px}.profile-banner-title{color:var(--text);font-size:17px;font-weight:700;margin-bottom:6px}.profile-banner-sub{color:var(--muted);font-size:13px}.profile-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.profile-topic-bar{height:6px;background:#e5e7eb;border-radius:3px;overflow:hidden}.profile-topic-fill{height:100%;background:linear-gradient(90deg,#2563eb,#3b82f6);border-radius:3px}.profile-topic-item{background:#f8faff;border-radius:10px;padding:10px 12px}.profile-topic-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.profile-topic-name{font-size:13px;font-weight:600;color:var(--text)}.profile-topic-stat{font-size:12px;color:var(--muted)}.profile-stat-2x2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.profile-stat-cell{background:#f8faff;border-radius:10px;padding:10px;text-align:center}.profile-stat-big{font-size:20px;font-weight:800;color:var(--text)}.profile-stat-lab{font-size:11px;color:var(--muted)}.profile-radar-wrap{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.profile-radar-left{flex:1;min-width:200px}.profile-radar-right{flex:1;min-width:150px;display:flex;flex-direction:column;gap:6px}.profile-comp-row{display:flex;justify-content:space-between;font-size:12px}.profile-err-list{display:flex;flex-direction:column;gap:8px}.profile-err-item{background:#f8faff;border-radius:10px;padding:9px 12px;display:flex;justify-content:space-between;font-size:13px}.profile-gamify-bar-bg{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.profile-gamify-bar-fill{height:100%;background:linear-gradient(90deg,#f59e0b,#ef4444);border-radius:4px}.profile-gamify-row{display:flex;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}.profile-gamify-level{flex:1;min-width:160px}.profile-streak{text-align:center;padding:6px 14px;background:#fff7ed;border-radius:12px}.profile-streak-val{font-size:18px;font-weight:800;color:#ea580c}.profile-streak-lab{font-size:10.5px;color:var(--muted)}.profile-badges-title{font-size:12.5px;font-weight:700;color:var(--text);margin-bottom:6px}.profile-badges{display:flex;flex-wrap:wrap;gap:8px}.profile-badge{display:flex;flex-direction:column;align-items:center;width:54px;padding:6px 2px;border-radius:10px;cursor:pointer;border:1px solid var(--border);background:#f3f4f6}.profile-badge.earned{background:linear-gradient(135deg,#fef3c7,#fde68a);border-color:#fcd34d}.profile-badge-icon{font-size:20px}.profile-badge.earned .profile-badge-icon{filter:none}.profile-badge:not(.earned) .profile-badge-icon{filter:grayscale(1) opacity(.45)}.profile-badge-name{font-size:9px;color:var(--muted);margin-top:2px;text-align:center}.profile-badge.earned .profile-badge-name{color:#92400e}.profile-newly{margin-top:8px;padding:8px 10px;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #FCD34D;border-radius:10px;font-size:12.5px;color:#92400e;font-weight:700}.profile-loading{padding:40px;text-align:center;color:var(--muted)}.profile-loading.error{color:#ef4444}.profile-weekly-title{font-size:13px;font-weight:800;color:#0369a1;margin-bottom:6px}.profile-empty{font-size:12px;color:var(--muted);padding:6px 0}.profile-aside{font-size:12.5px;color:var(--text);margin-bottom:8px}.profile-aside strong{font-weight:700}#badge-detail-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;z-index:99;display:flex;align-items:center;justify-content:center;padding:24px}#badge-detail-overlay .badge-detail-card{background:#fff;border-radius:18px;padding:24px;max-width:300px;width:100%;text-align:center;box-shadow:0 20px 50px #00000040}.badge-detail-icon{font-size:52px;margin-bottom:8px}.badge-detail-name{font-size:17px;font-weight:800;color:var(--text);margin-bottom:4px}.badge-detail-desc{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:12px}.badge-detail-time{font-size:12px;color:#92400e;margin-bottom:16px}.badge-detail-ok{width:100%;padding:10px;border-radius:20px;border:none;background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.review-card{background:#fff;border-radius:16px;padding:20px;margin:12px;box-shadow:0 2px 10px #0000000d}.review-question{font-size:15px;line-height:1.7;color:var(--text);margin-bottom:14px}.review-answer-section{background:#f8faff;border-radius:12px;padding:14px;margin-bottom:14px}.review-answer-label{font-size:11px;color:var(--muted);font-weight:600;margin-bottom:4px}.review-answer-text{font-size:14px;color:var(--text)}.review-rating{display:flex;justify-content:space-between;gap:6px;margin-top:16px;flex-wrap:wrap}.review-rating-btn{flex:1;min-width:48px;padding:10px 6px;border:1.5px solid var(--border);border-radius:10px;background:#fff;cursor:pointer;font-size:11px;text-align:center;transition:all .2s;font-family:inherit}.review-rating-btn:hover{border-color:var(--primary);background:#eff6ff}.review-rating-btn.selected{border-color:var(--primary);background:#eff6ff;font-weight:600}.review-rating-btn:disabled{opacity:.5;cursor:default}.review-done{text-align:center;padding:40px 20px}.review-done-icon{font-size:48px;margin-bottom:12px}.review-done-text{font-size:16px;color:var(--text);font-weight:600}.review-done-sub{font-size:13px;color:var(--muted);margin-top:6px}.review-schedule-info{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}.review-stag{font-size:11px;padding:2px 8px;border-radius:8px;background:#f3f4f6;color:#6b7280}.review-rating-wrap{margin-top:12px;padding:16px;border:1.5px solid var(--border);border-radius:14px;background:#fff}.review-rating-label{font-size:12px;color:var(--muted);margin-bottom:10px;font-weight:600}.review-progress{text-align:center;margin-top:10px;font-size:12px;color:var(--muted)}.review-variant-card{border-color:#a5b4fc;background:linear-gradient(180deg,#f8faff,#fff)}.review-feedback{margin-top:8px;font-size:13px;font-weight:700;border-radius:8px;padding:8px 10px}.review-feedback.ok{color:#15803d;background:#f0fdf4}.review-feedback.no{color:#b91c1c;background:#fef2f2}.review-back-btn{margin-top:20px;width:auto;padding:12px 30px}.wq-option.clickable{cursor:pointer}.wq-option.clickable:hover{filter:brightness(.97)}.chart-empty{font-size:12px;color:var(--muted)}.story-intro{margin:12px 16px 2px;font-size:12px;color:var(--muted)}.story-stage{margin-top:14px}.story-stage-title{font-size:13px;font-weight:800;color:var(--text);margin:0 16px 8px;display:flex;align-items:center;gap:8px}.story-stage-n{font-size:10.5px;font-weight:700;color:#b45309;background:#fffbeb;border:1px solid #FDE68A;padding:1px 8px;border-radius:10px}.story-list{display:flex;flex-direction:column;gap:10px;margin:0 16px}.story-card{display:block;width:100%;text-align:left;background:#fff;border:1.5px solid var(--border);border-radius:16px;padding:13px 15px;cursor:pointer;transition:all .2s;box-shadow:0 2px 10px #0000000a;font-family:inherit}.story-card:hover{border-color:#f59e0b;transform:translateY(-1px);box-shadow:0 6px 18px #f59e0b24}.story-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.story-card-node{font-size:10.5px;font-weight:800;color:#b45309;background:#fffbeb;border:1px solid #FDE68A;padding:2px 8px;border-radius:10px;letter-spacing:.5px}.story-card-read{font-size:10.5px;font-weight:700;color:#15803d;background:#f0fdf4;border:1px solid #BBF7D0;padding:2px 8px;border-radius:10px}.story-card-title{font-size:14.5px;font-weight:800;color:var(--text);margin-bottom:3px}.story-card-summary{font-size:12.5px;color:var(--muted);line-height:1.65}.story-retry{margin-top:4px;padding:8px 22px;border-radius:20px;border:none;background:var(--primary);color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.story-article{background:#fff;border:1.5px solid var(--border);border-radius:18px;margin:14px 16px;padding:20px 18px;box-shadow:0 2px 12px #0000000d}.story-article-meta{display:flex;gap:8px;align-items:center;margin-bottom:10px}.story-node{font-size:11px;font-weight:800;color:#b45309;background:#fffbeb;border:1px solid #FDE68A;padding:3px 10px;border-radius:12px;letter-spacing:.5px}.story-stage-tag{font-size:11px;font-weight:700;color:#92400e;background:#fef3c7;border:1px solid #FDE68A;padding:3px 10px;border-radius:12px}.story-article-title{font-size:21px;font-weight:900;color:var(--text);margin:0 0 6px;line-height:1.4}.story-article-summary{font-size:13px;color:var(--muted);line-height:1.7;padding-bottom:14px;border-bottom:1px dashed var(--border);margin-bottom:16px}.story-content{font-size:14.5px;line-height:2;color:#1f2937}.story-content p{margin:0 0 14px}.story-content h1,.story-content h2,.story-content h3{font-size:15.5px;font-weight:800;color:var(--text);margin:18px 0 10px}.story-content strong{color:#92400e}.story-content blockquote{margin:14px 0;padding:10px 14px;background:#fffbeb;border-left:3px solid #F59E0B;border-radius:0 10px 10px 0;color:#78350f;font-size:13.5px}.story-takeaways{margin-top:18px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1.5px solid #FDE68A;border-radius:14px;padding:14px 16px}.story-takeaways-title{font-size:13px;font-weight:800;color:#92400e;margin-bottom:8px}.story-takeaways ul{margin:0;padding-left:18px}.story-takeaways li{font-size:13.5px;line-height:1.9;color:#78350f;margin-bottom:4px}.story-actions{display:flex;flex-direction:column;gap:9px;margin-top:18px}.story-learn-btn{width:100%;padding:12px;border:none;border-radius:24px;background:linear-gradient(135deg,#d97706,#f59e0b);color:#fff;font-size:14.5px;font-weight:800;cursor:pointer;font-family:inherit;box-shadow:0 5px 16px #d977064d;transition:transform .15s}.story-learn-btn:active{transform:scale(.98)}.story-back-btn{width:100%;padding:11px;border:1.5px solid var(--border);border-radius:24px;background:#fff;color:var(--muted);font-size:13.5px;font-weight:700;cursor:pointer;font-family:inherit}.scene-topic-select{border:1.5px solid var(--border);border-radius:22px;padding:9px 12px;font-size:13px;outline:none;font-family:inherit;background:#fff;color:var(--text);max-width:210px}.scene-retry{margin-top:10px;padding:8px 22px;border-radius:20px;border:none;background:var(--primary);color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}.scene-card{background:#fff;border:1.5px solid var(--border);border-radius:16px;margin:12px 16px;padding:14px 16px;box-shadow:0 2px 10px #0000000a;border-left:4px solid #14B8A6}.scene-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}.scene-disc{background:#f0fdfa;color:#0f766e;font-size:10.5px;font-weight:700;padding:2px 9px;border-radius:20px}.scene-title{font-size:14.5px;font-weight:800;color:var(--text)}.scene-topic-tag{margin-left:auto;background:var(--bg);border:1px solid var(--border);color:var(--muted);font-size:10.5px;padding:2px 9px;border-radius:20px}.scene-text{font-size:13px;line-height:1.75;color:#475569;margin-bottom:8px}.scene-q{font-size:13px;line-height:1.7;color:var(--text);background:#f0fdfa;border:1px dashed #5EEAD4;border-radius:10px;padding:8px 11px;margin-bottom:10px}.scene-ask{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;border:none;border-radius:20px;padding:8px 16px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;transition:transform .15s,box-shadow .2s;box-shadow:0 3px 10px #14b8a64d}.scene-ask:hover{transform:translateY(-1px);box-shadow:0 5px 14px #14b8a666}.scene-ask:active{transform:scale(.97)}.scene-chain-head{font-size:11.5px;font-weight:800;color:#0f766e;margin:2px 0 8px}.scene-step{margin-bottom:10px}.scene-step-tag{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;color:#0f766e;background:#f0fdfa;border:1px solid #5EEAD4;border-radius:20px;padding:2px 10px;margin-bottom:6px}.scene-step-n{font-weight:700;color:#94a3b8;font-size:10.5px}.scene-next{width:100%;padding:8px;border-radius:20px;border:1.5px dashed #14B8A6;background:#f0fdfa;color:#0f766e;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit;transition:background .15s}.scene-next:hover{background:#ccfbf1}.ai-tip-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:120;display:flex;align-items:center;justify-content:center;padding:24px;animation:fadeIn .2s}.ai-tip-card{background:#fff;border-radius:18px;padding:24px 20px;max-width:300px;width:100%;text-align:center;box-shadow:0 20px 50px #00000040}.ai-tip-icon{font-size:44px;margin-bottom:6px}.ai-tip-title{font-size:16px;font-weight:800;color:var(--text);margin:0 0 8px}.ai-tip-desc{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 16px}.ai-tip-btns{display:flex;flex-direction:column;gap:8px}.ai-tip-primary{width:100%;padding:11px;border-radius:22px;border:none;background:linear-gradient(135deg,var(--primary),#7C3AED);color:#fff;font-size:14px;font-weight:700;cursor:pointer;font-family:inherit;transition:transform .15s}.ai-tip-primary:active{transform:scale(.97)}.ai-tip-secondary{width:100%;padding:10px;border-radius:22px;border:1.5px solid var(--border);background:#fff;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;font-family:inherit}
