@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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);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 .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;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 .smash{display:inline;line-height:0}.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;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{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}.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{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#18202a;background:#f4f5f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--surface: #fffdfa;--surface-muted: #eef0ec;--surface-strong: #ffffff;--border: #d8d9d2;--text: #18202a;--text-muted: #67707a;--accent: #2563eb;--accent-strong: #0f4ccf;--success: #1f8a5b;--warning: #c78212;--danger: #c2413a;--shadow-soft: 0 18px 44px rgba(28, 34, 43, .12)}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100vh;min-height:100dvh;margin:0}body{overflow:hidden}button{font:inherit}.auth-screen{display:grid;min-height:100vh;min-height:100dvh;place-items:center;padding:24px;background:linear-gradient(180deg,#fffdfaeb,#f4f5f2fa),var(--surface-muted)}.auth-panel{display:grid;width:min(420px,100%);gap:16px;padding:24px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow-soft)}.auth-brand{display:flex;align-items:center;gap:8px}.auth-panel h1{margin:0;color:var(--text);font-size:22px;line-height:1.18}.auth-copy,.auth-loading{margin:0;color:var(--text-muted);font-size:14px}.auth-form{display:grid;gap:12px}.auth-field{display:grid;gap:6px;color:var(--text-muted);font-size:12px;font-weight:700}.auth-field input{width:100%;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:7px;color:var(--text);background:var(--surface-strong);font:inherit;font-size:14px}.auth-field input:focus{border-color:#2563eb85;outline:3px solid rgba(37,99,235,.16)}.auth-status{padding:9px 10px;border:1px solid rgba(37,99,235,.22);border-radius:7px;color:var(--accent-strong);background:#2563eb0f;font-size:13px}.auth-status--error{border-color:#c2413a42;color:var(--danger);background:#c2413a12}.auth-submit,.auth-mode-button{min-height:38px;border:1px solid transparent;border-radius:7px;cursor:pointer}.auth-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:#fff;background:var(--accent);font-weight:760}.auth-submit:hover,.auth-submit:focus-visible{background:var(--accent-strong)}.auth-submit:disabled{cursor:not-allowed;opacity:.62}.auth-mode-button{color:var(--accent-strong);background:transparent;font-size:13px;font-weight:700}.auth-mode-button:hover,.auth-mode-button:focus-visible{background:#2563eb12}.app-shell{display:grid;grid-template-rows:56px minmax(0,1fr);height:100vh;height:100dvh;min-height:100vh;min-height:100dvh;overflow:hidden;background:linear-gradient(180deg,#fffdfaeb,#f4f5f2fa),var(--surface-muted)}.topbar{position:relative;z-index:75;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;border-bottom:1px solid var(--border);background:#fffdfae0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-lockup,.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-actions{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.brand-mark{display:grid;width:28px;height:28px;place-items:center;border-radius:6px;color:#fff;background:linear-gradient(135deg,var(--accent),#1f8a5b);font-size:14px;font-weight:750}.brand-text{color:var(--text);font-size:15px;font-weight:680}.reader-workspace{display:grid;grid-template-columns:var(--library-pane-column, var(--library-pane-width, 240px)) var(--library-resizer-column, 7px) minmax(0,1fr) var(--pins-resizer-column, 7px) var(--pins-pane-column, var(--pins-pane-width, 280px));min-height:0;transition:grid-template-columns .22s cubic-bezier(.2,0,0,1)}.mobile-panel-backdrop{display:none}.library-pane,.translation-pane{min-width:0;min-height:0;overflow:auto;border-color:var(--border);background:#fffdfaa8;opacity:1;transition:background-color .18s ease,border-color .18s ease,opacity .16s ease,visibility 0s linear 0s}.library-pane{grid-column:1;border-right:1px solid var(--border)}.translation-pane{grid-column:5;border-left:1px solid var(--border)}.pane-resizer--library{grid-column:2}.pane-resizer--pins{grid-column:4}.pane--closed{overflow:hidden;border-color:transparent;opacity:0;pointer-events:none;transition:background-color .18s ease,border-color .18s ease,opacity .16s ease,visibility 0s linear .16s;visibility:hidden}.pane-resizer--closed{min-width:0;background:transparent;cursor:default;opacity:0;pointer-events:none}.pane-resizer{position:relative;min-width:7px;min-height:0;border:0;background:#d8d9d26b;cursor:col-resize;touch-action:none;opacity:1;transition:background-color .18s ease,min-width .22s cubic-bezier(.2,0,0,1),opacity .16s ease}.pane-resizer:after{position:absolute;top:0;bottom:0;left:3px;width:1px;background:#67707a57;content:""}.pane-resizer:hover,.pane-resizer:focus-visible{background:#b8cffd6b}.pane-resizer:hover:after,.pane-resizer:focus-visible:after{background:var(--accent)}.pane-resizer--closed:after{opacity:0}.pins-pane-summary{margin:-4px 16px 16px;color:var(--text-muted);font-size:13px;line-height:1.38;text-align:right}.pins-pane-empty{margin:0 16px 16px;color:var(--text-muted);font-size:13px;line-height:1.38}.pins-list{display:grid;gap:10px;padding:0 12px 16px}.pins-panel{display:grid;gap:10px;min-width:0}.pins-panel-controls{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:6px;padding:0 12px}.pins-sort-button.icon-button{width:24px;height:24px;border:0;border-radius:6px;color:var(--text-muted);background:transparent}.pins-sort-button.icon-button:hover,.pins-sort-button.icon-button:focus-visible{border:0;color:var(--accent-strong);background:transparent;outline:0}.pins-sort-button.icon-button:hover svg,.pins-sort-button.icon-button:focus-visible svg{transform:scale(1.14)}.pins-search-shell{position:relative;display:grid;width:100%;min-width:0;place-items:center;justify-self:stretch}.pins-search-inline{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:4px;width:100%;min-width:0;height:28px;padding:0 4px 0 8px;border:1px solid rgba(103,112,122,.2);border-radius:7px;color:var(--text-muted);background:#fffdfae0}.pins-search-input{width:100%;min-width:0;height:24px;border:0;color:var(--text);background:transparent;font:inherit;font-size:13px;outline:0}.pins-pane-empty--filtered{margin-top:2px}.pane-heading{padding:14px 16px;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}.pane-heading-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding-right:12px}.pane-heading-row .pane-heading{min-width:0}.pins-clear-actions{display:flex;align-items:center;gap:5px}.pins-clear-actions .icon-button{width:22px;height:22px;border:0;border-radius:6px;color:var(--text-muted);background:transparent}.pins-clear-actions .icon-button:hover,.pins-clear-actions .icon-button:focus-visible{border:0;color:var(--accent-strong);background:transparent;outline:0}.pins-clear-actions .icon-button:hover svg,.pins-clear-actions .icon-button:focus-visible svg{transform:scale(1.14)}.library-pane-header{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--border)}.library-pane-header .pane-heading{padding-bottom:0}.pane-status{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px;padding:10px 12px;border:1px solid #f3c7c2;border-radius:6px;color:#9d2d26;background:#fff0ee;font-size:13px}.pane-status-action,.reader-message-action{flex:0 0 auto;border:1px solid #d2645b;border-radius:6px;padding:5px 8px;color:#8b241d;background:snow;font:inherit;font-weight:700;cursor:pointer}.pane-status-action:hover,.pane-status-action:focus-visible,.reader-message-action:hover,.reader-message-action:focus-visible{border-color:#b9443d;color:#6f1e18;background:#fff4f2}.document-stage{display:grid;grid-column:3;min-width:0;min-height:0;place-items:start center;padding:24px;overflow:auto}.document-stage--active{place-items:stretch;padding:0;overflow:hidden}.empty-reader{display:grid;gap:18px;width:min(760px,100%)}.empty-reader-history{display:none}.empty-page-frame{display:grid;align-content:start;gap:14px;width:min(760px,100%);aspect-ratio:.76;min-height:520px;padding:clamp(34px,5vw,56px);border:1px solid #e5e0d6;border-radius:4px;background:linear-gradient(180deg,#fffffff5,#fffdf8fa),var(--surface-strong);box-shadow:var(--shadow-soft)}.empty-page-line{height:12px;border-radius:999px;background:#d9ded7}.empty-page-line--wide{width:72%}.empty-page-line:not(.empty-page-line--wide):not(.empty-page-line--short){width:52%}.empty-page-line--short{width:36%}.pdf-dropzone{display:grid;justify-items:center;gap:8px;border:1px dashed #b6bfca;border-radius:8px;color:var(--text-muted);background:#ffffffb3}.pdf-dropzone--full{padding:24px}.pdf-dropzone--compact{margin:0 12px;padding:10px}.pdf-dropzone--dragging{border-color:var(--accent);color:var(--accent-strong);background:#eef5ff}.pdf-dropzone input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.pdf-dropzone-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface-strong);font-size:13px;font-weight:700;cursor:pointer}.pdf-dropzone--compact .pdf-dropzone-trigger{width:100%;min-width:0}.pdf-dropzone--compact .pdf-dropzone-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-dropzone-trigger:hover{border-color:#aab5c3;color:var(--accent-strong)}.pdf-dropzone p{margin:0;font-size:13px}.library-empty{padding:14px 16px;color:var(--text-muted);font-size:13px}.library-block{display:grid;min-width:0}.library-controls{display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:8px;padding:10px 12px 0}.library-search{position:relative;display:grid;min-width:0}.library-search svg{position:absolute;top:50%;left:10px;color:var(--text-muted);pointer-events:none;transform:translateY(-50%)}.library-search-input{width:100%;min-width:0;height:32px;padding:0 10px 0 32px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:#ffffffc2;font:inherit;font-size:13px}.library-search-input:focus{border-color:#b8cffd;outline:3px solid rgba(37,99,235,.16)}.library-sort-button.icon-button{width:32px;height:32px;border:0;color:var(--text-muted);background:transparent}.library-sort-button.icon-button:hover,.library-sort-button.icon-button:focus-visible{color:var(--accent-strong);background:#2563eb0f}.library-list{display:grid;gap:4px;padding:10px 8px}.library-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:4px;width:100%;min-height:58px;padding:0;border:1px solid transparent;border-radius:8px;color:var(--text);background:transparent}.library-item-open-button{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;min-height:56px;padding:10px 4px 10px 10px;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.library-item:hover,.library-item:focus-within{background:#ffffffb8}.library-item--active{border-color:#b8cffd;background:#edf4ff}.library-item-open-button:disabled{cursor:not-allowed;opacity:.58}.library-item-main{display:grid;min-width:0;gap:3px}.library-item-title{overflow:hidden;font-size:13px;font-weight:680;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.library-item-meta{overflow:hidden;color:var(--text-muted);font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.library-item-actions{display:flex;align-items:center;justify-content:end;gap:0;min-width:max-content;padding:8px 6px 8px 0}.library-item-actions .icon-button,.library-pane-header .pane-heading-row .icon-button{width:22px;height:22px;border:0;border-radius:6px;color:var(--text-muted);background:transparent}.library-item-actions .icon-button svg,.library-pane-header .pane-heading-row .icon-button svg{transition:color .14s ease,transform .14s ease}.library-item-actions .icon-button:hover,.library-item-actions .icon-button:focus-visible,.library-pane-header .pane-heading-row .icon-button:hover,.library-pane-header .pane-heading-row .icon-button:focus-visible{border:0;color:var(--accent-strong);background:transparent;outline:0}.library-item-actions .icon-button:hover svg,.library-item-actions .icon-button:focus-visible svg,.library-pane-header .pane-heading-row .icon-button:hover svg,.library-pane-header .pane-heading-row .icon-button:focus-visible svg{transform:scale(1.14)}.library-item-actions .icon-button--success,.library-item-actions .icon-button--success:hover,.library-item-actions .icon-button--success:focus-visible{border:0;color:var(--success);background:transparent}.library-item-actions .icon-button--danger,.library-item-actions .icon-button--danger:hover,.library-item-actions .icon-button--danger:focus-visible{border:0;color:var(--danger);background:transparent}.translation-panel{display:grid;gap:12px;margin:0 12px 16px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#ffffffc7}.translation-panel-header{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:start;gap:8px}.selection-preview-label,.selection-context-label{color:var(--text-muted);font-size:11px;font-weight:760;letter-spacing:0;text-transform:uppercase}.selection-target,.selection-context p{margin:0;overflow-wrap:anywhere}.selection-target{color:var(--text);font-size:14px;line-height:1.42}.model-segment{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.model-segment button{min-height:32px;border:0;color:var(--text-muted);background:transparent;font-size:12px;font-weight:720;cursor:pointer}.model-segment button+button{border-left:1px solid var(--border)}.model-segment .model-segment-button--active{color:var(--accent-strong);background:#edf4ff}.translation-output{min-height:86px;padding:12px;border:1px solid #d9dde5;border-radius:8px;color:var(--text);background:#f8fafc;font-size:14px;line-height:1.5;white-space:pre-wrap}.translation-output--loading,.translation-output--streaming{border-color:#b8cffd}.translation-output--error{border-color:#f3c7c2;color:#9d2d26;background:#fff0ee}.translation-usage{color:var(--text-muted);font-size:11px;line-height:1.3}.selection-context{display:grid;gap:6px;padding-top:10px;border-top:1px solid #e7e8e2}.selection-context p{color:var(--text-muted);font-size:12px;line-height:1.38}.pdf-viewer-shell{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;background:#dfe3e8}.pdf-viewer-header{position:relative;z-index:65;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:9px 16px;border-bottom:1px solid #c9d0d9;background:#fffdfae0}.pdf-viewer-actions{display:flex;align-items:center;flex:0 0 auto;gap:7px}.pdf-sidebar-toolbar,.pdf-export-toolbar{display:inline-flex;align-items:center;flex:0 0 auto;gap:6px;padding-right:7px;border-right:1px solid var(--border)}.mobile-reader-side-dock{display:none}.pdf-viewer-heading{min-width:0}.pdf-zoom-toolbar{display:inline-flex;align-items:center;flex:0 0 auto;gap:7px}.cross-selection-toolbar{display:inline-flex;align-items:center;gap:6px;min-width:0;padding-right:5px;border-right:1px solid var(--border)}.cross-selection-count{min-width:68px;color:var(--text-muted);font-size:12px;font-weight:720;line-height:1;text-align:right;white-space:nowrap}.pdf-zoom-value{min-width:42px;color:var(--text-muted);font-size:12px;font-weight:720;text-align:center}.pdf-viewer-title,.pdf-viewer-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-viewer-title{max-width:min(66vw,680px);font-size:14px;font-weight:720}.pdf-viewer-subtitle{color:var(--text-muted);font-size:12px}.pdf-scroll-region{position:relative;z-index:0;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.pdf-scroll-region--panning{cursor:grabbing}.pdf-scroll-region--selecting{cursor:text}.pdf-scroll-region--selection-armed .textLayer span{touch-action:none}.pdf-page-list{--pdf-display-scale: 1;--pdf-render-scale: 1;--pdf-scale-ratio: 1;display:grid;justify-content:center;gap:18px;width:max-content;min-width:100%;min-height:100%;padding:24px}.pdf-page-shell{position:relative;z-index:0;overflow:visible;width:calc(var(--pdf-page-width) * var(--pdf-display-scale));height:calc(var(--pdf-page-height) * var(--pdf-display-scale))}.pdf-page{position:relative;overflow:visible;width:calc(var(--pdf-page-width) * var(--pdf-render-scale));height:calc(var(--pdf-page-height) * var(--pdf-render-scale));border-radius:4px;background:#fff;box-shadow:0 10px 30px #1a202c2e;transform:scale(var(--pdf-scale-ratio));transform-origin:top left}.pdf-page-canvas,.pdf-text-layer{position:absolute;top:0;right:0;bottom:0;left:0}.pdf-page-canvas{display:block;z-index:1;border-radius:inherit}.pdf-text-layer{z-index:2;border-radius:inherit;-webkit-user-select:none;user-select:none}.pdf-page-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;pointer-events:none}.selection-highlight{position:absolute;border-radius:2px;background:#2563eb29;box-shadow:inset 0 0 0 1px #2563eb38}.selection-highlight--draft{background:#1270d63d;box-shadow:inset 0 0 0 1px #1270d6ad,0 0 0 2px #1270d62e}.selection-highlight--queued{background:#7c3aed26;box-shadow:inset 0 0 0 1px #7c3aed70,0 0 0 2px #7c3aed14}.selection-highlight--pinned,.selection-highlight--annotation-green{background:#1f8a5b29;box-shadow:inset 0 0 0 1px #1f8a5b47}.pinned-card-chip{position:absolute;z-index:5;display:none;width:26px;height:26px;place-items:center;padding:0;border:1px solid rgba(31,138,91,.32);border-radius:7px;color:var(--success);background:#fffdfaf5;box-shadow:0 8px 18px #17202d2e;cursor:pointer;pointer-events:auto}.pinned-card-chip--active,.pinned-card-chip:hover,.pinned-card-chip:focus-visible{border-color:#1f8a5b94;background:#eff9f3fa}.pinned-card-chip--transient{border-color:#2563eb57;color:var(--accent-strong)}.pinned-card-chip--transient:hover,.pinned-card-chip--transient:focus-visible{border-color:#2563eb94;background:#edf4fffa}.pinned-card-chip:focus-visible{outline:3px solid rgba(31,138,91,.2);outline-offset:2px}.pin-card-marker{position:absolute;z-index:6;display:inline-grid;width:28px;height:28px;place-items:center;padding:0;border:1px solid rgba(31,138,91,.34);border-radius:8px;color:var(--success);background:#fffdfaf5;box-shadow:0 8px 18px #17202d2e;cursor:pointer;pointer-events:auto}.pin-card-marker:hover,.pin-card-marker:focus-visible,.pin-card-marker--located{border-color:#1f8a5b9e;background:#eff9f3fa;outline:0;transform:translateY(-1px)}.pin-card-marker--yellow{border-color:#c782126b;color:var(--warning)}.pin-card-marker--favorite{border-color:#1f8a5b61;color:var(--success)}.pin-card-marker--pin,.pin-card-marker--blue{border-color:#2563eb57;color:var(--accent-strong)}.pin-card-marker--red{border-color:#c2413a57;color:var(--danger)}.selection-highlight--annotation-yellow{background:#f5be3b3d;box-shadow:inset 0 0 0 1px #c7821261}.selection-highlight--annotation-blue{background:#2563eb29;box-shadow:inset 0 0 0 1px #2563eb4d}.selection-highlight--annotation-red{background:#dc433829;box-shadow:inset 0 0 0 1px #c2413a52}.selection-highlight--copied{background:#16a34a2e;box-shadow:inset 0 0 0 1px #16a34a7a,0 0 0 2px #16a34a1f}.selection-draft-badge{position:absolute;z-index:4;width:max-content;max-width:152px;padding:5px 8px;border:1px solid rgba(18,112,214,.46);border-radius:7px;color:#0e4f9d;background:#f5fafff5;box-shadow:0 8px 20px #1246822e;font-size:11px;font-weight:760;line-height:1.2;white-space:nowrap}.selection-copy-badge{position:absolute;z-index:4;width:max-content;max-width:160px;padding:5px 8px;border:1px solid rgba(22,163,74,.42);border-radius:7px;color:var(--success);background:#f4fcf7f5;box-shadow:0 8px 20px #16653429;font-size:11px;font-weight:780;line-height:1.2;white-space:nowrap}.select-action-popover{position:absolute;display:grid;min-width:224px;max-width:min(var(--selection-action-popover-width, 260px),72vw);padding:8px;border:1px solid rgba(184,192,204,.92);border-radius:8px;color:var(--text);background:#fffdfafa;box-shadow:0 16px 36px #17202d33;pointer-events:auto;z-index:90}.queued-selection-popover{width:max-content;min-width:0}.mobile-selection-confirm-bar{display:none}.select-action-command-row{display:grid;grid-template-columns:auto auto auto auto;align-items:center;gap:5px}.queued-selection-command-row{grid-template-columns:auto auto auto auto}.select-action-word-count{min-width:0;overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.select-action-command-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:28px;padding:0 8px;border:1px solid var(--border);border-radius:7px;color:var(--text);background:#fff;font-size:12px;font-weight:740;cursor:pointer}.select-action-command-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-action-command-button--primary{max-width:152px;border-color:#2563eb5c;color:#fff;background:var(--accent)}.select-action-command-button:hover,.select-action-command-button:focus-visible{border-color:#b8cffd;color:var(--accent-strong);outline:0}.select-action-command-button--primary:hover,.select-action-command-button--primary:focus-visible{border-color:#2563eb75;color:#fff;background:var(--accent-strong)}.select-action-note-panel{display:grid;gap:7px;min-width:0}.select-action-note-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;min-width:0}.select-action-note-input{width:100%;min-width:0;min-height:84px;padding:8px;resize:vertical;border:1px solid #d9dde5;border-radius:7px;color:var(--text);background:#fff;font:inherit;font-size:13px;line-height:1.42;overflow-wrap:anywhere}.select-action-note-input:focus{border-color:#b8cffd;outline:3px solid rgba(37,99,235,.16)}.select-action-error{color:var(--danger);font-size:12px;line-height:1.32}.selection-highlight--located{animation:located-selection-pulse 1.5s ease-out;background:#c782123d;box-shadow:inset 0 0 0 1px #c782128f,0 0 0 4px #c782122e}@keyframes located-selection-pulse{0%,to{background:#1f8a5b29;box-shadow:inset 0 0 0 1px #1f8a5b47}22%,72%{background:#c7821247;box-shadow:inset 0 0 0 1px #c782129e,0 0 0 5px #c7821233}}.pinned-translation-card{position:relative;display:grid;gap:8px;width:100%;min-width:0;max-width:100%;max-height:none;padding:9px;overflow:hidden;border:1px solid rgba(136,157,144,.78);border-radius:8px;color:var(--text);background:#fffdfaf5;box-shadow:0 14px 36px #17202d2e;pointer-events:auto}.pinned-translation-card--emphasized{animation:pinned-card-reminder 1.45s ease-out}@keyframes pinned-card-reminder{0%{border-color:#2563ebc7;box-shadow:0 0 #2563eb47,0 14px 36px #17202d2e;transform:translateY(0)}34%{border-color:#2563ebdb;box-shadow:0 0 0 7px #2563eb24,0 18px 42px #17202d38;transform:translateY(-2px)}to{border-color:#889d90c7;box-shadow:0 14px 36px #17202d2e;transform:translateY(0)}}.pinned-translation-card-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px}.pinned-translation-card-model{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border:1px solid rgba(31,138,91,.24);border-radius:6px;color:#116842;background:#1f8a5b14;font-size:11px;font-weight:780}.pinned-translation-card-actions{display:flex;align-items:center;justify-content:end;gap:0;min-width:max-content}.pinned-translation-card-page{min-width:0;overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:720;text-overflow:ellipsis;white-space:nowrap}.pinned-translation-card-source-block,.pinned-translation-card-source,.pinned-translation-card-output,.pinned-translation-card-error{min-width:0;overflow-wrap:anywhere}.rich-math-text{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}.rich-math-text-heading{display:block;margin:0 0 6px;color:var(--text);font-weight:760;line-height:1.3;white-space:normal}.rich-math-text-math{white-space:normal}.rich-math-text-math .katex{font-size:1em}.rich-math-text-math--display{display:block;max-width:100%;margin:7px 0;overflow-x:auto;overflow-y:hidden;padding-bottom:1px;scrollbar-width:none}.rich-math-text-math--display .katex-display{margin:0}.rich-math-text-math--display.rich-math-text-math--overflowing .katex-display{width:max-content;min-width:100%;padding-right:18px}.rich-math-text-math--display.rich-math-text-math--overflowing .katex-display>.katex{text-align:left}.rich-math-text-math--display.rich-math-text-math--overflowing .katex-display>.katex>.katex-html{display:inline-block;padding-right:3em}.rich-math-text-math--display.rich-math-text-math--overflowing:hover,.rich-math-text-math--display.rich-math-text-math--overflowing:focus{scrollbar-width:thin}.rich-math-text-math--display::-webkit-scrollbar{height:0}.rich-math-text-math--display.rich-math-text-math--overflowing:hover::-webkit-scrollbar,.rich-math-text-math--display.rich-math-text-math--overflowing:focus::-webkit-scrollbar{height:6px}.rich-math-text-math--display::-webkit-scrollbar-thumb{border-radius:999px;background:#6f79876b}.rich-math-text-math--display::-webkit-scrollbar-track{background:transparent}.rich-math-text-math-fallback{padding:0 2px;border-radius:3px;color:#7c4a03;background:#fff6dbb8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.94em;white-space:pre-wrap}.rich-math-text-math-fallback--display{display:block;max-width:100%;margin:7px 0;overflow-x:auto;scrollbar-width:none}.rich-math-text-math-fallback--display.rich-math-text-math--overflowing:hover,.rich-math-text-math-fallback--display.rich-math-text-math--overflowing:focus{scrollbar-width:thin}.rich-math-text-math-fallback--display::-webkit-scrollbar{height:0}.rich-math-text-math-fallback--display.rich-math-text-math--overflowing:hover::-webkit-scrollbar,.rich-math-text-math-fallback--display.rich-math-text-math--overflowing:focus::-webkit-scrollbar{height:6px}.rich-math-text-math-fallback--display::-webkit-scrollbar-thumb{border-radius:999px;background:#6f79876b}.rich-math-text-math-fallback--display::-webkit-scrollbar-track{background:transparent}.pinned-translation-card-source-block{display:grid;gap:5px}.pinned-translation-card-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:5px;min-width:0}.pinned-translation-card-source{color:var(--text-muted);font-size:12px;line-height:1.38;white-space:pre-wrap}.pinned-translation-card-source--collapsed{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.pinned-translation-card-source-toggle{align-self:start;margin-top:-2px}.pinned-translation-card-source-actions{display:flex;align-items:center;justify-content:end;gap:0;min-width:0}.pinned-translation-card-note{display:grid;gap:4px;min-width:0;padding:7px 8px 8px;border:1px solid rgba(31,138,91,.16);border-radius:7px;background:#1f8a5b0f}.pinned-translation-card-note--editing{gap:7px;background:#fffdfafa}.pinned-translation-card-note-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0}.pinned-translation-card-note-actions{display:inline-flex;align-items:center;gap:0;min-width:max-content}.pinned-translation-card-note-label{color:var(--success);font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase}.pinned-translation-card-note-text{min-width:0;color:var(--text);font-size:12px;line-height:1.42;overflow-wrap:anywhere;white-space:pre-wrap}.pinned-translation-card-output{max-height:180px;overflow:auto;padding:9px;border:1px solid #d9dde5;border-radius:7px;background:#f8fafc;font-size:13px;line-height:1.48;white-space:pre-wrap}.pinned-translation-card-output--loading,.pinned-translation-card-output--streaming{border-color:#b8cffd}.pinned-translation-card-error{padding:8px;border:1px solid #f3c7c2;border-radius:7px;color:#9d2d26;background:#fff0ee;font-size:12px;line-height:1.38}.pinned-annotation-editor{display:grid;gap:7px;min-width:0;padding-top:2px}.pinned-annotation-editor-toolbar,.translation-popover-annotation-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;min-width:0}.annotation-color-row{display:inline-flex;align-items:center;gap:5px;min-width:max-content}.annotation-color-swatch{display:inline-grid;width:16px;height:16px;padding:0;border:1px solid rgba(103,112,122,.24);border-radius:4px;cursor:pointer}.annotation-color-swatch--yellow{background:#f5be3b}.annotation-color-swatch--blue{background:#4d7ee8}.annotation-color-swatch--green{background:#35a46c}.annotation-color-swatch--red{background:#dc4338}.annotation-color-swatch--active{border-color:#18202ab8;box-shadow:0 0 0 2px #fffdfaf5,0 0 0 4px #18202a2e}.annotation-color-swatch:hover,.annotation-color-swatch:focus-visible{border-color:#18202aa3;outline:0;transform:translateY(-1px)}.pinned-annotation-note-input,.translation-popover-note-input{width:100%;min-width:0;resize:vertical;border:1px solid #d9dde5;border-radius:7px;color:var(--text);background:#fff;font:inherit;font-size:13px;line-height:1.42;overflow-wrap:anywhere}.pinned-annotation-note-input{min-height:74px;padding:8px}.translation-popover-note-input{min-height:82px;padding:10px}.pinned-annotation-note-input:focus,.translation-popover-note-input:focus{border-color:#b8cffd;outline:3px solid rgba(37,99,235,.16)}.translation-popover{position:absolute;display:grid;grid-template-rows:auto auto minmax(0,1fr);width:auto;min-width:min(260px,var(--translation-popover-width, 360px));max-width:min(var(--translation-popover-width, 560px),72vw);min-height:220px;max-height:min(560px,calc(100% - 24px),78vh);gap:10px;padding:10px;overflow:hidden;border:1px solid rgba(184,192,204,.92);border-radius:8px;color:var(--text);background:#fffdfaf5;box-shadow:0 18px 46px #17202d38;pointer-events:auto;will-change:transform}.translation-popover--emphasized{animation:translation-popover-reminder 1.45s ease-out}@keyframes translation-popover-reminder{0%{border-color:#2563ebc7;box-shadow:0 0 #2563eb47,0 18px 46px #17202d38}34%{border-color:#2563ebdb;box-shadow:0 0 0 7px #2563eb24,0 20px 48px #17202d40}to{border-color:#b8c0cceb;box-shadow:0 18px 46px #17202d38}}.translation-popover-resize-hook{position:absolute;right:5px;bottom:5px;display:block;width:14px;height:14px;padding:0;border:0;border-radius:4px;background:linear-gradient(135deg,transparent 44%,rgba(103,112,122,.72) 45%,rgba(103,112,122,.72) 55%,transparent 56%),linear-gradient(135deg,transparent 62%,rgba(103,112,122,.42) 63%,rgba(103,112,122,.42) 73%,transparent 74%);cursor:nwse-resize;z-index:2}.translation-popover-resize-hook:hover{background:linear-gradient(135deg,transparent 44%,var(--accent-strong) 45%,var(--accent-strong) 55%,transparent 56%),linear-gradient(135deg,transparent 62%,rgba(15,76,207,.48) 63%,rgba(15,76,207,.48) 73%,transparent 74%)}.translation-popover-drag-handle{position:relative;justify-self:center;width:84px;height:18px;margin:-6px 0 -4px;border-radius:999px;background:transparent;cursor:grab;touch-action:none}.translation-popover-drag-handle:after{position:absolute;top:6px;left:15px;width:54px;height:5px;border-radius:999px;background:#67707a5c;content:""}.translation-popover-drag-handle:hover:after{background:#2563eb80}.translation-popover-drag-handle:active{cursor:grabbing}.translation-popover-toolbar{display:grid;grid-template-columns:minmax(120px,1fr) auto;align-items:center;gap:8px;padding-right:18px;-webkit-user-select:none;user-select:none}.translation-popover-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:end;gap:0}.translation-popover-scale-actions{display:flex;align-items:center;justify-content:start;gap:0;min-width:max-content}.model-segment--compact{width:min(136px,100%);min-width:0}.model-segment--compact button{min-height:30px}.translation-popover-content{display:grid;min-height:0;gap:10px;overflow:auto;scrollbar-gutter:stable}.translation-popover-section{display:grid;gap:6px;min-width:0}.translation-popover-label{color:var(--text-muted);font-size:11px;font-weight:760;letter-spacing:0;line-height:1.2;text-transform:uppercase}.translation-popover-source{min-width:0;max-width:100%;padding:10px;border:1px solid #e2e5eb;border-radius:8px;color:var(--text);background:#fff;font-size:13px;line-height:1.46;overflow-wrap:anywhere}.translation-popover-output{min-width:0;max-width:100%;min-height:64px;padding:10px;border:1px solid #d9dde5;border-radius:8px;color:var(--text);background:#f8fafc;font-size:13px;line-height:1.48;overflow-wrap:anywhere;white-space:pre-wrap}.translation-popover-output--loading,.translation-popover-output--streaming{border-color:#b8cffd}.translation-popover-output--error{border-color:#f3c7c2;color:#9d2d26;background:#fff0ee}.translation-popover-meta{color:var(--text-muted);font-size:11px;line-height:1.3}.translation-popover-pin-chip{align-self:center;min-width:42px;font-size:11px;font-weight:720;line-height:1.3;text-align:right}.translation-popover-pin-chip--saving{color:var(--text-muted)}.translation-popover-pin-chip--saved{color:var(--success)}.translation-popover-pin-chip--error{color:var(--danger)}.pdf-page--rendering .pdf-page-canvas{opacity:.72}.pdf-page-error,.reader-message{display:grid;place-items:center;min-height:160px;padding:18px;color:var(--text-muted);font-size:14px}.reader-message{align-self:start;justify-self:center;margin-top:48px;border:1px solid var(--border);border-radius:8px;background:#ffffffc7}.reader-message--actionable{gap:12px;text-align:center}.reader-message--inline{min-height:0;margin:8px 16px 0;padding:9px 12px;justify-self:stretch;font-size:12px}.textLayer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:clip;line-height:1;text-align:initial;text-size-adjust:none;transform-origin:0 0;forced-color-adjust:none}.textLayer :is(span,br){position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0 0}.textLayer>:not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1}.textLayer span.markedContent{top:0;height:0}.textLayer ::selection{background:#2563eb47}.textLayer br::selection{background:transparent}.hiddenCanvasElement{position:absolute;top:0;left:0;display:none;width:0;height:0}.icon-button{display:inline-grid;width:36px;height:36px;place-items:center;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface);cursor:pointer}.icon-button--small{width:30px;height:30px}.topbar-actions .icon-button{width:32px;height:32px;border-color:var(--border);border-radius:7px;background:#ffffffb8}.topbar-actions .icon-button:hover,.topbar-actions .icon-button:focus-visible{border-color:#b8c0cc;background:var(--surface-strong)}.icon-button:hover{border-color:#b8c0cc;color:var(--accent-strong)}.icon-button--success,.icon-button--success:hover{border-color:#1f8a5b5c;color:var(--success);background:#1f8a5b14}.icon-button--danger,.icon-button--danger:hover{border-color:#c2413a5c;color:var(--danger);background:#c2413a14}.icon-button:disabled,.icon-button:disabled:hover{border-color:var(--border);color:var(--text-muted);background:var(--surface-muted);cursor:not-allowed;opacity:.58}.pinned-translation-card-action,.pinned-translation-card-action.icon-button--small{width:22px;height:22px;border:0;border-radius:6px;color:var(--text-muted);background:transparent}.pinned-translation-card-action svg{transition:color .14s ease,transform .14s ease}.pinned-translation-card-action:hover,.pinned-translation-card-action:focus-visible{border:0;color:var(--accent-strong);background:transparent;outline:0}.pinned-translation-card-action:hover svg,.pinned-translation-card-action:focus-visible svg{transform:scale(1.14)}.pinned-translation-card-action.icon-button--success,.pinned-translation-card-action.icon-button--success:hover,.pinned-translation-card-action.icon-button--success:focus-visible{border:0;color:var(--success);background:transparent}.pinned-translation-card-action.icon-button--danger,.pinned-translation-card-action.icon-button--danger:hover,.pinned-translation-card-action.icon-button--danger:focus-visible{border:0;color:var(--danger);background:transparent}.pinned-translation-card-action:disabled,.pinned-translation-card-action:disabled:hover{border:0;color:var(--text-muted);background:transparent}.pinned-translation-card-action:disabled svg,.pinned-translation-card-action:disabled:hover svg{transform:none}.icon-button:focus-visible{outline:3px solid rgba(37,99,235,.24);outline-offset:2px}.api-health,.sync-health{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:#ffffffb8;font-size:12px;font-weight:700}.mobile-status-button{position:relative;display:none;width:34px;height:34px;min-width:34px;place-items:center;padding:0;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:#ffffffb8;cursor:pointer}.mobile-status-button:hover,.mobile-status-button:focus-visible{border-color:#b8c0cc;color:var(--accent-strong);background:var(--surface-strong)}.mobile-status-dot{position:absolute;bottom:5px;width:6px;height:6px;border:1px solid rgba(255,253,250,.9);border-radius:50%;background:var(--warning)}.mobile-status-dot--api-online,.mobile-status-dot--sync-synced{background:var(--success)}.mobile-status-dot--api-offline,.mobile-status-dot--sync-offline,.mobile-status-dot--sync-cloud-missing{background:var(--danger)}.mobile-status-dot--sync-syncing{background:var(--accent);animation:sync-status-pulse .9s ease-in-out infinite}.mobile-status-dot--api-checking,.mobile-status-dot--sync-checking,.mobile-status-dot--sync-local-only{background:var(--warning)}.mobile-status-dot[class*=--api]{right:11px}.mobile-status-dot[class*=--sync]{right:5px}.api-health:before,.sync-health:before{display:block;width:7px;height:7px;border-radius:50%;background:var(--warning);content:""}.api-health--online:before{background:var(--success)}.api-health--offline:before{background:var(--danger)}.sync-health--synced:before{background:var(--success)}.sync-health--syncing:before{background:var(--accent);animation:sync-status-pulse .9s ease-in-out infinite}.sync-health--local-only:before{background:var(--warning)}.sync-health--checking:before{background:var(--warning)}.sync-health--offline:before,.sync-health--cloud-missing:before{background:var(--danger)}@keyframes sync-status-pulse{0%,to{opacity:.48}50%{opacity:1}}.account-button{display:inline-flex;align-items:center;max-width:180px;height:32px;gap:7px;padding:0 9px;border:1px solid var(--border);border-radius:7px;color:var(--text-muted);background:#ffffffb8;cursor:pointer;font-size:12px;font-weight:700}.account-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-button svg{flex:0 0 auto}.account-button:hover,.account-button:focus-visible{border-color:#b8c0cc;color:var(--accent-strong);background:var(--surface-strong)}.reader-mode-control{display:inline-flex;align-items:center;gap:0;padding:2px;border:1px solid var(--border);border-radius:8px;background:#ffffff94}.reader-mode-control--mobile{display:none}.mode-toggle-button{display:inline-flex;align-items:center;justify-content:center;gap:0;width:32px;height:28px;min-width:32px;padding:0;border:1px solid transparent;border-radius:6px;color:var(--text-muted);background:transparent;font:inherit;font-size:12px;font-weight:760;line-height:1;cursor:pointer}.mode-toggle-button svg{flex:0 0 auto}.mode-toggle-button:hover,.mode-toggle-button:focus-visible{color:var(--accent-strong);background:#ffffffd1}.mode-toggle-button--active{border-color:#2563eb47;color:var(--accent-strong);background:#2563eb14}.mode-toggle-button--browse{border-color:#67707a47;color:var(--text-muted);background:#67707a14}.mode-toggle-button--cross{border-color:#c7821257;color:#8a5b0e;background:#c782121a}.mode-toggle-button--pan{border-color:#67707a42;color:var(--text-muted);background:#ffffff9e}.mode-toggle-button--select{border-color:#16a34a52;color:var(--success);background:#16a34a14}.mode-toggle-button:disabled{color:var(--text-muted);background:#eef0eca3;cursor:not-allowed;opacity:.72}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;justify-items:end;background:#18202a38}.settings-panel{display:grid;align-content:start;gap:0;width:min(440px,100vw);min-width:0;height:100vh;height:100dvh;overflow:auto;border-left:1px solid var(--border);color:var(--text);background:#fffdfafa;box-shadow:-18px 0 44px #17202d2e}.settings-panel-header{position:sticky;top:0;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:14px 16px;border-bottom:1px solid var(--border);background:#fffdfaf5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.settings-panel-title{font-size:15px;font-weight:760;line-height:1.25}.settings-panel-subtitle{color:var(--text-muted);font-size:12px;line-height:1.3}.settings-panel-status{margin:12px 16px 0;padding:9px 10px;border:1px solid #d9dde5;border-radius:8px;color:var(--text-muted);background:#f8fafc;font-size:12px;line-height:1.35}.settings-section{display:grid;gap:10px;padding:16px;border-bottom:1px solid var(--border)}.settings-section-heading{color:var(--text-muted);font-size:11px;font-weight:780;letter-spacing:0;line-height:1.2;text-transform:uppercase}.settings-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-field,.settings-toggle{display:grid;gap:6px;min-width:0;color:var(--text-muted);font-size:12px;font-weight:720}.settings-field select,.settings-field input,.settings-field textarea{width:100%;min-width:0;min-height:34px;padding:0 10px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface-strong);font:inherit;font-weight:600}.settings-field select:disabled,.settings-field input:disabled,.settings-field textarea:disabled{color:var(--text-muted);background:var(--surface-muted)}.settings-field textarea{min-height:96px;padding:9px 10px;line-height:1.45;resize:vertical}.settings-field-hint{color:var(--text-muted);font-size:11px;font-weight:600;line-height:1.3}.settings-toggle{grid-template-columns:auto minmax(0,1fr);align-items:center;color:var(--text)}.settings-toggle input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.settings-readout-list,.settings-action-list,.settings-history-list,.settings-log-list{display:grid;gap:6px;min-width:0}.settings-readout-row,.settings-action-row,.settings-history-row,.settings-log-row,.settings-empty-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:36px;padding:8px 0;border-bottom:1px solid #ecede8;font-size:12px;line-height:1.35}.settings-readout-row span,.settings-action-row span,.settings-log-row span,.settings-empty-row{min-width:0;overflow:hidden;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap}.settings-readout-row strong{min-width:0;max-width:210px;overflow:hidden;color:var(--text);font-weight:720;text-align:right;text-overflow:ellipsis;white-space:nowrap}.settings-log-row{grid-template-columns:minmax(0,1fr) auto auto auto}.paper-context-editor,.paper-context-terms,.paper-context-term-list{display:grid;gap:8px;min-width:0}.paper-context-summary,.paper-context-save-row,.paper-context-terms-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;color:var(--text-muted);font-size:12px;font-weight:680;line-height:1.35}.paper-context-summary,.paper-context-save-row{padding:8px 0;border-bottom:1px solid #ecede8}.paper-context-terms-header{color:var(--text);font-weight:720}.paper-context-term-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:6px}.paper-context-term-row input{width:100%;min-width:0;min-height:32px;padding:0 9px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface-strong);font:inherit;font-size:12px;font-weight:600}.settings-history-main{display:grid;min-width:0;gap:2px}.settings-history-title,.settings-history-meta{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-history-title{color:var(--text);font-size:12px;font-weight:720}.settings-history-meta{color:var(--text-muted);font-size:11px}.settings-confirm-actions{display:flex;align-items:center;gap:5px}.translation-popover-toolbar--actions-only{grid-template-columns:auto minmax(0,1fr);justify-items:stretch}@media (max-width: 920px){.app-shell{grid-template-rows:48px minmax(0,1fr)}.topbar{gap:8px;padding:0 max(10px,env(safe-area-inset-left)) 0 max(10px,env(safe-area-inset-right))}.brand-lockup{flex:0 0 auto}.brand-text{display:none}.topbar-actions{flex:1 1 auto;justify-content:end;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.topbar-actions::-webkit-scrollbar{display:none}.topbar-actions .icon-button{width:38px;height:38px;flex:0 0 auto}.api-health,.sync-health{width:38px;height:38px;flex:0 0 auto;justify-content:center;padding:0;font-size:0}.account-button{width:38px;height:38px;flex:0 0 auto;justify-content:center;padding:0}.account-button span{display:none}.reader-mode-control{flex:0 0 auto}.reader-mode-control--desktop{display:none}.reader-mode-control--mobile{display:inline-flex}.mode-toggle-button{width:36px;min-width:36px;height:32px;justify-content:center;padding:0}.mode-toggle-button span{display:none}.reader-workspace{grid-template-columns:1fr}.document-stage{grid-column:1;padding:14px}.document-stage--active{padding:0}.library-pane,.translation-pane,.pane-resizer{display:none}.mobile-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:85;display:block;background:#18202a47}.mobile-panel{position:fixed;top:0;bottom:0;display:grid;align-content:start;width:min(420px,100vw);min-width:0;overflow:auto;border-color:var(--border);color:var(--text);background:#fffdfafa;box-shadow:18px 0 44px #17202d33;-webkit-overflow-scrolling:touch}.mobile-panel--library{left:0;border-right:1px solid var(--border)}.mobile-panel--pins{right:0;width:min(460px,100vw);border-left:1px solid var(--border);box-shadow:-18px 0 44px #17202d33}.mobile-panel .library-pane-header,.mobile-panel>.pane-heading-row{position:sticky;top:0;z-index:1;background:#fffdfaf5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.mobile-panel .library-item-open-button{min-height:64px}.mobile-panel .library-item-actions .icon-button,.mobile-panel .library-pane-header .pane-heading-row .icon-button{width:36px;height:36px}.mobile-panel .pins-clear-actions .icon-button{width:26px;height:26px}.empty-reader-history{display:block}.pdf-viewer-header{min-height:46px;gap:8px;padding:5px max(10px,env(safe-area-inset-left)) 5px max(10px,env(safe-area-inset-right))}.pdf-viewer-heading{min-width:0}.pdf-viewer-actions{flex:1 1 auto;min-width:0;gap:4px;justify-content:end;overflow:hidden}.pdf-viewer-actions .icon-button,.cross-selection-toolbar .icon-button{width:36px;height:36px;flex:0 0 auto}.pdf-sidebar-toolbar--pane-toggles{display:none}.mobile-reader-side-dock{display:block}.mobile-reader-side-dock-button{position:fixed;top:50%;z-index:35;width:38px;height:46px;border-color:#b8c0cceb;color:var(--text-muted);background:#fffdfaf5;box-shadow:0 10px 28px #17202d2e;transform:translateY(-50%)}.mobile-reader-side-dock-button--library{left:0;border-left:0;border-radius:0 8px 8px 0}.mobile-reader-side-dock-button--pins{right:0;border-right:0;border-radius:8px 0 0 8px}.mobile-reader-side-dock-button--active{border-color:#2563eb5c;color:var(--accent-strong);background:#fffdfafa}.pinned-card-chip{display:inline-grid}.pdf-zoom-toolbar{flex:0 0 auto;gap:4px}.cross-selection-toolbar{flex:1 1 auto;gap:4px;min-width:0;padding-right:4px;justify-content:end;overflow:hidden}.cross-selection-count{min-width:auto;overflow:hidden;font-size:11px;text-overflow:ellipsis}.pdf-viewer-title{max-width:45vw}.pdf-page-list{gap:12px;padding:10px}.select-action-popover{position:fixed;right:max(10px,env(safe-area-inset-right))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;left:max(10px,env(safe-area-inset-left))!important;top:auto!important;width:auto;min-width:0;max-width:none;z-index:62}.select-action-command-button{min-height:36px}.select-action-command-row{grid-template-columns:minmax(0,1fr) auto auto auto;gap:6px}.mobile-selection-confirm-bar{position:fixed;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));z-index:61;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid rgba(184,192,204,.92);border-radius:12px;color:var(--text);background:#fffdfafa;box-shadow:0 18px 46px #17202d3d}.mobile-selection-confirm-summary{min-width:0;overflow:hidden;color:var(--text-muted);font-size:12px;font-weight:740;text-overflow:ellipsis;white-space:nowrap}.mobile-selection-confirm-actions{display:inline-flex;align-items:center;gap:6px;min-width:0}.mobile-selection-confirm-button{min-height:40px;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--surface-strong);font-size:13px;font-weight:760;cursor:pointer}.mobile-selection-confirm-button--primary{border-color:#2563eb5c;color:#fff;background:var(--accent)}.mobile-selection-confirm-button--ghost{color:var(--text-muted);background:#ffffffb8}.translation-popover.translation-popover--mobile-sheet{position:fixed;right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));left:max(10px,env(safe-area-inset-left));top:auto;width:auto;min-width:0;max-width:none;min-height:220px;max-height:min(calc(100dvh - 24px),720px);border-radius:12px;box-shadow:0 18px 46px #17202d47;transform:none}.translation-popover--mobile-sheet .translation-popover-drag-handle{cursor:ns-resize}.translation-popover--mobile-sheet .translation-popover-toolbar{padding-right:0}.translation-popover--mobile-sheet .translation-popover-action,.translation-popover--mobile-sheet .pinned-translation-card-action{width:38px;height:38px}}@media (max-width: 560px){.app-shell{grid-template-rows:44px minmax(0,1fr)}.brand-mark{width:26px;height:26px}.api-health,.sync-health{display:none}.mobile-status-button{display:inline-grid}.topbar-actions .icon-button,.account-button,.mobile-status-button,.mode-toggle-button{width:34px;min-width:34px;height:34px}.reader-mode-control{padding:1px}.pdf-viewer-header{min-height:42px;padding:4px max(8px,env(safe-area-inset-left)) 4px max(8px,env(safe-area-inset-right))}.pdf-viewer-actions{gap:3px}.pdf-sidebar-toolbar,.pdf-export-toolbar,.cross-selection-toolbar{gap:3px;padding-right:4px}.pdf-viewer-actions .icon-button,.cross-selection-toolbar .icon-button{width:34px;height:34px}.mobile-reader-side-dock-button{width:34px;height:44px}.empty-page-frame{min-height:420px}.pdf-page-list{gap:10px;padding:8px}.pdf-viewer-title{max-width:38vw}.pdf-viewer-header--cross .pdf-viewer-title{max-width:28vw}.pdf-viewer-subtitle,.pdf-viewer-header--cross .cross-selection-count{display:none}.pdf-zoom-value{min-width:36px;font-size:11px}.mobile-selection-confirm-bar{grid-template-columns:1fr;gap:7px}.mobile-selection-confirm-actions{justify-content:stretch}.mobile-selection-confirm-button{flex:1 1 0;padding:0 8px}.mobile-panel{width:100vw}.settings-panel{width:100vw;border-left:0}}@media (max-width: 420px){.api-health,.sync-health{display:none}.topbar-actions{gap:4px}.topbar-actions .icon-button,.account-button,.mobile-status-button,.mode-toggle-button{width:34px;min-width:34px;height:34px}.pdf-viewer-title{max-width:34vw}}
