@font-face{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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/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DVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff) format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf) format("truetype")}@font-face{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-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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.11"}.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:.2777777778em;margin-right:-.5555555556em}.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:.8333333333em}.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.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.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.6666666667em}.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.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.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.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.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:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.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.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.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.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.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:.4166666667em}.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:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.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:.8333333333em}.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.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.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:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.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.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.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.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.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.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.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}:root{--paper-bg: #F7F6F3;--paper-surface: #FFFFFF;--paper-border: #E5E3DE;--ink: #1C1B19;--ink-muted: #6B6862;--ink-faint: #9A968E;--seal: #2F5D62;--seal-dark: #24484C;--seal-soft: rgba(47, 93, 98, .1);--vermilion: #B4462F;--vermilion-soft: #FBEFEC;--pine-soft: #EDF4EF;--vermilion-dark: #8F3524;--pine: #3D7A52;--ochre: #B4862F}*{box-sizing:border-box;margin:0;padding:0}html,body{max-width:100%;overflow-x:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--paper-bg);color:var(--ink)}.app{min-height:100vh;display:flex;flex-direction:column}.navbar{display:flex;align-items:center;padding:0 24px;height:52px;background:var(--seal);color:#fff;gap:24px;box-shadow:0 1px 3px #1c1b192e}.nav-brand a{color:#fff;font-size:18px;font-weight:700;text-decoration:none}.nav-groups{display:flex;gap:4px;height:100%}.nav-group{display:flex;align-items:center;height:100%;padding:0 14px;color:#fffc;text-decoration:none;font-size:14px;font-weight:500;border-bottom:2px solid transparent;transition:color .2s,background .2s}.nav-group:hover{color:#fff;background:#ffffff14}.nav-group.active{color:#fff;border-bottom-color:#fff;background:#ffffff1a}.navbar-sub{display:flex;align-items:center;gap:6px;padding:0 24px;min-height:42px;background:#fff;border-bottom:1px solid var(--paper-border);overflow-x:auto}.nav-sub-item{padding:5px 12px;border-radius:14px;white-space:nowrap;color:var(--ink-muted);text-decoration:none;font-size:13px;transition:all .2s}.nav-sub-item:hover{background:var(--seal-soft);color:var(--seal)}.nav-sub-item.active{background:var(--seal);color:#fff}.nav-sub-portal{margin-left:auto;border:none;background:none;cursor:pointer;white-space:nowrap;color:var(--ink-faint);font-size:12px;padding:4px 6px}.nav-sub-portal:hover{color:var(--seal)}.nav-user{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:14px}.role-tag{background:#fff3;padding:2px 8px;border-radius:10px;font-size:12px}.btn-logout{background:#ffffff26;border:1px solid rgba(255,255,255,.3);color:#fff;padding:4px 12px;border-radius:4px;cursor:pointer;font-size:12px}.btn-logout:hover{background:#ffffff40}.main-content{flex:1;padding:24px;max-width:1400px;width:100%;margin:0 auto}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-primary{background:var(--seal);color:#fff}.btn-primary:hover{background:var(--seal-dark)}.btn-danger{background:var(--vermilion);color:#fff}.btn-danger:hover{background:var(--vermilion-dark)}.btn-success{background:var(--pine);color:#fff}.btn-warning{background:var(--ochre);color:#fff}.btn-outline{background:var(--paper-surface);border:1px solid var(--paper-border);color:var(--ink-muted)}.btn-outline:hover{background:var(--paper-bg)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-sm{padding:4px 12px;font-size:12px}.card{background:var(--paper-surface);border:1px solid var(--paper-border);border-radius:10px;padding:24px;box-shadow:0 1px 2px #1c1b190a;margin-bottom:16px;min-width:0;max-width:100%}input,textarea,select{border:1px solid var(--paper-border);border-radius:6px;padding:8px 12px;background:var(--paper-surface);color:var(--ink);font-size:14px;width:100%;transition:border .2s}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--seal);box-shadow:0 0 0 3px var(--seal-soft)}textarea{resize:vertical;min-height:100px}.status-tag{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12px;font-weight:500}.status-processing{background:#fff3cd;color:#856404}.status-ready{background:#d4edda;color:#155724}.status-error{background:#f8d7da;color:#721c24}.status-uploaded{background:#cce5ff;color:#004085}.status-imported{background:#d1ecf1;color:#0c5460}.markdown-preview{font-size:13.5px;line-height:1.65;max-width:100%;min-width:0;overflow-x:auto;overflow-y:visible;overflow-wrap:anywhere;word-break:break-word}.markdown-preview>:first-child{margin-top:0}.markdown-preview>:last-child{margin-bottom:0}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3,.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{margin:.6em 0 .3em;line-height:1.4;font-weight:700}.markdown-preview h1{font-size:1.15em}.markdown-preview h2{font-size:1.08em}.markdown-preview h3{font-size:1em}.markdown-preview h4,.markdown-preview h5,.markdown-preview h6{font-size:.95em}.markdown-preview p{margin:.35em 0}.markdown-preview ul,.markdown-preview ol{padding-left:1.25em;margin:.35em 0}.markdown-preview p,.markdown-preview li,.markdown-preview blockquote{max-width:100%;overflow-x:auto}.markdown-preview img,.markdown-preview video,.markdown-preview canvas{max-width:100%;height:auto}.markdown-preview svg{max-width:100%;height:auto}.markdown-preview .katex svg{max-width:none;height:inherit}.markdown-preview .katex-display{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:.4em 0}.markdown-preview .katex{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle}.markdown-preview math{max-width:100%}.markdown-preview .katex-mathml{max-width:100%;overflow:hidden}.markdown-preview table{border-collapse:collapse;display:block;max-width:100%;width:max-content;overflow-x:auto}.markdown-preview th,.markdown-preview td{border:1px solid #ddd;padding:5px 8px;text-align:left;font-size:.95em}.tikz-container{text-align:center;margin:16px 0;padding:12px;background:#fafafa;border-radius:8px;border:1px solid #e0e0e0}.tikz-container svg{max-width:100%;height:auto}.error-msg{background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;padding:12px 16px;border-radius:8px;margin:12px 0}.success-msg{background:#f6ffed;border:1px solid #b7eb8f;color:#389e0d;padding:12px 16px;border-radius:8px;margin:12px 0}.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;height:calc(100vh - 140px)}.split-panel{overflow-y:auto}.split-panel .card{height:100%}.upload-ocr-actions{display:flex;gap:10px;margin-bottom:12px;flex-wrap:wrap;align-items:center}.upload-ocr-hint{width:100%;font-size:12px;color:#666;margin:4px 0 0}.flow-ai-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;align-items:center}.flow-block-fields{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:8px;margin-bottom:8px}.flow-block-fields label{display:grid;gap:4px;font-size:11px;color:#666}.flow-block-fields input,.flow-block-fields textarea{font-size:12px;width:100%}.flow-block-fields textarea{min-height:58px;font-family:monospace}.editor-page{height:calc(100vh - 100px);display:flex;flex-direction:column}.editor-page .editor-split{flex:1;height:auto;min-height:0}.editor-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.editor-title{flex:1;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-actions{display:flex;gap:8px;flex-shrink:0;align-items:center}.loading{text-align:center;padding:40px;color:#999}.loading:after{content:"...";animation:dots 1.5s steps(4) infinite}@keyframes dots{0%,20%{content:"."}40%{content:".."}60%,to{content:"..."}}.empty{text-align:center;padding:60px;color:#999}.grid-split-aside{display:grid;grid-template-columns:260px 1fr;gap:16px}.grid-split-aside-wide{display:grid;grid-template-columns:320px 1fr;gap:16px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 16px}.filter-row{display:flex;gap:8px;align-items:center}@media(max-width:768px){.split-layout,.grid-split-aside-wide,.grid-split-aside{grid-template-columns:1fr}.editor-page{height:auto;min-height:calc(100vh - 100px)}.editor-page .editor-split{grid-template-columns:1fr;height:auto}.editor-page .split-panel{min-height:55vh;overflow:visible}.editor-page .split-panel .card{height:auto;min-height:55vh}.editor-textarea{min-height:55vh}.editor-title{font-size:15px}.editor-actions .btn{padding:6px 10px;font-size:13px}.flow-block-fields{grid-template-columns:1fr}.flow-ai-actions{width:100%}.flow-ai-actions select,.flow-ai-actions .btn{width:100%;justify-content:center}.upload-ocr-actions .btn{flex:1 1 auto;justify-content:center}.navbar{flex-wrap:wrap;height:auto;padding:8px 12px;gap:6px}.nav-groups{flex-wrap:wrap;gap:2px;height:auto}.nav-group{height:30px;padding:0 9px;font-size:12px;border-bottom:none;border-radius:12px}.nav-group.active{background:#ffffff38}.navbar-sub{padding:0 10px;min-height:38px;gap:4px}.nav-sub-item{font-size:12px;padding:4px 9px}.nav-sub-portal{display:none}.nav-brand a{font-size:15px}.nav-user{font-size:11px;gap:4px;margin-left:0}.main-content{padding:12px}input:not([type=checkbox]):not([type=radio]),textarea,select{font-size:14px!important}input:not([type=checkbox]):not([type=radio]):focus,textarea:focus{font-size:16px!important}input[type=checkbox],input[type=radio]{font-size:14px!important}.page-head h1,.content>h1,.content>.page-head h1{font-size:16px!important}.page-head p{font-size:12px;line-height:1.5}h1{font-size:16px}h2{font-size:15px}h3{font-size:14px}h4{font-size:13px}strong,b,.card strong,.card b{font-size:14px}.paper-sheet h1,.paper-sheet strong,.paper-sheet b{font-size:inherit}.card h3{font-size:15px!important}.upload-emoji{font-size:28px!important}.upload-hint{font-size:14px!important}.empty{font-size:14px;padding:32px 16px}.btn,.link-btn{min-height:40px}.btn-sm{min-height:34px}img,video,canvas{max-width:100%;height:auto}.markdown-preview table{display:block;overflow-x:auto;white-space:nowrap}.markdown-preview .katex-display{overflow-x:auto;overflow-y:hidden}.modal-content{width:94vw!important;max-width:94vw!important;padding:16px}.grid-split-aside,.grid-2,.grid-3{grid-template-columns:1fr!important}.filter-row{flex-wrap:wrap}.filter-row>*{flex:1 1 auto;min-width:0}.sticky-aside{position:static!important;width:auto!important}}@media print{@page{size:A4;margin:15mm 18mm}body>*,.app>*,.main-content>*{display:none!important}.print-paper,.print-paper *{display:revert!important}.print-paper{display:block!important;max-width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important;font-size:12pt}.print-paper .markdown-preview{display:block!important}.print-paper .markdown-preview *{display:revert!important}.print-paper .katex,.print-paper .katex *{display:inline!important}.print-paper .katex-display{display:block!important}.print-paper .question-block{page-break-inside:avoid;break-inside:avoid}.print-paper .section-group{page-break-before:auto}.print-paper img{max-width:100%!important;page-break-inside:avoid}.print-paper button,.print-paper input,.print-paper select{display:none!important}.print-paper table{display:table!important}.print-paper thead{display:table-header-group!important}.print-paper tbody{display:table-row-group!important}.print-paper tr{display:table-row!important}.print-paper td,.print-paper th{display:table-cell!important}.print-paper a{text-decoration:none;color:#333}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000073;z-index:1000;display:flex;align-items:center;justify-content:center;animation:modalFadeIn .2s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);padding:24px}.modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px #00000026;max-height:88vh;overflow-y:auto;animation:modalSlideUp .25s ease;padding:20px 24px}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}.modal-title{font-size:18px;font-weight:600;color:#222;margin:0}.modal-close-btn{background:none;border:none;cursor:pointer;font-size:18px;color:#999;padding:4px 8px;border-radius:6px;line-height:1;transition:all .15s}.modal-close-btn:hover{background:#f0f0f0;color:#333}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.paper-card{padding:10px 14px;margin-bottom:6px;cursor:pointer;transition:border-color .15s,box-shadow .15s}.paper-card:hover{border-color:var(--seal);box-shadow:0 2px 8px #1c1b1914}.paper-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.owner-badge{font-size:12px;margin-left:6px;white-space:nowrap}.owner-badge.private{color:#e67e22}.owner-badge.public{color:var(--seal)}.paper-meta{font-size:12px;color:var(--ink-faint);margin-top:3px;line-height:1.5}.paper-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}.paper-quick{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.paper-menu{position:absolute;right:0;top:34px;background:#fff;border:1px solid var(--paper-border);border-radius:8px;box-shadow:0 6px 18px #1c1b1924;z-index:100;min-width:190px;padding:4px 0}@media(max-width:768px){.paper-quick-label{display:none}.paper-quick{min-width:40px;justify-content:center;padding:8px}.paper-actions{gap:4px}.paper-name{white-space:normal}.paper-meta{font-size:12px}.paper-meta{display:block}}.canvas-zoom-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;margin-bottom:10px;background:var(--paper-surface);border:1px solid var(--paper-border);border-radius:8px;font-size:12px;color:var(--ink-muted)}.canvas-hint{margin-left:auto;color:var(--ink-faint)}.filter-bar{background:var(--paper-surface);border:1px solid var(--paper-border);border-radius:10px;padding:12px 14px;margin-bottom:12px}.filter-fields{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}.filter-field{display:flex;flex-direction:column;gap:4px;min-width:0}.filter-label{font-size:12px;color:var(--ink-faint);line-height:1.2;padding-left:2px}.filter-field select,.filter-field input{height:36px;font-size:13px;padding:0 10px;min-width:110px;width:auto;background:var(--paper-surface);border:1px solid var(--paper-border);border-radius:8px;color:var(--ink)}.filter-field select:focus,.filter-field input:focus{outline:none;border-color:var(--seal);box-shadow:0 0 0 3px var(--seal-soft)}.filter-field.search input{min-width:200px}.filter-foot{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:10px;border-top:1px dashed var(--paper-border)}.filter-summary{font-size:12px;color:var(--ink-faint)}.filter-actions{margin-left:auto;display:flex;gap:8px}.filter-actions .btn{height:34px}@media(max-width:768px){.filter-bar{padding:8px 10px}.filter-fields{display:flex;align-items:center;gap:8px}.filter-field{flex:1 1 auto;min-width:0}.filter-field .filter-label{display:none}.filter-field.search{flex:1 1 100%}.filter-field select,.filter-field input{width:100%;min-width:0;height:32px;font-size:14px!important;padding:0 8px;border-radius:6px;-webkit-text-size-adjust:100%}.filter-field input:focus{font-size:16px!important}.filter-bar.is-open .filter-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filter-bar.is-open .filter-field .filter-label{display:block;font-size:11px}.filter-bar.is-open .filter-field.search{grid-column:1 / -1}.filter-bar:not(.is-open) .filter-rest{display:none}.filter-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:8px;padding-top:0;border-top:none}.filter-summary{font-size:11px;min-width:0;word-break:break-word}.filter-actions{margin-left:0;display:flex;flex-wrap:wrap;gap:6px;width:100%;min-width:0;justify-content:flex-start}.filter-actions .btn{flex:1 1 auto;min-width:0;max-width:100%;height:34px;font-size:13px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:768px){.paper-card{padding:7px 9px;margin-bottom:3px;border-radius:7px}.paper-name{font-size:12.5px;line-height:1.3}.owner-badge{font-size:10.5px;margin-left:4px}.paper-meta{font-size:10.5px;margin-top:1px;line-height:1.3}.paper-actions{gap:4px}.paper-quick{min-width:32px;min-height:30px;padding:4px 6px}.paper-quick-label{display:none}.main-content{padding:10px 10px 16px}}.page-tabs{display:flex;align-items:stretch;gap:8px;margin-bottom:14px;border-bottom:1px solid var(--paper-border)}.page-tabs-list{display:flex;gap:2px;flex:1;min-width:0;overflow-x:auto}.page-tab{flex:0 0 auto;height:38px;padding:0 14px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:400;color:var(--ink-muted);border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .15s,border-color .15s}.page-tab:hover{color:var(--ink)}.page-tab.is-active{color:var(--seal);font-weight:600;border-bottom-color:var(--seal)}@media(max-width:768px){.page-tabs{gap:6px;margin-bottom:10px;align-items:center}.page-tab{height:34px;padding:0 12px;font-size:13px}}.intake-modal{width:min(820px,100%);max-height:92dvh;overflow-y:auto;overflow-x:hidden;padding:16px;background:#fff;box-sizing:border-box}.intake-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:10px;margin-bottom:12px}.intake-grid>label{display:grid;gap:4px;font-size:12px;min-width:0}.intake-grid select,.intake-grid input{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.intake-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:8px;margin-bottom:12px}.intake-drop{border:2px dashed #d0d5dd;border-radius:10px;padding:16px 12px;background:#fafbfc;margin-bottom:10px;box-sizing:border-box}@media(max-width:768px){.intake-modal{width:100%;max-height:94dvh;padding:14px 12px;border-radius:12px}.intake-grid,.intake-modes{grid-template-columns:1fr}.intake-modal select,.intake-modal input{font-size:16px!important}}.figure-cropper{width:min(760px,100%);max-height:92dvh;overflow-y:auto;overflow-x:hidden;padding:16px;background:#fff;box-sizing:border-box}.figure-cropper-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.figure-cropper-inputs label{display:grid;gap:3px;font-size:11.5px;color:var(--ink-faint);min-width:0}.figure-cropper-inputs input{width:100%;min-width:0;box-sizing:border-box;padding:4px 6px}@media(max-width:768px){.figure-cropper{padding:12px 10px;max-height:94dvh}.figure-cropper-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.figure-cropper-inputs input{min-height:36px;font-size:16px}}.add-guide-steps{position:sticky;top:0;z-index:12}.add-guide-page{padding-bottom:84px}.add-guide-footer{position:fixed;left:50%;transform:translate(-50%);bottom:12px;z-index:40;width:min(1080px,calc(100vw - 24px));display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;background:#fffffff5;border:1px solid var(--paper-border);border-radius:10px;box-shadow:0 -6px 18px -14px #1c1b1973;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.add-guide-footer-hint{flex:1;min-width:0;font-size:12px;color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.add-question-main{min-width:0}.add-question-card .markdown-preview{overflow-wrap:anywhere;word-break:break-word}.add-question-card .markdown-preview>:first-child{margin-top:0}.collapsible-body.is-clamped{overflow:hidden;position:relative}.collapsible-body.is-clamped:after{content:"";position:absolute;left:0;right:0;bottom:0;height:42px;background:linear-gradient(#fff0,#fff 78%);pointer-events:none}.collapsible-toggle{margin-top:4px;padding:2px 0;border:0;background:none;cursor:pointer;color:var(--seal);font-size:12px;font-weight:600}@media(max-width:768px){.add-question-card>div{flex-direction:column;gap:8px}.add-question-card>div{align-items:stretch!important}.add-question-card .add-question-main{width:100%;flex:0 0 auto}.add-question-card .add-question-action{order:-1;align-self:flex-start;min-height:34px}.add-question-card{padding:10px 12px!important}.add-question-card .markdown-preview{font-size:13px;line-height:1.65}.collapsible-body.is-clamped{max-height:96px!important}.add-guide-steps{display:flex!important;gap:4px}.add-guide-step{flex:1 1 0;min-width:0;padding:6px 4px!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.add-guide-head .btn-outline{min-height:30px}.add-guide-title{font-size:16px!important}.add-guide-footer{padding:8px 10px;gap:8px}.add-guide-footer .btn{flex:1 1 100%;justify-content:center}.add-guide-footer-hint{flex:1 1 100%;font-size:11px;white-space:normal}}@media(max-width:768px){.compose-toolbar-card{padding:10px 12px!important;gap:8px!important}.compose-toolbar-card h3{font-size:15px!important;line-height:1.35}.compose-toolbar{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;width:100%}.compose-toolbar .btn{justify-content:center;min-height:34px;font-size:12px;padding:0 8px;white-space:nowrap}.compose-toolbar .compose-add-q{grid-column:1 / -1;order:-1;min-height:38px;font-size:13px}.compose-new-block{grid-template-columns:1fr 1fr!important}.compose-new-block .btn{grid-column:1 / -1}.compose-paper-card{min-height:0!important;max-height:none!important}.compose-paper-card .markdown-preview{font-size:13px;line-height:1.7;overflow-wrap:anywhere}}.export-panel{display:grid;gap:14px}.export-panel section{border-top:1px dashed var(--paper-border);padding-top:12px}.export-panel section:first-child{border-top:0;padding-top:0}.export-panel h4{margin:0 0 8px;font-size:13px;color:var(--ink-2);letter-spacing:.02em}.export-check,.export-radio{display:flex;align-items:flex-start;gap:8px;font-size:13px;padding:6px 0;cursor:pointer;min-width:0}.export-check input,.export-radio input{width:auto;margin:2px 0 0;flex:0 0 auto}.export-check em,.export-radio em{font-style:normal;color:var(--ink-faint);font-size:11.5px}.export-radio span{display:grid;gap:1px;min-width:0}.export-radio strong{font-weight:600}.export-field{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;margin-bottom:6px;min-width:0}.export-field>span{color:var(--ink-2);flex:0 0 auto}.export-field select,.export-field input{min-width:0;max-width:100%}.export-field select{flex:1 1 200px}.export-field em{font-style:normal;color:var(--ink-faint);font-size:11.5px}.export-sub{padding-left:22px}.export-summary{margin:0 0 8px;font-size:11.5px;color:var(--ink-faint);line-height:1.6;word-break:break-word}.export-message{font-size:12px;padding:8px 10px;border-radius:8px;background:var(--seal-soft);color:var(--seal)}.export-panel footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--paper-border);padding-top:12px}.export-estimate{font-size:11.5px;color:var(--ink-faint)}.export-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}@media(max-width:768px){.export-panel footer{flex-direction:column;align-items:stretch}.export-actions{margin-left:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.export-actions .btn{width:100%}.export-actions .btn-primary{grid-column:1 / -1}.export-field select,.export-field input{font-size:16px;min-height:38px}}.canvas-toast{position:sticky;top:8px;z-index:20;margin:0 0 10px;padding:8px 12px;border-radius:8px;background:var(--pine-soft, #e8f5e9);color:var(--pine);font-size:12.5px;width:fit-content}
