@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGD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5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.18.7"}.katex .katex-mathml{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.katex-newline{display:block}.katex .katex-base{white-space:nowrap;width:min-content;position:relative}.katex .katex-base,.katex .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 .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .katex-vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .katex-thinbox{flex-direction:row;width:0;max-width:0;display:inline-flex}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .katex-hdashline,.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-rule,.katex .katex-underline .underline-line,.katex .mfrac .frac-line{min-height:1px}.katex .mspace{display:inline-block}.katex .katex-smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.katex-inner,.katex .llap>.katex-inner,.katex .rlap>.katex-inner{position:absolute}.katex .clap>.katex-fix,.katex .llap>.katex-fix,.katex .rlap>.katex-fix{display:inline-block}.katex .llap>.katex-inner{right:0}.katex .clap>.katex-inner,.katex .rlap>.katex-inner{left:0}.katex .clap>.katex-inner>span{margin-left:-50%;margin-right:50%}.katex .katex-rule{border:0 solid;display:inline-block;position:relative}.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .katex-hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.katex-root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .katex-sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .katex-sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .katex-sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .katex-sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .katex-sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .katex-sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .katex-sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .katex-sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .katex-sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .katex-sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .katex-sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .katex-sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .katex-sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .katex-sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .katex-sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .katex-sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .katex-sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .katex-sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .katex-sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .katex-sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .katex-sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .katex-sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .katex-sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .katex-sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .katex-sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .katex-sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .katex-sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .katex-sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .katex-sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .katex-sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .katex-sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .katex-sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .katex-sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .katex-sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .katex-sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .katex-sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .katex-sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .katex-sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .katex-sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .katex-sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .katex-sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .katex-sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .katex-sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .katex-sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .katex-sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .katex-sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .katex-sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .katex-sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .katex-sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .katex-sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .katex-sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .katex-sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .katex-sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .katex-sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .katex-sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .katex-sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .katex-sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .katex-sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .katex-sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .katex-sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .katex-sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .katex-sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .katex-sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .katex-sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .katex-sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .katex-sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .katex-sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .katex-sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .katex-sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .katex-sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .katex-sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .katex-sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .katex-sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .katex-sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .katex-sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .katex-sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .katex-sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .katex-sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .katex-sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .katex-sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .katex-sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .katex-sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .katex-sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .katex-sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .katex-sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .katex-sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .katex-sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .katex-sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .katex-sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .katex-sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .katex-sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .katex-sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .katex-sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .katex-sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .katex-sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .katex-sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .katex-sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .katex-sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .katex-sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .katex-sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .katex-sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .katex-sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .katex-sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .katex-sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .katex-sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .katex-sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .katex-sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .katex-sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .katex-sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .katex-sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .katex-sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .katex-sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .katex-sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .katex-sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .katex-sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .katex-sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .katex-sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .katex-sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .katex-sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .katex-sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .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{width:.12em;display:inline-block}.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 .katex-accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .katex-accent .accent-body{position:relative}.katex .katex-accent .accent-body:not(.accent-full){width:0}.katex .katex-overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.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;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .katex-stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .katex-stretchy:after,.katex .katex-stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.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{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .katex-sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .reflectbox{display:inline-block;transform:scaleX(-1)}.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{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.katex-tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.katex-tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}:root{--bg:#f3eee7;--bg-2:#e7deef;--ink:#2b2436;--muted:#6d657c;--card:#fffcf9db;--line:#503e6e1f;--primary:#6a4c93;--primary-deep:#553a78;--primary-soft:#efe6f8;--algebra:#5c63c7;--geometry:#2f8a78;--photo:#c56b3c;--danger:#b14b5b;--ok:#2f7d67;--shadow:0 18px 50px #4a34661f;--radius:28px;--font:"Manrope", "Segoe UI", sans-serif;--display:"Fraunces", Georgia, serif}html,body,#root{min-height:100%}body{color:var(--ink);font-family:var(--font);background:radial-gradient(circle at 12% -8%, #f7e7f1 0%, transparent 32%), radial-gradient(circle at 100% 8%, #dceee8 0%, transparent 30%), radial-gradient(circle at 80% 100%, #efe3d6 0%, transparent 36%), var(--bg);-webkit-font-smoothing:antialiased;margin:0}button,a,textarea,input{font:inherit}button{cursor:pointer}:focus-visible{outline-offset:3px;outline:3px solid #6a4c9366}h1,h2,h3{letter-spacing:-.03em;margin:0}h1{font-family:var(--display);font-size:clamp(2.1rem,6vw,3.4rem);font-weight:600;line-height:1.12}h2{font-size:1.2rem;line-height:1.3}p{margin:0}.page{min-height:100dvh;padding:18px 16px 40px}.shell{gap:18px;width:min(760px,100%);margin:0 auto;display:grid}.shell.wide{width:min(980px,100%)}.topbar{width:min(980px,100%);margin:0 auto 18px}.topbar-row,.brand,.section-head,.eyebrow,.progress-label,.history-list li,.topic-list li>div{align-items:center;display:flex}.topbar-row{justify-content:space-between;gap:12px}.brand{gap:10px}.brand small,.choice-hint,.lead,.panel p,.topic-list p,.history-list p,.field span,.placeholder-note{color:var(--muted)}.brand small,.photo-button small{font-size:.82rem;font-weight:500;display:block}.brand-mark{color:#fff;background:linear-gradient(160deg, #8b6bb8, var(--primary));border-radius:16px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 10px 20px #6a4c9347}.brand-mark svg,.eyebrow svg{width:18px;height:18px}.ghost-link,.parent-link,.parent-badge,.text-button{color:var(--primary-deep);border:1px solid var(--line);background:#ffffff8c;border-radius:999px;padding:10px 14px;font-size:.92rem;font-weight:700;text-decoration:none}.text-button{width:fit-content;display:inline-flex}.hero,.panel,.choice-card,.photo-button,.emergency-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.hero{padding:28px 24px 24px}.hero.compact{padding:22px 22px 18px}.eyebrow{text-transform:uppercase;letter-spacing:.08em;color:var(--primary);gap:6px;margin-bottom:8px;font-size:.74rem;font-weight:800}.lead{margin-top:10px;font-size:1.08rem;line-height:1.5}.stack,.card-grid,.parent-grid,.progress-list,.topic-list,.history-list,.section-head{gap:14px;display:grid}.section-head h2{margin:0}.card-grid{grid-template-columns:1fr}.choice-card,.photo-button,.emergency-card,.primary-button{appearance:none;text-align:left;min-height:92px;color:inherit;text-decoration:none}.choice-card{gap:8px;padding:22px;transition:transform .18s,box-shadow .18s;display:grid}.choice-card:hover,.photo-button:hover,.emergency-card.is-open:hover{transform:translateY(-2px)}.choice-card.algebra{background:linear-gradient(#ffffffe6,#e8ebffeb)}.choice-card.geometry{background:linear-gradient(#ffffffe6,#dff3eceb)}.choice-icon{font-size:1.7rem}.choice-title{font-size:1.35rem;font-weight:800}.photo-button,.emergency-card{justify-content:space-between;align-items:center;gap:16px;width:100%;padding:20px 22px;display:flex}.photo-button{background:linear-gradient(135deg,#fff7f0,#fde6d6)}.photo-button small,.emergency-card p{margin-top:4px;line-height:1.45}.photo-emoji{font-size:2rem}.photo-check{gap:0;display:grid}.photo-check .photo-button{width:100%}.photo-check__panel{background:linear-gradient(#fff7f0f5,#ffffffeb);border:1px solid #c56b3c29;border-radius:22px;margin-top:10px;padding:16px;position:relative}.photo-check__lead{color:#5a4a42;margin:0 0 12px;line-height:1.5}.photo-check__file{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.photo-check__actions,.photo-check__preview-actions{gap:8px;display:grid}.photo-check__pick,.photo-check__submit,.photo-check__ghost,.photo-check__retry{min-height:46px;font:inherit;cursor:pointer;border-radius:14px;font-weight:700}.photo-check__pick,.photo-check__ghost,.photo-check__retry{color:#8a4b2a;background:#ffffffe6;border:1px solid #c56b3c38}.photo-check__submit{color:#fff;background:#c56b3c;border:0}.photo-check__pick:disabled,.photo-check__submit:disabled,.photo-check__ghost:disabled,.photo-check__retry:disabled{opacity:.55;cursor:default}.photo-check__preview-wrap{gap:10px;margin-top:14px;display:grid}.photo-check__preview{object-fit:contain;background:#fff;border:1px solid #c56b3c1f;border-radius:16px;width:100%;max-height:360px}.photo-check__error{color:#9d3b3b;background:#fff2f2;border:1px solid #f1cccc;border-radius:14px;margin-top:12px;padding:12px}.photo-check__error p{margin:0 0 10px}.photo-check__result{background:#ffffffe0;border:1px solid #c56b3c1f;border-radius:18px;margin-top:14px;padding:16px}.photo-check__status{border-radius:999px;margin:8px 0 12px;padding:6px 12px;font-size:14px;font-weight:800;display:inline-flex}.photo-check__status.is-correct{color:#216247;background:#ddf5e8f2}.photo-check__status.is-error{color:#9a4330;background:#ffece6f2}.photo-check__status.is-unclear{color:#7a5420;background:#fff6e6f2}.photo-check__block+.photo-check__block{margin-top:12px}.photo-check__block h3{color:#6b4533;margin:0 0 6px;font-size:15px}.photo-check__md{color:#332b3c;line-height:1.55}.photo-check__md .katex-display{max-width:100%;overflow-x:auto}.emergency-card h2,.emergency-title{letter-spacing:-.03em;font-size:1.2rem;font-weight:800}.emergency-card.is-locked{opacity:.78;cursor:default;background:linear-gradient(#f7f2f3,#f3e4e7)}.emergency-card.is-open{background:linear-gradient(135deg,#fff5f6,#f8d9df);border-color:#b14b5b33}.emergency-cta,.primary-button{background:var(--primary);color:#fff;border:0;border-radius:999px;font-weight:700}.emergency-cta{white-space:nowrap;padding:12px 16px}.primary-button{min-height:52px;padding:14px 18px}.primary-button:disabled{cursor:not-allowed;opacity:.45}.panel{padding:22px}.emergency-panel,.parent-grid{align-items:start}.emergency-panel{gap:18px;display:grid}.progress-list li,.topic-list li,.history-list li{border-top:1px solid var(--line);margin:0;padding:12px 0;list-style:none}.progress-list,.topic-list,.history-list{margin:12px 0 0;padding:0}.progress-label,.topic-list li>div,.history-list li{justify-content:space-between;gap:12px}.progress-track{background:var(--primary-soft);border-radius:999px;height:10px;margin:8px 0;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg, #8b6bb8, var(--ok));height:100%;display:block}.topic-list span,.history-list time{color:var(--muted);font-size:.88rem;font-weight:700}.session-panel,.field{gap:12px;display:grid}.stub-actions{gap:10px;display:grid}.stub-button{appearance:none;border:1px solid var(--line);min-height:52px;color:var(--ink);text-align:center;background:#fffc;border-radius:18px;padding:12px 16px;font-weight:700}textarea{resize:vertical;border:1px solid var(--line);background:#fffc;border-radius:18px;width:100%;padding:14px}.toast{z-index:20;background:var(--ink);color:#fff;width:min(520px,100% - 24px);box-shadow:var(--shadow);border-radius:18px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast-close{color:#fff;background:0 0;border:0;font-size:1.4rem;line-height:1}@media (width>=700px){.page{padding:28px 24px 48px}.card-grid,.parent-grid,.emergency-panel,.stub-actions,.photo-check__actions,.photo-check__preview-actions{grid-template-columns:1fr 1fr}.emergency-panel .primary-button{place-self:center end}}@media (width<=699px){.photo-button,.emergency-card.is-open{flex-direction:column;align-items:flex-start}}.login-page{background:radial-gradient(circle at 0 0,#7f5dff29,#0000 34%),linear-gradient(135deg,#f7f8ff 0%,#eef2ff 100%);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.login-card{background:#fffffff5;border-radius:28px;width:100%;max-width:430px;padding:32px;box-shadow:0 18px 60px #28347824}.login-badge{background:#eef0ff;border-radius:999px;margin-bottom:14px;padding:8px 12px;font-weight:700;display:inline-flex}.login-card h1{margin:0 0 8px;font-size:32px}.login-subtitle{color:#667085;margin:0 0 24px;line-height:1.5}.login-label{margin-bottom:16px;font-weight:700;display:block}.login-label input{box-sizing:border-box;width:100%;font:inherit;background:#fff;border:1px solid #d8dbe8;border-radius:14px;outline:none;margin-top:7px;padding:14px 15px}.login-label input:focus{border-color:#7a6cff;box-shadow:0 0 0 4px #7a6cff1f}.login-button{width:100%;font:inherit;cursor:pointer;color:#fff;background:#171a2b;border:0;border-radius:14px;padding:14px 18px;font-weight:800}.login-error{color:#b42318;background:#fff0f0;border-radius:12px;margin:0 0 14px;padding:11px 13px;font-weight:700}.login-test{color:#667085;background:#f7f7fb;border-radius:14px;gap:6px;margin-top:22px;padding:14px;font-size:13px;display:grid}.tutor-chat{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffd1;border:1px solid #7e66ad1f;border-radius:24px;margin-top:18px;padding:22px;box-shadow:0 18px 40px #53436914}.tutor-chat__head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tutor-chat__head h2{color:#2d2435;margin:4px 0 6px;font-size:22px}.voice-picker{flex:none;position:relative}.voice-picker__toggle{white-space:nowrap;color:#3d3148;background:#ffffffe0;border:1px solid #7e66ad38;border-radius:999px;min-height:36px;padding:6px 10px;font-size:13px}.voice-picker__panel{z-index:8;background:#fffffff5;border:1px solid #7e66ad29;border-radius:16px;gap:8px;width:min(320px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 32px #5343691f}.voice-picker__empty{color:#6a5b76;margin:0;font-size:13px;line-height:1.4}.voice-picker__row{background:#7e66ad0f;border-radius:12px;gap:6px;padding:8px;display:grid}.voice-picker__meta{gap:2px;display:grid}.voice-picker__meta strong{color:#2d2435;font-size:13px}.voice-picker__meta small{color:#7a6b86;font-size:12px}.voice-picker__actions{flex-wrap:wrap;gap:6px;display:flex}.voice-picker__preview,.voice-picker__select{border-radius:999px;min-height:32px;padding:4px 8px;font-size:12px}.voice-picker__select.is-selected{color:#fff;background:#5b3f78;border-color:#5b3f78}.tutor-chat__form{gap:12px;margin-top:16px;display:grid}.tutor-chat__input{resize:vertical;box-sizing:border-box;color:#2f2837;width:100%;min-height:110px;font:inherit;background:#fffffff2;border:1px solid #6c5b8e2e;border-radius:18px;outline:none;padding:16px 18px;line-height:1.5;transition:all .2s}.tutor-chat__input:focus{border-color:#6d51a473;box-shadow:0 0 0 4px #6d51a414}.tutor-chat__input::placeholder{color:#9b94a5}.tutor-chat__button{color:#fff;font:inherit;cursor:pointer;background:#6f56a3;border:0;border-radius:14px;justify-self:start;padding:12px 18px;font-weight:700;transition:all .2s}.tutor-chat__button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px #6f56a333}.tutor-chat__button:disabled{opacity:.5;cursor:default}.tutor-chat__answer,.tutor-chat__error{border-radius:18px;margin-top:16px;padding:18px}.tutor-chat__answer{background:linear-gradient(135deg,#f3effff2,#eef9f6f2);border:1px solid #6e58a01a}.tutor-chat__error{color:#9d3b3b;background:#fff2f2;border:1px solid #f1cccc}.tutor-chat__answer-text{white-space:pre-wrap;color:#332b3c;margin-top:8px;line-height:1.65}.tutor-chat__actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tutor-chat__voice-button{color:#5f4591;min-height:44px;font:inherit;cursor:pointer;touch-action:manipulation;background:#ffffffd9;border:1px solid #6f4eaa33;border-radius:12px;padding:11px 16px;font-weight:600;transition:transform .15s,background .15s}.tutor-chat__voice-button:hover:not(:disabled){background:#fff;transform:translateY(-1px)}.tutor-chat__voice-button.is-listening{background:#f3e9ff;box-shadow:0 0 0 2px #6f4eaa59}.tutor-chat__voice-button:disabled{opacity:.6;cursor:default}.tutor-chat__voice-status{color:#5f4591;background:#f3e9ff;border-radius:12px;margin-top:10px;padding:10px 14px;font-weight:700}.tutor-chat__voice-status.is-error{color:#9d3b3b;background:#fff2f2}.tutor-chat__answer-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.tutor-chat__answer-head .eyebrow{margin:0}.tutor-chat__speak-button{color:#5f4591;font:inherit;cursor:pointer;background:#ffffffd9;border:1px solid #6f4eaa33;border-radius:12px;padding:8px 14px;font-weight:600;transition:transform .15s,background .15s}.tutor-chat__speak-button:hover{background:#fff;transform:translateY(-1px)}.tutor-chat__speak-button.is-speaking{background:#f3e9ff}.tutor-chat__speech-notice{color:#5a5164;background:#ffffffb8;border:1px solid #6f4eaa1f;border-radius:12px;margin:10px 0 0;padding:10px 12px;font-size:14px;line-height:1.45}.self-check{background:#ffffffeb;border:1px solid #6f56a338;border-radius:16px;margin-top:12px;padding:14px;box-shadow:0 8px 18px #5343690f}.tutor-chat__self-check-prompt{margin-top:14px}.tutor-chat__self-check-prompt .tutor-chat__answer-text,.tutor-chat__self-check-prompt p,.tutor-chat__self-check-prompt h2,.tutor-chat__self-check-prompt h3{margin-top:0}.self-check__label{color:#5f4591;margin:0 0 8px;font-size:13px;font-weight:700}.self-check__row{align-items:stretch;gap:8px;display:flex}.self-check__input{box-sizing:border-box;color:#2f2837;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #6c5b8e2e;border-radius:12px;outline:none;flex:auto;padding:11px 14px;font-size:16px;line-height:1.4}.self-check__input:focus{border-color:#6d51a473;box-shadow:0 0 0 4px #6d51a414}.self-check__button{color:#fff;min-height:44px;font:inherit;cursor:pointer;background:#6f56a3;border:0;border-radius:12px;flex:none;padding:11px 16px;font-weight:700}.self-check__button:hover{transform:translateY(-1px)}.self-check__result{border-radius:12px;margin-top:10px;padding:10px 12px;font-size:14px;line-height:1.45}.self-check__result.is-correct{color:#216247;background:#ddf5e8f2}.self-check__result.is-retry,.self-check__result.is-unknown{color:#7a5420;background:#fff6e6f2}html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}*,:before,:after{box-sizing:border-box}img,video,canvas,svg{max-width:100%}.shell,.hero,.stack,.tutor-chat,.photo-check,.emergency-card{width:100%}.tutor-chat__input{resize:vertical;width:100%;max-width:100%}.tutor-chat__answer,.tutor-chat__answer-text{overflow-wrap:anywhere;word-break:normal;max-width:100%}.tutor-chat__answer-text pre,.tutor-chat__answer-text code{max-width:100%;overflow-x:auto}.tutor-chat__answer-text .katex-display{max-width:100%;padding-bottom:4px;overflow:auto hidden}.tutor-chat__actions{flex-wrap:wrap;gap:10px;width:100%;display:flex}.tutor-chat__actions button{min-height:42px}@media (width<=900px){.shell{width:min(100% - 32px,760px);margin-inline:auto}.hero,.tutor-chat,.photo-check,.emergency-card{padding-left:20px;padding-right:20px}.hero h1,.tutor-chat__answer-text h1{font-size:clamp(30px,5vw,46px);line-height:1.08}.tutor-chat__answer-text h2{font-size:clamp(21px,3.5vw,28px)}}@media (width<=640px){body{min-width:0}.shell{width:100%;margin-inline:auto;padding-left:14px;padding-right:14px}.hero,.tutor-chat,.photo-check,.emergency-card{border-radius:18px;padding:16px}.hero h1{font-size:clamp(30px,10vw,40px)}.tutor-chat__answer-text h1{font-size:clamp(26px,8vw,34px)}.tutor-chat__answer-text h2{font-size:22px}.tutor-chat__answer-text h3{font-size:18px}.tutor-chat__answer-text{font-size:15px;line-height:1.6}.tutor-chat__input{min-height:110px;font-size:16px}.tutor-chat__actions{align-items:stretch}.tutor-chat__actions button{white-space:normal;flex:calc(50% - 5px);padding:11px 12px}.tutor-chat__button{flex-basis:100%!important}.self-check{margin-top:14px;padding:12px}.self-check__row{flex-direction:column}.self-check__input,.self-check__button{width:100%;min-height:46px}.subject-picker,.subject-grid,.mode-picker,.mode-grid{grid-template-columns:1fr!important}.subject-card,.mode-card{width:100%;min-width:0}.section-head{flex-wrap:wrap;gap:8px}}@media (width<=420px){.shell{padding-left:10px;padding-right:10px}.hero,.tutor-chat,.photo-check,.emergency-card{border-radius:16px;padding:14px}.tutor-chat__actions{flex-direction:column}.tutor-chat__actions button{flex:auto;width:100%}.hero h1{font-size:30px}.tutor-chat__answer-text h1{font-size:26px}.tutor-chat__answer,.tutor-chat__error{padding:14px}}@media (width<=640px){.shell{gap:14px}.hero,.tutor-chat,.photo-check,.emergency-card,.math-graph,.geo-diagram{padding:14px}.hero{margin-bottom:12px}.hero h1{margin-bottom:6px;font-size:clamp(28px,9vw,36px)}.hero .lead,.muted{font-size:14px;line-height:1.45}.subject-card,.mode-card{min-height:auto;padding:14px}.subject-card h3,.mode-card h3{margin-bottom:4px;font-size:17px}.subject-card p,.mode-card p{font-size:13px;line-height:1.4}.tutor-chat__head{flex-wrap:wrap;margin-bottom:10px}.voice-picker{width:100%}.voice-picker__panel{width:100%;position:static}.tutor-chat__form{gap:10px}.tutor-chat__input{min-height:96px;padding:12px}.tutor-chat__actions{gap:8px}.tutor-chat__actions button{border-radius:11px;min-height:44px;padding:10px 12px;font-size:14px}.tutor-chat__voice-button,.tutor-chat__new-button{flex:calc(50% - 4px)}.tutor-chat__button{flex:100%!important}.tutor-chat__answer{margin-top:12px;padding:14px}.tutor-chat__answer-text{font-size:14px;line-height:1.55}.tutor-chat__answer-text h1{margin-top:0;margin-bottom:12px;font-size:26px;line-height:1.08}.tutor-chat__answer-text h2{margin-top:18px;margin-bottom:8px;font-size:20px}.tutor-chat__answer-text h3{margin-top:16px;margin-bottom:6px;font-size:17px}.tutor-chat__answer-text p{margin:8px 0}.tutor-chat__answer-text ul,.tutor-chat__answer-text ol{margin:8px 0;padding-left:20px}.tutor-chat__answer-text li{margin:4px 0}.photo-check,.emergency-card{margin-top:12px}}@media (width<=420px){.tutor-chat__voice-button,.tutor-chat__new-button,.tutor-chat__button{width:100%;flex:100%!important}.tutor-chat__speak-button{width:100%}.tutor-chat__answer-text{font-size:13.5px}}@media (width<=640px){html,body,#root{width:100%;min-width:0;max-width:100%;margin:0;overflow-x:hidden}body{font-size:16px}.page{width:100%;min-width:0;max-width:100vw;overflow-x:hidden;padding:12px 10px 24px!important}.shell,.shell.wide{gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;padding:0!important}.shell>*,.stack,.stack>*,main,section{min-width:0;max-width:100%}.hero{border-radius:18px!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;padding:18px 16px!important}.hero h1{margin:4px 0 8px!important;font-size:32px!important;line-height:1.05!important}.hero .lead{font-size:15px!important;line-height:1.4!important}.card-grid,.parent-grid,.stud-actions,.subject-grid,.mode-grid,.subject-picker,.mode-picker{grid-template-columns:1fr!important;gap:10px!important;width:100%!important;max-width:100%!important}.subject-card,.mode-card,.card{width:100%!important;min-width:0!important;max-width:100%!important;padding:15px!important}.tutor-chat{border-radius:18px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:16px!important}.tutor-chat__head{flex-wrap:wrap;margin-bottom:12px!important}.voice-picker,.voice-picker__panel{width:100%!important;max-width:100%!important}.voice-picker__panel{position:static}.tutor-chat__form{width:100%!important;max-width:100%!important}.tutor-chat__input{display:block;border-radius:14px!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:120px!important;padding:14px!important;font-size:16px!important;line-height:1.45!important}.tutor-chat__actions{grid-template-columns:1fr 1fr!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:100%!important;margin-top:10px!important;display:grid!important}.tutor-chat__actions button,.tutor-chat__voice-button,.tutor-chat__new-button,.tutor-chat__button{white-space:normal!important;border-radius:12px!important;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0 10px!important;font-size:14px!important;line-height:1.15!important}.tutor-chat__button{grid-column:1/-1!important}.tutor-chat__answer,.tutor-chat__error{overflow:hidden;border-radius:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:12px 0 0!important;padding:16px!important}.tutor-chat__answer-text{overflow-wrap:break-word;width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important;line-height:1.55!important}.tutor-chat__answer-text h1{margin:4px 0 14px!important;font-size:27px!important;line-height:1.1!important}.tutor-chat__answer-text h2{font-size:21px!important;line-height:1.2!important}.tutor-chat__answer-text h3{font-size:18px!important}.tutor-chat__answer-text p,.tutor-chat__answer-text li{font-size:16px!important}.tutor-chat__answer-text ul,.tutor-chat__answer-text ol{padding-left:22px!important}.self-check{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;margin-top:14px!important;padding:12px!important}.self-check__row{flex-direction:column!important;gap:8px!important;display:flex!important}.self-check__input,.self-check__button{width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:46px!important;font-size:16px!important}.katex-display{width:100%;max-width:100%;overflow:auto hidden}.photo-check,.emergency-card{border-radius:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:10px 0 0!important;padding:15px!important}}@media (width<=380px){.page{padding-left:8px!important;padding-right:8px!important}.tutor-chat__actions{grid-template-columns:1fr!important}.tutor-chat__button{grid-column:auto!important}.hero h1{font-size:29px!important}}.resume-banner,.finish-prompt,.emergency-confirm{background:#ffffffe6;border:1px solid #6f56a324;border-radius:18px;margin-top:14px;padding:14px}.resume-banner__actions,.finish-prompt__actions,.emergency-confirm__actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.tutor-chat__user{background:#6f56a314;border-radius:16px;margin-top:12px;padding:12px 14px}.tutor-chat__user-photo,.composer-preview img,.emergency-previews img,.emergency-history__photos img{border-radius:14px;width:100%;max-width:280px;display:block}.tutor-chat__composer-row{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.tutor-chat__input--compact{flex:160px;min-height:52px}.composer-icon,.tutor-chat__send{min-height:44px}.composer-icon{color:#5f4591;font:inherit;cursor:pointer;background:#ffffffe6;border:1px solid #6f4eaa33;border-radius:12px;padding:10px 12px;font-weight:600}.tutor-chat__send{justify-self:auto;min-width:48px}.composer-preview{gap:8px;display:grid}.emergency-help{background:linear-gradient(#fff7ef,#fff1e6);border:2px solid #c65c2038;border-radius:24px;margin-top:18px;padding:22px;box-shadow:0 18px 40px #8c461414}.emergency-help__head{gap:12px;display:grid}.emergency-help__open,.emergency-help__send{color:#fff;font:inherit;cursor:pointer;background:#d2652b;border:0;border-radius:14px;padding:12px 18px;font-weight:700}.emergency-help__open:disabled,.emergency-help__send:disabled{opacity:.5;cursor:default}.emergency-help__panel{gap:12px;margin-top:14px;display:grid}.emergency-previews{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;padding:0;list-style:none;display:grid}.emergency-previews button{margin-top:6px}.emergency-task,.notebook-block,.math-graph,.geo-figure{background:#ffffffdb;border-radius:16px;margin-top:12px;padding:12px}.math-graph__title{color:#2d2435;margin:0 0 8px;font-size:14px;font-weight:700}.math-graph__svg,.geo-figure__svg{background:#fff;border-radius:12px;width:100%;max-width:520px;height:auto;display:block}.math-graph__grid{stroke:#ece7f4;stroke-width:1px}.math-graph__axis{stroke:#5a4a72;stroke-width:1.4px}.math-graph__axis--main{stroke-width:1.7px}.math-graph__arrow{fill:#5a4a72}.math-graph__tick{stroke:#5a4a72;stroke-width:1.2px}.math-graph__origin{fill:#5a4a72}.math-graph__curve{stroke:#6f56a3;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round}.math-graph__point{fill:#d2652b}.math-graph__fn-label,.math-graph__tick-label,.math-graph__point-label,.math-graph__axis-label,.geo-figure__label,.geo-figure__mark,.geo-figure__note{fill:#43384f;font-size:10px}.math-graph__fn-label{fill:#6f56a3;font-size:12px;font-weight:700}.math-graph__table-wrap{overflow-x:auto}.math-graph__table{border-collapse:collapse;width:100%;font-size:14px}.math-graph__table th,.math-graph__table td{text-align:center;border-bottom:1px solid #eee;padding:4px 8px}.geo-figure__bg{fill:#fbfbfe}.geo-figure__edge{stroke:#3f3550;stroke-width:2px}.geo-figure__vertex{fill:#6f56a3}.geo-figure__circle{fill:none;stroke:#6f56a3;stroke-width:2px}.geo-diagram{background:#ffffffdb;border-radius:16px;margin-top:12px;padding:12px}.geo-diagram__title{color:#2d2435;margin:0 0 8px;font-size:14px;font-weight:700}.geo-diagram__svg{background:#fff;border-radius:12px;width:100%;max-width:520px;height:auto;display:block}.geo-diagram__bg{fill:#fbfbfe}.geo-diagram__face{fill:#6f56a30f;stroke:none}.geo-diagram__edge{stroke:#3f3550;stroke-width:2.2px;stroke-linejoin:round;stroke-linecap:round}.geo-diagram__aux{stroke:#6f56a3;stroke-width:1.8px;stroke-dasharray:6 4}.geo-diagram__tick,.geo-diagram__right{fill:none;stroke:#3f3550;stroke-width:1.8px;stroke-linejoin:round;stroke-linecap:round}.geo-diagram__vertex{fill:#6f56a3}.geo-diagram__vertex-label,.geo-diagram__label,.geo-diagram__angle{fill:#2d2435;font-size:13px;font-weight:700}.geo-diagram__angle{fill:#6f56a3;font-size:12px}.parent-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:16px;display:grid}.parent-pin{gap:12px;display:grid}.parent-pin input,.field input{box-sizing:border-box;width:100%;max-width:100%}.emergency-history__photos{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.emergency-history__photos img{max-width:140px}@media (width<=720px){.tutor-chat__composer-row{grid-template-columns:1fr 1fr;display:grid}.tutor-chat__input--compact{grid-column:1/-1;min-height:72px}.tutor-chat__send{grid-column:1/-1}.finish-prompt__actions,.resume-banner__actions,.emergency-confirm__actions{display:grid}.finish-prompt__actions button,.resume-banner__actions button,.emergency-confirm__actions button,.emergency-help__open,.emergency-help__send{width:100%;min-height:44px}}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.trial-banner{border:1px solid var(--line);color:var(--primary-deep);background:#ffffffb3;border-radius:999px;margin:8px 0 0;padding:8px 12px;font-size:.88rem;font-weight:700}.admin-trial{gap:12px;display:grid}.admin-trial__on{color:var(--ok);font-weight:700}.admin-trial__off{color:var(--muted);font-weight:700}.trial-ended .lead{margin-bottom:10px}.trial-name{gap:14px;display:grid}.trial-name__form{gap:12px;max-width:360px;display:grid}.parent-logout{cursor:pointer;font:inherit}.history-link,.history-entry,.history-back,.history-card__open,.history-filter{color:var(--primary-deep);border:1px solid var(--line);background:#ffffffb3;border-radius:999px;padding:10px 14px;font-size:.92rem;font-weight:700;text-decoration:none}.history-entry{background:var(--primary-soft);align-items:center;min-height:44px;margin-top:16px;display:inline-flex}.history-back{margin-top:14px;display:inline-flex}.history-filters{flex-wrap:wrap;gap:8px;display:flex}.history-filter.is-active{background:var(--primary);color:#fff;border-color:#0000}.history-cards{gap:12px;display:grid}.history-card,.history-empty,.history-detail{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:24px;padding:18px}.history-empty{gap:8px;line-height:1.5;display:grid}.history-card{cursor:pointer;gap:8px;display:grid}.history-card__meta,.history-detail__chips{flex-wrap:wrap;gap:6px;display:flex}.history-chip{background:var(--primary-soft);color:var(--primary-deep);border-radius:999px;align-items:center;padding:4px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.history-chip.is-algebra{color:var(--algebra);background:#eceefe}.history-chip.is-geometry{color:var(--geometry);background:#e5f4ef}.history-chip.is-emergency{color:#8a5a12;background:#fff3d8}.history-card__when{color:var(--muted);font-size:.9rem}.history-card__question,.history-detail__text{line-height:1.45}.history-card__answer{color:var(--muted);line-height:1.45}.history-card__thumb{object-fit:cover;border:1px solid var(--line);border-radius:14px;width:72px;height:72px}.history-card__open{justify-self:start;min-height:44px}.history-detail{gap:12px;display:grid}.history-detail__md{line-height:1.55}.history-detail__photos{flex-wrap:wrap;gap:8px;display:flex}.history-detail__photos img{border:1px solid var(--line);border-radius:16px;max-width:min(100%,220px)}.history-detail__turns{gap:8px;margin:0;padding-left:18px;display:grid}.history-confirm{background:#fff6f4;border:1px solid #b14b5b2e;border-radius:18px;gap:10px;padding:14px;display:grid}.history-confirm__actions{flex-wrap:wrap;gap:8px;display:flex}.history-delete,.history-delete-ghost{border-radius:999px;min-height:44px;margin-top:8px;padding:10px 14px;font-weight:700}.history-delete{background:var(--danger);color:#fff;border:0}.history-delete-ghost{color:var(--danger);background:0 0;border:1px solid #b14b5b40;justify-self:start}@media (width<=720px){.topbar-actions{width:100%}.history-link,.history-entry,.history-back,.history-card__open,.history-filter{min-height:44px}}
