@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2) format("woff2"),url(/_next/static/media/KaTeX_AMS-Regular.1608a09b.woff) format("woff"),url(/_next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/_next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2) format("woff2"),url(/_next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff) format("woff"),url(/_next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2) format("woff2"),url(/_next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff) format("woff"),url(/_next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/_next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2) format("woff2"),url(/_next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff) format("woff"),url(/_next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2) format("woff2"),url(/_next/static/media/KaTeX_Fraktur-Regular.7c187121.woff) format("woff"),url(/_next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/_next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2) format("woff2"),url(/_next/static/media/KaTeX_Main-Bold.d181c465.woff) format("woff"),url(/_next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/_next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2) format("woff2"),url(/_next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff) format("woff"),url(/_next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/_next/static/media/KaTeX_Main-Italic.8916142b.woff2) format("woff2"),url(/_next/static/media/KaTeX_Main-Italic.9024d815.woff) format("woff"),url(/_next/static/media/KaTeX_Main-Italic.47373d1e.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Main-Regular.0462f03b.woff2) format("woff2"),url(/_next/static/media/KaTeX_Main-Regular.7f51fe03.woff) format("woff"),url(/_next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/_next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2) format("woff2"),url(/_next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff) format("woff"),url(/_next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/_next/static/media/KaTeX_Math-Italic.f28c23ac.woff2) format("woff2"),url(/_next/static/media/KaTeX_Math-Italic.5295ba48.woff) format("woff"),url(/_next/static/media/KaTeX_Math-Italic.939bc644.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(/_next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2) format("woff2"),url(/_next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff) format("woff"),url(/_next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(/_next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2) format("woff2"),url(/_next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff) format("woff"),url(/_next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2) format("woff2"),url(/_next/static/media/KaTeX_SansSerif-Regular.74048478.woff) format("woff"),url(/_next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Script-Regular.03e9641d.woff2) format("woff2"),url(/_next/static/media/KaTeX_Script-Regular.07505710.woff) format("woff"),url(/_next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Size1-Regular.eae34984.woff2) format("woff2"),url(/_next/static/media/KaTeX_Size1-Regular.e1e279cb.woff) format("woff"),url(/_next/static/media/KaTeX_Size1-Regular.fabc004a.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Size2-Regular.5916a24f.woff2) format("woff2"),url(/_next/static/media/KaTeX_Size2-Regular.57727022.woff) format("woff"),url(/_next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2) format("woff2"),url(/_next/static/media/KaTeX_Size3-Regular.9acaf01c.woff) format("woff"),url(/_next/static/media/KaTeX_Size3-Regular.a144ef58.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2) format("woff2"),url(/_next/static/media/KaTeX_Size4-Regular.7a996c9d.woff) format("woff"),url(/_next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/_next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2) format("woff2"),url(/_next/static/media/KaTeX_Typewriter-Regular.6258592b.woff) format("woff"),url(/_next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf) format("truetype")}.katex{font:normal 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.21"}.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:-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 .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}

/**
 * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML
 * Based on https://github.com/tshedor/workshop-wp-theme (Example: http://workshop.kansan.com/category/sessions/basics or http://workshop.timshedor.com/category/sessions/basics);
 * @author Tim  Shedor
 */

code[class*="language-"],
pre[class*="language-"] {
	color: black;
	background: none;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-ms-hyphens: none;
	hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
	position: relative;
	margin: .5em 0;
	overflow: visible;
	padding: 1px;
}

pre[class*="language-"] > code {
	position: relative;
	z-index: 1;
	border-left: 10px solid #358ccb;
	box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
	background-color: #fdfdfd;
	background-image: linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%);
	background-size: 3em 3em;
	background-origin: content-box;
	background-attachment: local;
}

code[class*="language-"] {
	max-height: inherit;
	height: inherit;
	padding: 0 1em;
	display: block;
	overflow: auto;
}

/* Margin bottom to accommodate shadow */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background-color: #fdfdfd;
	box-sizing: border-box;
	margin-bottom: 1em;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	position: relative;
	padding: .2em;
	border-radius: 0.3em;
	color: #c92c2c;
	border: 1px solid rgba(0, 0, 0, 0.1);
	display: inline;
	white-space: normal;
}

pre[class*="language-"]:before,
pre[class*="language-"]:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 0.75em;
	left: 0.18em;
	width: 40%;
	height: 20%;
	max-height: 13em;
	box-shadow: 0px 13px 8px #979797;
	transform: rotate(-2deg);
}

pre[class*="language-"]:after {
	right: 0.75em;
	left: auto;
	transform: rotate(2deg);
}

.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #7D8B99;
}

.token.punctuation {
	color: #5F6364;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.function-name,
.token.constant,
.token.symbol,
.token.deleted {
	color: #c92c2c;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.function,
.token.builtin,
.token.inserted {
	color: #2f9c0a;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
	color: #a67f59;
	background: rgba(255, 255, 255, 0.5);
}

.token.atrule,
.token.attr-value,
.token.keyword,
.token.class-name {
	color: #1990b8;
}

.token.regex,
.token.important {
	color: #e90;
}

.language-css .token.string,
.style .token.string {
	color: #a67f59;
	background: rgba(255, 255, 255, 0.5);
}

.token.important {
	font-weight: normal;
}

.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

.token.namespace {
	opacity: .7;
}

@media screen and (max-width: 767px) {
	pre[class*="language-"]:before,
	pre[class*="language-"]:after {
		bottom: 14px;
		box-shadow: none;
	}

}

/* Plugin styles: Line Numbers */
pre[class*="language-"].line-numbers.line-numbers {
	padding-left: 0;
}

pre[class*="language-"].line-numbers.line-numbers code {
	padding-left: 3.8em;
}

pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows {
	left: 0;
}

/* Plugin styles: Line Highlight */
pre[class*="language-"][data-line] {
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
}
pre[data-line] code {
	position: relative;
	padding-left: 4em;
}
pre .line-highlight {
	margin-top: 0;
}

:root {
  --notion-font:
    ui-sans-serif, system-ui, apple-system, BlinkMacSystemFont, 'Segoe UI',
    Helvetica, 'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji',
    'Segoe UI Symbol';
  --fg-color: rgb(55, 53, 47);
  --fg-color-0: rgba(55, 53, 47, 0.09);
  --fg-color-1: rgba(55, 53, 47, 0.16);
  --fg-color-2: rgba(55, 53, 47, 0.4);
  --fg-color-3: rgba(55, 53, 47, 0.6);
  --fg-color-4: #000;
  --fg-color-5: rgba(55, 53, 47, 0.024);
  --fg-color-6: rgba(55, 53, 47, 0.8);
  --fg-color-7: rgba(55, 53, 47, 0.5);
  --fg-color-icon: var(--fg-color);

  --bg-color: #fff;
  --bg-color-0: rgba(135, 131, 120, 0.15);
  --bg-color-1: rgb(247, 246, 243);
  --bg-color-2: rgba(135, 131, 120, 0.15);

  --select-color-0: rgb(46, 170, 220);
  --select-color-1: rgba(45, 170, 219, 0.3);
  --select-color-2: #d9eff8;

  --notion-red: rgb(224, 62, 62);
  --notion-pink: rgb(173, 26, 114);
  --notion-blue: rgb(11, 110, 153);
  --notion-purple: rgb(105, 64, 165);
  --notion-teal: rgb(77, 100, 97);
  --notion-yellow: rgb(223, 171, 1);
  --notion-orange: rgb(217, 115, 13);
  --notion-brown: rgb(100, 71, 58);
  --notion-gray: rgb(155, 154, 151);

  --notion-red_background: rgb(251, 228, 228);
  --notion-pink_background: rgb(244, 223, 235);
  --notion-blue_background: rgb(221, 235, 241);
  --notion-purple_background: rgb(234, 228, 242);
  --notion-teal_background: rgb(221, 237, 234);
  --notion-yellow_background: rgb(251, 243, 219);
  --notion-orange_background: rgb(250, 235, 221);
  --notion-brown_background: rgb(233, 229, 227);
  --notion-gray_background: rgb(235, 236, 237);

  --notion-red_background_co: rgba(251, 228, 228, 0.3);
  --notion-pink_background_co: rgba(244, 223, 235, 0.3);
  --notion-blue_background_co: rgba(221, 235, 241, 0.3);
  --notion-purple_background_co: rgba(234, 228, 242, 0.3);
  --notion-teal_background_co: rgba(221, 237, 234, 0.3);
  --notion-yellow_background_co: rgba(251, 243, 219, 0.3);
  --notion-orange_background_co: rgba(250, 235, 221, 0.3);
  --notion-brown_background_co: rgba(233, 229, 227, 0.3);
  --notion-gray_background_co: rgba(235, 236, 237, 0.3);

  --notion-item-blue: rgb(211, 229, 239);
  --notion-item-orange: rgb(250, 222, 201);
  --notion-item-green: rgb(219, 237, 219);
  --notion-item-pink: rgb(245, 224, 233);
  --notion-item-brown: rgb(238, 224, 218);
  --notion-item-red: rgb(255, 226, 221);
  --notion-item-yellow: rgb(253, 236, 200);
  --notion-item-default: rgba(227, 226, 224, 0.5);
  --notion-item-purple: rgb(232, 222, 238);
  --notion-item-gray: rgb(227, 226, 224);

  --notion-item-text-blue: rgb(24, 51, 71);
  --notion-item-text-orange: rgb(73, 41, 14);
  --notion-item-text-green: rgb(28, 56, 41);
  --notion-item-text-pink: rgb(76, 35, 55);
  --notion-item-text-brown: rgb(68, 42, 30);
  --notion-item-text-red: rgb(93, 23, 21);
  --notion-item-text-yellow: rgb(64, 44, 27);
  --notion-item-text-default: rgb(50, 48, 44);
  --notion-item-text-purple: rgb(65, 36, 84);
  --notion-item-text-gray: rgb(50, 48, 44);

  --notion-item-bullet-blue: rgb(91, 151, 189);
  --notion-item-bullet-orange: rgb(215, 129, 58);
  --notion-item-bullet-green: rgb(108, 155, 125);
  --notion-item-bullet-pink: rgb(205, 116, 159);
  --notion-item-bullet-brown: rgb(187, 132, 108);
  --notion-item-bullet-red: rgb(225, 111, 100);
  --notion-item-bullet-yellow: rgb(203, 148, 51);
  --notion-item-bullet-default: rgb(91, 151, 189);
  --notion-item-bullet-purple: rgb(167, 130, 195);
  --notion-item-bullet-gray: rgb(145, 145, 142);

  --notion-max-width: 720px;
  --notion-header-height: 45px;
  --notion-corner-radius: 8px;
}

.dark-mode {
  --fg-color: rgba(255, 255, 255, 0.9);
  --fg-color-0: var(--fg-color);
  --fg-color-1: var(--fg-color);
  --fg-color-2: var(--fg-color);
  --fg-color-3: var(--fg-color);
  --fg-color-4: var(--fg-color);
  --fg-color-5: rgba(255, 255, 255, 0.7);
  --fg-color-6: #fff;
  --fg-color-icon: #fff;

  --bg-color: #2f3437;
  --bg-color-0: rgb(71, 76, 80);
  --bg-color-1: rgb(63, 68, 71);
  --bg-color-2: rgba(135, 131, 120, 0.15);

  --notion-red: rgb(255, 115, 105);
  --notion-pink: rgb(226, 85, 161);
  --notion-blue: rgb(82, 156, 202);
  --notion-purple: rgb(154, 109, 215);
  --notion-teal: rgb(77, 171, 154);
  --notion-yellow: rgb(255, 220, 73);
  --notion-orange: rgb(255, 163, 68);
  --notion-brown: rgb(147, 114, 100);
  --notion-gray: rgba(151, 154, 155, 0.95);
  --notion-red_background: rgb(89, 65, 65);
  --notion-pink_background: rgb(83, 59, 76);
  --notion-blue_background: rgb(54, 73, 84);
  --notion-purple_background: rgb(68, 63, 87);
  --notion-teal_background: rgb(53, 76, 75);
  --notion-yellow_background: rgb(89, 86, 59);
  --notion-orange_background: rgb(89, 74, 58);
  --notion-brown_background: rgb(67, 64, 64);
  --notion-gray_background: rgb(69, 75, 78);
  --notion-red_background_co: rgba(89, 65, 65, 0.3);
  --notion-pink_background_co: rgba(83, 59, 76, 0.3);
  --notion-blue_background_co: rgba(120, 162, 187, 0.3);
  --notion-purple_background_co: rgba(68, 63, 87, 0.3);
  --notion-teal_background_co: rgba(53, 76, 75, 0.3);
  --notion-yellow_background_co: rgba(89, 86, 59, 0.3);
  --notion-orange_background_co: rgba(89, 74, 58, 0.3);
  --notion-brown_background_co: rgba(67, 64, 64, 0.3);
  --notion-gray_background_co: rgba(69, 75, 78, 0.3);
}

.notion * {
  box-sizing: border-box;
}

.notion {
  font-size: 16px;
  line-height: 1.5;
  color: var(--fg-color);
  caret-color: var(--fg-color);
  font-family: var(--notion-font);
}

.notion > * {
  padding: 3px 0;
}

.notion * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.notion *::-moz-selection {
  background: var(--select-color-1);
}

.notion *::selection {
  background: var(--select-color-1);
}

.notion *,
.notion *:focus {
  outline: 0;
}

.notion-page-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1300px) and (min-height: 300px) {
  .notion-page-content-has-aside {
    display: flex;
    flex-direction: row;
    width: calc((100vw + var(--notion-max-width)) / 2);
  }

  .notion-page-content-has-aside .notion-aside {
    display: flex;
  }

  .notion-page-content-has-aside .notion-page-content-inner {
    width: var(--notion-max-width);
    max-width: var(--notion-max-width);
  }
}

.notion-page-content-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.notion-aside {
  position: sticky;
  top: 148px;
  z-index: 101;
  /* top: calc((100vh - 48px - 100%) / 2); */

  align-self: flex-start;
  flex: 1 1;

  display: none;
  flex-direction: column;
  align-items: center;
}

.notion-aside-table-of-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: calc(100vh - 148px - 16px);
  min-width: 222px;
  overflow: auto;
  background: var(--bg-color);
  border-radius: 4px;
}

.notion-aside-table-of-contents-header {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.1em;
  word-break: break-word;
}

.notion-aside-table-of-contents .notion-table-of-contents-item {
  line-height: 1;
}

.notion-aside-table-of-contents
  .notion-table-of-contents-item-indent-level-0:first-of-type {
  margin-top: 0;
}

.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-0 {
  margin-top: 0.25em;
}

.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-1 {
  font-size: 13px;
}

.notion-aside-table-of-contents .notion-table-of-contents-item-indent-level-2 {
  font-size: 12px;
}

.notion-aside-table-of-contents .notion-table-of-contents-item-body {
  border: 0 none;
}

.notion-table-of-contents-active-item {
  color: var(--select-color-0) !important;
}

.notion-app {
  position: relative;
  background: var(--bg-color);
  min-height: 100vh;
}

.notion-viewport {
  position: relative;
  padding: 0px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.medium-zoom-overlay {
  z-index: 300;
}

.medium-zoom-image {
  border-radius: 0;
}

.medium-zoom-image--opened {
  margin: unset !important;
  min-width: unset !important;
  min-height: unset !important;
  z-index: 301;
}

.notion-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
}

.notion-page-scroller {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: center;
  min-height: calc(100vh - var(--notion-header-height));
}

.notion-red,
.notion-red_co {
  color: var(--notion-red);
}
.notion-pink,
.notion-pink_co {
  color: var(--notion-pink);
}
.notion-blue,
.notion-blue_co {
  color: var(--notion-blue);
}
.notion-purple,
.notion-purple_co {
  color: var(--notion-purple);
}
.notion-teal,
.notion-teal_co {
  color: var(--notion-teal);
}
.notion-yellow,
.notion-yellow_co {
  color: var(--notion-yellow);
}
.notion-orange,
.notion-orange_co {
  color: var(--notion-orange);
}
.notion-brown,
.notion-brown_co {
  color: var(--notion-brown);
}
.notion-gray,
.notion-gray_co {
  color: var(--notion-gray);
}
.notion-red_background {
  background-color: var(--notion-red_background);
}
.notion-pink_background {
  background-color: var(--notion-pink_background);
}
.notion-blue_background {
  background-color: var(--notion-blue_background);
}
.notion-purple_background {
  background-color: var(--notion-purple_background);
}
.notion-teal_background {
  background-color: var(--notion-teal_background);
}
.notion-yellow_background {
  background-color: var(--notion-yellow_background);
}
.notion-orange_background {
  background-color: var(--notion-orange_background);
}
.notion-brown_background {
  background-color: var(--notion-brown_background);
}
.notion-gray_background {
  background-color: var(--notion-gray_background);
}
.notion-red_background_co {
  background-color: var(--notion-red_background_co);
}
.notion-pink_background_co {
  background-color: var(--notion-pink_background_co);
}
.notion-blue_background_co {
  background-color: var(--notion-blue_background_co);
}
.notion-purple_background_co {
  background-color: var(--notion-purple_background_co);
}
.notion-teal_background_co {
  background-color: var(--notion-teal_background_co);
}
.notion-yellow_background_co {
  background-color: var(--notion-yellow_background_co);
}
.notion-orange_background_co {
  background-color: var(--notion-orange_background_co);
}
.notion-brown_background_co {
  background-color: var(--notion-brown_background_co);
}
.notion-gray_background_co {
  background-color: var(--notion-gray_background_co);
}

.notion-item-blue {
  background-color: var(--notion-item-blue);
  color: var(--notion-item-text-blue);
}
.notion-item-orange {
  background-color: var(--notion-item-orange);
  color: var(--notion-item-text-orange);
}
.notion-item-green {
  background-color: var(--notion-item-green);
  color: var(--notion-item-text-green);
}
.notion-item-pink {
  background-color: var(--notion-item-pink);
  color: var(--notion-item-text-pink);
}
.notion-item-brown {
  background-color: var(--notion-item-brown);
  color: var(--notion-item-text-brown);
}
.notion-item-red {
  background-color: var(--notion-item-red);
  color: var(--notion-item-text-red);
}
.notion-item-yellow {
  background-color: var(--notion-item-yellow);
  color: var(--notion-item-text-yellow);
}
.notion-item-default,
.notion-item-default-inferred {
  background-color: var(--notion-item-default);
  color: var(--notion-item-text-default);
}
.notion-item-purple {
  background-color: var(--notion-item-purple);
  color: var(--notion-item-text-purple);
}
.notion-item-gray {
  background-color: var(--notion-item-gray);
  color: var(--notion-item-text-gray);
}

.notion-item-bullet-blue {
  background-color: var(--notion-item-bullet-blue);
}
.notion-item-bullet-orange {
  background-color: var(--notion-item-bullet-orange);
}
.notion-item-bullet-green {
  background-color: var(--notion-item-bullet-green);
}
.notion-item-bullet-pink {
  background-color: var(--notion-item-bullet-pink);
}
.notion-item-bullet-brown {
  background-color: var(--notion-item-bullet-brown);
}
.notion-item-bullet-red {
  background-color: var(--notion-item-bullet-red);
}
.notion-item-bullet-yellow {
  background-color: var(--notion-item-bullet-yellow);
}
.notion-item-bullet-default {
  background-color: var(--notion-item-bullet-default);
}
.notion-item-bullet-default-inferred {
  background-color: var(--notion-item-bullet-gray);
}
.notion-item-bullet-purple {
  background-color: var(--notion-item-bullet-purple);
}
.notion-item-bullet-gray {
  background-color: var(--notion-item-bullet-gray);
}

.notion b {
  font-weight: 600;
}

.notion-title {
  width: 100%;
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.2;
}

.notion-h {
  position: relative;
  display: inline;

  font-weight: 600;
  line-height: 1.3;
  padding: 3px 2px;
  margin-bottom: 1px;

  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  width: 100%;
}

.notion-h1 {
  font-size: 1.875em;
  margin-top: 1.08em;
}

.notion-header-anchor {
  position: absolute;
  top: -54px;
  left: 0;
}

.notion-title + .notion-h1,
.notion-title + .notion-h2,
.notion-title + .notion-h3,
.notion-title + .notion-h4 {
  margin-top: 0;
}
/* TODO: notion-page-content */
.notion-h1:first-child {
  margin-top: 0;
}
/* .notion-h1:first-of-type {
  margin-top: 2px;
} */
.notion-h2 {
  font-size: 1.5em;
  margin-top: 1.1em;
}
.notion-h3 {
  font-size: 1.25em;
  margin-top: 1em;
}
.notion-h4 {
  font-size: 1.15em;
  margin-top: 1em;
}

.notion-h:hover .notion-hash-link {
  opacity: 1;
}

/* Add specific styles for headings in sync blocks */
.notion-sync-block .notion-h {
  display: block;
}

/* Preserve original styles for toggle headings */
details.notion-toggle .notion-h {
  display: inline;
}

.notion-hash-link {
  opacity: 0;
  text-decoration: none;
  float: left;
  margin-left: -20px;
  padding-right: 4px;
  fill: var(--fg-color-icon);
}

.notion-page-cover {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 30vh !important;
  min-height: 30vh !important;
  max-height: 30vh !important;
  padding: 0;
}

.notion-page-cover-wrapper {
  width: 100%;
  height: 30vh;
  min-height: 30vh;
  max-height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notion-collection-card-cover {
  overflow: hidden;
}

.notion-collection-card-cover span,
.notion-collection-card-cover img {
  min-height: 100% !important;
  max-height: 100% !important;
}

.notion-page-cover-wrapper span,
.notion-page-cover-wrapper img {
  width: 100% !important;
  height: 30vh !important;
  min-height: 30vh !important;
  max-height: 30vh !important;
}

.notion-page {
  position: relative;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.notion-full-page {
  padding-bottom: calc(max(10vh, 120px));
}

.notion-page-no-cover {
  margin-top: 48px !important;
  padding-top: 96px;
}

.notion-page-no-cover.notion-page-no-icon {
  padding-top: 0;
}

.notion-page-no-cover.notion-page-has-image-icon {
  padding-top: 148px;
}

.notion-page-has-cover.notion-page-no-icon {
  padding-top: 48px;
}

.notion-page-has-cover {
  padding-top: 96px;
}

.notion-page-has-cover.notion-page-has-icon.notion-page-has-text-icon {
  padding-top: 64px;
}

.notion-page-icon-hero {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.notion-page-icon-hero.notion-page-icon-image {
  width: 124px;
  height: 124px;
  margin-left: -62px;
}

.notion-page-icon-hero.notion-page-icon-span {
  height: 78px;
  width: 78px;
  margin-left: -39px;
}

.notion-page-icon-hero .notion-page-icon {
  position: relative;
  display: block;
}

.notion-page-has-cover .notion-page-icon-hero.notion-page-icon-image {
  top: -62px;
}

.notion-page-has-cover .notion-page-icon-hero.notion-page-icon-span {
  top: -42px;
}

.notion-page-icon-hero.notion-page-icon-span .notion-page-icon {
  font-size: 78px;
  line-height: 1.1;
  margin-left: 0;
  color: var(--fg-color-icon);
}

.notion-page-icon-hero.notion-page-icon-image .notion-page-icon {
  display: block;
  border-radius: var(--notion-corner-radius);
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

.notion-page-icon-hero.notion-page-icon-image img {
  -o-object-fit: cover;
     object-fit: cover;
}

.notion-page-icon {
  font-family:
    'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Noto Color Emoji',
    'Segoe UI Symbol', 'Android Emoji', EmojiSymbols;
  font-size: 1.1em;
  fill: var(--fg-color-6);
  color: var(--fg-color-icon);
}

.notion-search .notion-page-icon {
  fill: var(--fg-color-6);
  color: var(--fg-color);
}

img.notion-page-icon,
svg.notion-page-icon {
  display: block;
  -o-object-fit: fill;
     object-fit: fill;
  border-radius: var(--notion-corner-radius);
  max-width: 100%;
  max-height: 100%;
}

.notion-page-icon-inline {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  margin: 0 4px;
}

.notion-page-icon-inline span {
  max-width: 100%;
  max-height: 100%;
}

.notion-page-icon-inline img {
  -o-object-fit: cover;
     object-fit: cover;
}

.notion-page {
  box-sizing: border-box;
  width: var(--notion-max-width);
  padding-left: calc(min(16px, 8vw));
  padding-right: calc(min(16px, 8vw));
}

.notion-full-width {
  box-sizing: border-box;
  --notion-max-width: calc(min(1920px, 98vw));
  padding-left: calc(min(96px, 8vw));
  padding-right: calc(min(96px, 8vw));
}

.notion-small-text {
  font-size: 14px;
}

.notion-quote {
  display: block;
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  border-left: 3px solid currentcolor;
  padding: 0.2em 0.9em;
  margin: 6px 0;
  font-size: 1.2em;
}

.notion-hr {
  width: 100%;
  margin: 6px 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid var(--bg-color-0);
}

.notion-link {
  color: inherit;
  word-break: break-word;
  text-decoration: inherit;
  border-bottom: 0.05em solid;
  border-color: var(--fg-color-2);
  opacity: 0.7;
  transition:
    border-color 100ms ease-in,
    opacity 100ms ease-in;
}

.notion-link:hover {
  border-color: var(--fg-color-6);
  opacity: 1;
}

.notion-collection .notion-link {
  opacity: 1;
}

.notion-blank {
  width: 100%;
  min-height: 1rem;
  padding: 3px 2px;
  margin-top: 1px;
  margin-bottom: 1px;
}

.notion-page-link {
  display: flex;
  color: var(--fg-color);
  text-decoration: none;
  width: 100%;
  height: 30px;
  margin: 1px 0;
  transition: background 120ms ease-in 0s;
}

.notion-page-link:hover {
  background: var(--bg-color-0);
}

.notion-collection-card .notion-page-link {
  height: unset;
  margin: 0;
  transition: unset;
}
.notion-collection-card .notion-page-link {
  background: unset;
}

.notion-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: var(--fg-color-icon);
}

.notion-page-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  line-height: 1.3;
  border-bottom: 1px solid var(--fg-color-1);
  margin: 4px 0;
}

.notion-inline-code {
  color: #eb5757;
  padding: 0.2em 0.4em;
  background: var(--bg-color-2);
  border-radius: var(--notion-corner-radius);
  font-size: 85%;
  font-family:
    'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.notion-inline-underscore {
  text-decoration: underline;
}

.notion-list {
  margin: 0;
  margin-block-start: 0.6em;
  margin-block-end: 0.6em;
}

.notion-list-disc {
  list-style-type: disc;
  padding-inline-start: 1.7em;
  margin-top: 0;
  margin-bottom: 0;
}
.notion-list-numbered {
  list-style-type: decimal;
  padding-inline-start: 1.6em;
  margin-top: 0;
  margin-bottom: 0;
}

.notion-list-disc li {
  padding-left: 0.1em;
}

.notion-list-numbered li {
  padding-left: 0.2em;
}

.notion-list li {
  padding: 6px 0;
  white-space: pre-wrap;
}

.notion-asset-wrapper {
  margin: 0.5rem 0;
  max-width: 100vw;
  min-width: 100%;
  align-self: center;
  display: flex;
  flex-direction: column;
}

.notion-asset-wrapper-image {
  max-width: 100%;
}

.notion-asset-wrapper-full {
  max-width: 100vw;
}

.notion-asset-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.notion-asset-wrapper iframe {
  border: none;
  background: rgb(247, 246, 245);
}

.notion-text {
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  padding: 3px 2px;
  margin: 1px 0;
}

.notion-text:first-child {
  margin-top: 2px;
}

.notion-text-children {
  padding-left: 1.5em;
  display: flex;
  flex-direction: column;
}

.notion .notion-code {
  font-size: 85%;
}

.notion-code {
  position: relative;
  width: 100%;
  padding: 1em;
  margin: 4px 0;
  border-radius: var(--notion-corner-radius);
  -moz-tab-size: 2;
    -o-tab-size: 2;
       tab-size: 2;
  display: block;
  box-sizing: border-box;
  overflow: auto;
  background: var(--bg-color-1);
  font-family:
    SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.notion-code-copy {
  position: absolute;
  top: 1em;
  right: 1em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  z-index: 9;
  transition: opacity 0.2s cubic-bezier(0.3, 0, 0.5, 1);
}

.notion-code-copy-button {
  display: inline-block;
  padding: 0.6em;
  font-size: 1.25em;
  line-height: 1em;
  cursor: pointer;

  transition:
    background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1),
    color 0.2s cubic-bezier(0.3, 0, 0.5, 1),
    border-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  box-shadow:
    0 1px 0 rgba(27, 31, 36, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background-color: #f6f8fa;

  color: #24292f;
  border: 1px solid rgba(27, 31, 36, 0.15);
  border-radius: 6px;
}

.notion-code-copy-button:hover {
  background-color: #f3f4f6;
  border-color: rgba(27, 31, 36, 0.15);
  transition-duration: 0.1s;
}

.notion-code-copy-button:active {
  background: hsla(220, 14%, 93%, 1);
  border-color: rgba(27, 31, 36, 0.15);
  transition: none;
}

.notion-code .notion-code-copy {
  opacity: 0;
}

.notion-code:hover .notion-code-copy {
  opacity: 1;
}

.notion-code-copy-button svg {
  display: block;
}

.notion-code-copy-tooltip {
  pointer-events: none;
  position: absolute;
  bottom: -38px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  z-index: 99;
  font-size: 14px;
}

.notion-code-copy-tooltip > div {
  padding: 6px 8px;
  background: #222;
  color: #fff;
  border-radius: 6px;
}

.notion-column {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  padding-bottom: 12px;
}

.notion-column > *:first-child {
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
}

.notion-column > *:last-child {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.notion-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .notion-row {
    flex-direction: column;
  }

  .notion-row .notion-column {
    width: 100% !important;
  }

  .notion-row .notion-spacer {
    display: none;
  }
}

.notion-bookmark {
  margin: 4px 0;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid var(--fg-color-1);
  border-radius: var(--notion-corner-radius);
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.dark-mode .notion-bookmark {
  border-color: var(--bg-color-0);
}

.notion-bookmark > div:first-child {
  flex: 4 1 180px;
  padding: 12px 14px 14px;
  overflow: hidden;
  text-align: left;
  color: var(--fg-color);
}

.notion-bookmark-title {
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 24px;
  margin-bottom: 2px;
}

.notion-bookmark-description {
  font-size: 12px;
  line-height: 16px;
  opacity: 0.8;
  height: 32px;
  overflow: hidden;
}

.notion-bookmark-link {
  display: flex;
  margin-top: 6px;
}

.notion-bookmark-link-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-right: 6px;
}

.notion-bookmark-link-text {
  font-size: 12px;
  line-height: 16px;
  color: var(--fg-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-bookmark-link-icon img {
  max-width: 100%;
  max-height: 100%;
}

.notion-bookmark-image {
  flex: 1 1 180px;
  position: relative;
}

.notion-bookmark-image > * {
  position: absolute !important;
  width: 100%;
  height: 100%;
}

.notion-bookmark-image span {
  width: 100% !important;
  height: 100% !important;
  max-height: 100%;
}

.notion-column .notion-bookmark-image {
  display: none;
}

.notion-spacer {
  width: calc(min(32px, 4vw));
}

.notion-spacer:last-child {
  display: none;
}

.notion-asset-object-fit {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 1px;
}

.notion-image {
  display: block;
  width: 100%;
  border-radius: 1px;
}

.notion-asset-caption {
  padding: 6px 0 6px 2px;
  white-space: pre-wrap;
  word-break: break-word;
  caret-color: var(--fg-color);
  font-size: 14px;
  line-height: 1.4;
  color: var(--fg-color-3);
}

.notion-callout {
  padding: 16px 16px 16px 12px;
  display: inline-flex;
  width: 100%;
  border-radius: var(--notion-corner-radius);
  border-width: 1px;
  align-items: center;
  box-sizing: border-box;
  margin: 4px 0;
  border: 1px solid var(--fg-color-0);
}

.dark-mode .notion-callout {
  border-color: var(--bg-color-2);
}

.notion-callout .notion-page-icon-inline {
  align-self: flex-start;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 1.3em;
}

.notion-callout-text {
  margin-left: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  width: 100%;
}

.notion-callout-text > *:first-child {
  margin-top: 0;
  padding-top: 0;
}

.notion-toggle {
  width: 100%;
  padding: 3px 2px;
}
.notion-toggle > summary {
  cursor: pointer;
  outline: none;
}
.notion-toggle > div {
  margin-left: 1.1em;
}

.notion-button-block {
  padding: 4px 0;
  margin: 4px 0;
}

.notion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid var(--notion-gray);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  background-color: transparent;
  cursor: pointer;
  min-height: 32px;
  transition: background-color 0.15s ease;
}

.notion-button:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.notion-button:active {
  background-color: rgba(0, 0, 0, 0.06);
}

.notion-button:focus-visible {
  outline: 2px solid var(--fg-color);
  outline-offset: 2px;
}

.notion-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Button color variants using Notion's item colors */
.notion-button-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  padding: 6px 12px;
  border: 1px solid transparent;
  min-height: 32px;
  transition: background-color 0.15s ease;
  color: #000;
}

.notion-button-inner:hover {
  filter: brightness(0.95);
}

.notion-button-inner:active {
  filter: brightness(0.9);
}

.notion-button-inner:focus-visible {
  outline: 2px solid var(--fg-color);
  outline-offset: 2px;
}

.notion-button-inner:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Blue variant */
.notion-blue_background .notion-button-inner,
.notion-button.notion-blue_background {
  background-color: var(--notion-item-blue);
  border-color: var(--notion-item-blue);
}

.notion-button.notion-blue_background:hover {
  background-color: var(--notion-item-blue);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-blue_background:active {
  background-color: var(--notion-item-blue);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Red variant */
.notion-red_background .notion-button-inner,
.notion-button.notion-red_background {
  background-color: var(--notion-item-red);
  border-color: var(--notion-item-red);
}

.notion-button.notion-red_background:hover {
  background-color: var(--notion-item-red);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-red_background:active {
  background-color: var(--notion-item-red);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Orange variant */
.notion-orange_background .notion-button-inner,
.notion-button.notion-orange_background {
  background-color: var(--notion-item-orange);
  border-color: var(--notion-item-orange);
}

.notion-button.notion-orange_background:hover {
  background-color: var(--notion-item-orange);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-orange_background:active {
  background-color: var(--notion-item-orange);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Green/Teal variant */
.notion-green_background .notion-button-inner,
.notion-teal_background .notion-button-inner,
.notion-button.notion-green_background,
.notion-button.notion-teal_background {
  background-color: var(--notion-item-green);
  border-color: var(--notion-item-green);
}

.notion-button.notion-green_background:hover,
.notion-button.notion-teal_background:hover {
  background-color: var(--notion-item-green);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-green_background:active,
.notion-button.notion-teal_background:active {
  background-color: var(--notion-item-green);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Yellow variant */
.notion-yellow_background .notion-button-inner,
.notion-button.notion-yellow_background {
  background-color: var(--notion-item-yellow);
  border-color: var(--notion-item-yellow);
}

.notion-button.notion-yellow_background:hover {
  background-color: var(--notion-item-yellow);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-yellow_background:active {
  background-color: var(--notion-item-yellow);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Purple variant */
.notion-purple_background .notion-button-inner,
.notion-button.notion-purple_background {
  background-color: var(--notion-item-purple);
  border-color: var(--notion-item-purple);
}

.notion-button.notion-purple_background:hover {
  background-color: var(--notion-item-purple);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-purple_background:active {
  background-color: var(--notion-item-purple);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Pink variant */
.notion-pink_background .notion-button-inner,
.notion-button.notion-pink_background {
  background-color: var(--notion-item-pink);
  border-color: var(--notion-item-pink);
}

.notion-button.notion-pink_background:hover {
  background-color: var(--notion-item-pink);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-pink_background:active {
  background-color: var(--notion-item-pink);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Gray variant */
.notion-gray_background .notion-button-inner,
.notion-button.notion-gray_background {
  background-color: var(--notion-item-gray);
  border-color: var(--notion-item-gray);
}

.notion-button.notion-gray_background:hover {
  background-color: var(--notion-item-gray);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-gray_background:active {
  background-color: var(--notion-item-gray);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Brown variant */
.notion-brown_background .notion-button-inner,
.notion-button.notion-brown_background {
  background-color: var(--notion-item-brown);
  border-color: var(--notion-item-brown);
}

.notion-button.notion-brown_background:hover {
  background-color: var(--notion-item-brown);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-brown_background:active {
  background-color: var(--notion-item-brown);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Default variant */
.notion-button.notion-default {
  background-color: var(--notion-item-default);
  border-color: var(--notion-gray);
}

.notion-button.notion-default:hover {
  background-color: var(--notion-item-default);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.04);
}

.notion-button.notion-default:active {
  background-color: var(--notion-item-default);
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.08);
}

/* Success state - darker green */
.notion-button.notion-success {
  background-color: rgb(175, 210, 175) !important;
  border-color: rgb(175, 210, 175) !important;
}

.notion-button.notion-default:hover {
  background-color: var(--fg-color-1);
}

/* Success state */
.notion-button.notion-success,
.notion-button-inner.notion-success {
  background-color: #0f7b6c !important;
  color: white !important;
}

.notion-button.notion-success:hover,
.notion-button-inner.notion-success:hover {
  background-color: #0a5f54 !important;
}

/* Dark mode adjustments */
.dark-mode .notion-button,
.dark-mode .notion-button-inner {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dark-mode .notion-button:hover,
.dark-mode .notion-button-inner:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.notion-collection {
  align-self: center;
  min-width: 100%;
}

.notion-collection-header {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 4px 2px;
  white-space: nowrap;
  overflow: hidden;
}

.notion-collection-header-title {
  display: inline-flex;
  align-items: center;
  font-size: 1.25em;
  line-height: 1.2;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
  margin-right: 0.5em;
}

.notion-collection-view-dropdown {
  cursor: pointer;
  padding: 6px 8px;
  border: 0 none;
  border-radius: 3px;
  transition: background 120ms ease-in 0s;
  background: transparent;
}

.notion-collection-view-dropdown:hover {
  background: var(--bg-color-0);
}

.notion-collection-view-dropdown-icon {
  position: relative;
  top: 2px;
  margin-left: 4px;
}

.notion-collection-view-type {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.notion-collection-view-type-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  /* fill: var(--fg-color); */
  fill: rgba(55, 53, 47);
  margin-right: 6px;
}

.notion-collection-view-type-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg-color);
}

.notion-table {
  width: 100vw;
  max-width: 100vw;
  align-self: center;
  overflow: auto hidden;
}

.notion-table-view {
  position: relative;
  float: left;
  min-width: var(--notion-max-width);
  padding-left: 0;
}

.notion-table-header {
  display: flex;
  position: absolute;
  z-index: 82;
  height: 33px;
  color: var(--fg-color-3);
  min-width: var(--notion-max-width);
}

.notion-table-header-inner {
  width: 100%;
  display: inline-flex;
  border-top: 1px solid var(--fg-color-1);
  border-bottom: 1px solid var(--fg-color-1);
  /* box-shadow: white -3px 0 0, rgba(55, 53, 47, 0.16) 0 1px 0; */
}

.notion-table-header-placeholder {
  height: 34px;
}

.notion-table-th {
  display: flex;
  position: relative;
}

.notion-table-view-header-cell {
  display: flex;
  flex-shrink: 0;
  overflow: hidden;
  height: 32px;
  font-size: 14px;
  padding: 0;
}

.notion-table-view-header-cell-inner {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: flex;
  width: 100%;
  height: 100%;
  padding-left: 8px;
  padding-right: 8px;
  border-right: 1px solid var(--fg-color-0);
}

.notion-table-th:last-child .notion-table-view-header-cell-inner {
  border-right: 0 none;
}

.notion-collection-column-title {
  display: flex;
  align-items: center;
  line-height: 120%;
  min-width: 0;
  font-size: 14px;
}

.notion-collection-column-title-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  fill: var(--fg-color-2);
  margin-right: 6px;
}

.notion-collection-column-title-body {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-table-body {
  position: relative;
  min-width: var(--notion-max-width);
}

.notion-table-row {
  display: flex;
  border-bottom: 1px solid var(--fg-color-1);
}

.notion-table-cell {
  min-height: 32px;
  padding: 5px 8px 6px;
  font-size: 14px;
  line-height: 1;
  white-space: normal;
  overflow: hidden;
  word-break: break-word;
  border-right: 1px solid var(--fg-color-1);
}

.notion-table-cell:last-child {
  border-right: 0 none;
}

.notion-table-cell-title {
  font-weight: 500;
}

.notion-table-cell-text {
  white-space: pre-wrap;
}

.notion-table-cell-text,
.notion-table-cell-number,
.notion-table-cell-url,
.notion-table-cell-email,
.notion-table-cell-phone_number {
  line-height: 1.5;
}

.notion-table-cell-number {
  white-space: pre-wrap;
}

.notion-table-cell-select,
.notion-table-cell-multi_select {
  padding: 7px 8px 0;
}

.notion-table-cell-auto_increment_id {
  color: var(--fg-color-7);
}

.notion-property-select,
.notion-property-status,
.notion-property-multi_select {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notion-property-select-item,
.notion-property-status-item,
.notion-property-multi_select-item {
  display: flex;
  align-items: center;
  padding: 0 6px;
  border-radius: 3px;
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 120%;
}

.notion-property-status-item {
  border-radius: 20px;
}

.notion-property-file {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.notion-property-file img {
  max-height: 24px;
  max-width: 100%;
  margin-right: 6px;
}

.notion-collection-card-cover .notion-property-file {
  height: 100%;
}

.notion-collection-card-cover .notion-property-file img {
  width: 100%;
  margin: 0;
  max-height: 100%;
}

.notion-collection-card .notion-property-checkbox-container {
  display: flex;
}

.notion-property-checkbox-text {
  display: none;
}

.notion-collection-card .notion-property-checkbox-text {
  display: inline-block;
  margin-left: 6px;
}

.notion-property-checkbox {
  width: 16px;
  height: 16px;
}

.notion-property-checkbox-checked {
  width: 16px;
  height: 16px;
  background: var(--select-color-0);
}

.notion-property-checkbox-checked svg {
  position: relative;
  display: block;
  /* top: -3px; */
  top: 1px;
  left: 1px;
  width: 14px;
  height: 14px;
  fill: #fff;
}

.notion-property-checkbox-unchecked {
  width: 16px;
  height: 16px;
  border: 1.3px solid var(--fg-color);
}

.notion-gallery {
  align-self: center;
}

.notion-gallery-view {
  position: relative;
  padding-left: 0;
  transition: padding 200ms ease-out;
}

.notion-gallery-grid {
  display: grid;
  position: relative;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 16px;
  gap: 16px;
  border-top: 1px solid var(--fg-color-1);
  padding-top: 16px;
  padding-bottom: 4px;
}

.notion-gallery-grid-size-small {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.notion-gallery-grid-size-large {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.notion-collection-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  text-decoration: none;
  box-shadow:
    rgba(15, 15, 15, 0.1) 0 0 0 1px,
    rgba(15, 15, 15, 0.1) 0 2px 4px;
  border-radius: var(--notion-corner-radius);
  background: var(--bg-color);
  color: var(--fg-color);
  transition: background 100ms ease-out 0s;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
  cursor: pointer;
}

.notion-collection-card:hover {
  background: var(--bg-color-0);
}

.notion-collection-card-cover {
  position: relative;
  width: 100%;
  height: 190px;
  border-bottom: 1px solid var(--fg-color-0);
  overflow: hidden;
}

.notion-collection-card-cover img {
  width: 100%;
  height: 100%;
  border-radius: var(--notion-corner-radius) var(--notion-corner-radius) 0 0;
  /* object-fit: cover; */
}

.notion-collection-card-cover .notion-collection-card-cover-empty {
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  background: var(--fg-color-5);
  box-shadow: var(--fg-color-0) 0 -1px 0 0 inset;
  padding: 8px 8px 0;
}

.notion-collection-card-size-small .notion-collection-card-cover {
  height: 124px;
}

.notion-collection-card-body {
  display: flex;
  flex-direction: column;
  padding: 4px 10px;
}

.notion-collection-card-property {
  padding: 4px 0;
  white-space: nowrap;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.notion-collection-card-property:first-child {
  font-size: 14px;
  font-weight: 500;
}

.notion-collection-card-property:not(:first-child) {
  white-space: nowrap;
  text-overflow: clip;
}

.notion-collection-card-property img {
  max-height: 18px;
}

.notion-list-collection {
  align-self: center;
}

.notion-list-collection {
  width: 100%;
  max-width: 100%;
}

.notion-list-view {
  position: relative;
  padding-left: 0;
  transition: padding 200ms ease-out;
  max-width: 100%;
}

.notion-list-body {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--fg-color-1);
  padding-top: 8px;
  max-width: 100%;
  overflow: hidden;
}

.notion-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin: 1px 0;
  max-width: 100%;
  overflow: hidden;
}

.notion-list-item-title {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  line-height: 1.3;
}

.notion-list-item-body {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.notion-list-item-property {
  /* display: flex;
  align-items: center; */
  margin-left: 14px;
  font-size: 14px;
}

.notion-list-item-property .notion-property-date,
.notion-list-item-property .notion-property-created_time,
.notion-list-item-property .notion-property-last_edited_time,
.notion-list-item-property .notion-property-url {
  display: inline-block;
  color: var(--fg-color-3);
  font-size: 12px;
  /* white-space: nowrap; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-board {
  width: 100vw;
  max-width: 100vw;
  align-self: center;
  overflow: auto hidden;
}

.notion-board-view {
  position: relative;
  float: left;
  min-width: 100%;
  padding-left: 0;
  transition: padding 200ms ease-out;
}

.notion-board-header {
  display: flex;
  position: absolute;
  z-index: 82;
  height: 44px;
  min-width: 100%;
}

.notion-board-header-inner {
  display: inline-flex;
  border-top: 1px solid var(--fg-color-1);
  border-bottom: 1px solid var(--fg-color-1);
}

.notion-board-header-placeholder {
  height: var(--notion-header-height);
}

.notion-board-th {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-right: 16px;
  box-sizing: content-box;
  flex-shrink: 0;
}

.notion-board-th-body {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.2;
  padding-left: 2px;
  padding-right: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.notion-board-th-count {
  color: var(--fg-color-3);
  font-weight: 500;
  padding: 0 8px;
}

.notion-board-th-empty {
  margin-right: 6px;
  position: relative;
  top: 2px;
}

.notion-board-body {
  display: inline-flex;
}

.notion-board-group {
  flex: 0 0 auto;
  padding-right: 16px;
  box-sizing: content-box;
}

.notion-board-group-card {
  margin-bottom: 8px;
}

.notion-board-view .notion-board-th,
.notion-board-view .notion-board-group {
  width: 260px;
}

.notion-board-view-size-small .notion-board-th,
.notion-board-view-size-small .notion-board-group {
  width: 180px;
}

.notion-board-view-size-large .notion-board-th,
.notion-board-view-size-large .notion-board-group {
  width: 320px;
}

.notion-board-view .notion-collection-card .notion-collection-card-cover {
  height: 148px;
}

.notion-board-view-size-small
  .notion-collection-card
  .notion-collection-card-cover {
  height: 100px;
}

.notion-board-view-size-large
  .notion-collection-card
  .notion-collection-card-cover {
  height: 180px;
}

.notion-collection-page-properties {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.notion-table-of-contents {
  width: 100%;
  margin: 4px 0;
}

.notion-table-of-contents-item {
  color: var(--fg-color);
  opacity: 0.7;
  transition:
    background 100ms ease-in,
    opacity 100ms ease-in;

  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background 20ms ease-in 0s;
  cursor: pointer;
  width: 100%;

  padding: 6px;
  font-size: 14px;
  line-height: 1.3;
  display: flex;
  align-items: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-table-of-contents-item:hover {
  background: var(--bg-color-0);
  opacity: 1;
}

.notion-table-of-contents-item-body {
  border-bottom: 1px solid var(--fg-color-1);
}

.notion-to-do {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.notion-to-do-item {
  width: 100%;
  display: flex;
  align-items: center;
  width: 100%;
  padding-left: 2px;
  min-height: calc(1.5em + 3px + 3px);
}

.notion-to-do-children {
  padding-left: 1.5em;
}

.notion-to-do-checked .notion-to-do-item {
  text-decoration: line-through;
  opacity: 0.375;
}

.notion-to-do-body {
  white-space: pre-wrap;
  word-break: break-word;
}

.notion-to-do-item .notion-property-checkbox {
  margin-right: 8px;
}

.notion-google-drive {
  width: 100%;
  align-self: center;
  margin: 4px 0;
}

.notion-google-drive-link {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  width: 100%;
  border: 1px solid var(--fg-color-1);
  border-radius: 3px;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
  transition: background 20ms ease-in 0s;
  cursor: pointer;
}

.notion-google-drive-link:hover {
  background: var(--bg-color-0);
}

.notion-google-drive-preview {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 55%;
  overflow: hidden;
}

.notion-google-drive-preview img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
}

.notion-google-drive-body {
  width: 100%;
  min-height: 60px;
  padding: 12px 14px 14px;
  overflow: hidden;
  border-top: 1px solid var(--fg-color-1);
}

.notion-google-drive-body-title {
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.notion-google-drive-body-modified-time {
  font-size: 12px;
  line-height: 1.3;
  color: var(--fg-color-3);
  max-height: 32px;
  overflow: hidden;
}

.notion-google-drive-body-source {
  display: flex;
  align-items: center;
  margin-top: 6px;
}

.notion-google-drive-body-source-icon {
  flex-shrink: 0;
  background-size: cover;
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.notion-google-drive-body-source-domain {
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-file {
  width: 100%;
  margin: 1px 0;
}

.notion-file-link {
  display: flex;
  align-items: center;
  padding: 3px 2px;
  border-radius: var(--notion-corner-radius);
  transition: background 20ms ease-in 0s;
  color: inherit;
  text-decoration: none;
}

.notion-file-link:hover {
  background: var(--bg-color-0);
}

.notion-file-icon {
  margin-right: 2px;
  width: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 0;
  flex-shrink: 0;
  min-height: calc(1.5em + 3px + 3px);
  height: 1.35em;
}

.notion-file-info {
  display: flex;
  align-items: baseline;
}

.notion-file-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notion-file-size {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg-color-3);
  font-size: 12px;
  line-height: 16px;
  margin-left: 6px;
}

.notion-audio {
  width: 100%;
}

.notion-audio audio {
  width: 100%;
}

.notion-equation {
  position: relative;
  display: inline-flex;
  color: inherit;
  fill: inherit;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-radius: 3px;
  transition: background 20ms ease-in 0s;
}

.notion-equation-inline {
  -webkit-user-select: all;
  -moz-user-select: all;
  user-select: all;
}

.notion-equation-block {
  display: flex;
  flex-direction: column;
  overflow: auto;
  width: 100%;
  max-width: 100%;
  padding: 4px 8px;
  margin: 4px 0;
  cursor: pointer;
}

.notion-equation:hover {
  background: var(--bg-color-0);
}

.notion-equation:active,
.notion-equation:focus {
  background: var(--select-color-2);
}

.notion-frame .katex-display .katex {
  padding-right: 32px;
}

.notion-frame .katex > .katex-html {
  white-space: normal;
}

.notion-page-title {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  line-height: 1.3;
  transition: background 120ms ease-in 0s;
}

.notion-page-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  width: 22px;
  border-radius: var(--notion-corner-radius);
  flex-shrink: 0;
}

.notion-page-title .notion-page-icon-inline {
  margin-left: 2px;
  margin-right: 6px;
}

.notion-collection-card-property .notion-link {
  border-bottom: 0 none;
}

.notion-collection-card-property .notion-page-title {
  transition: none;
}

.notion-collection-card-property .notion-page-title:hover {
  background: unset;
}

.notion-collection-card-property .notion-page-title-icon {
  margin-left: 0;
  height: 18px;
  width: 18px;
}

.notion-collection-card-property .notion-page-title-text {
  border-bottom: 0 none;
}

.notion-collection-card-property
  .notion-property-relation
  .notion-page-title-text {
  border-bottom: 1px solid;
}

.notion-page-title-text {
  position: relative;
  top: 1px;
  border-bottom: 1px solid var(--fg-color-1);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* removes double underline with links */
.notion-link .notion-page-title-text {
  border-bottom: 0 none;
}

.notion-collection-row {
  width: 100%;
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--fg-color-0);
  margin-bottom: 1em;
}

.notion-collection-row-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notion-collection-row-property {
  display: flex;
  align-items: center;
}

.notion-collection-row-value {
  flex: 1 1;
  padding: 6px 8px 7px;
  font-size: 14px;
}

.notion-collection-row-property .notion-collection-column-title {
  display: flex;
  align-items: center;
  width: 160px;
  height: 34px;
  color: var(--fg-color-3);
  padding: 0 6px;
}

.notion-collection-row-property .notion-property {
  width: 100%;
}

.notion-collection-row-property .notion-property-auto_increment_id {
  color: var(--fg-color-7);
}

.notion-collection-row-property .notion-collection-column-title-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
}

.notion-collection-row-property .notion-link {
  border-bottom: 0 none;
}

.notion-collection-row-property
  .notion-property-relation
  .notion-page-title-text {
  border-bottom: 1px solid;
}

.notion-user {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 100%;
  width: 20px;
  height: 20px;
}

.notion-list-item-property .notion-property-multi_select-item {
  margin-bottom: 0;
  flex-wrap: none;
}

.notion-list-item-property .notion-property-multi_select-item:last-of-type {
  margin-right: 0;
}

.notion-toggle .notion-collection-header,
.notion-toggle .notion-table-view,
.notion-toggle .notion-board-view,
.notion-column .notion-collection-header,
.notion-column .notion-table-view,
.notion-column .notion-board-view {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.notion-toggle .notion-table,
.notion-toggle .notion-board,
.notion-column .notion-table,
.notion-column .notion-board {
  width: 100% !important;
  max-width: 100% !important;
}

@media only screen and (max-width: 730px) {
  .notion-asset-wrapper {
    max-width: 100%;
  }

  .notion-asset-wrapper-full {
    max-width: 100vw;
  }
}

@media (max-width: 640px) {
  .notion-bookmark-image {
    display: none;
  }
}

.lazy-image-wrapper {
  position: relative;
  overflow: hidden;
}

.lazy-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  min-width: 100%;
  min-height: 100%;
}

.lazy-image-preview {
  filter: blur(20px);
  transform: scale(1.1);

  opacity: 1;
  transition: opacity 400ms ease-in !important;
  transition-delay: 100ms;
  will-change: opacity;
}

.lazy-image-wrapper img.lazy-image-real {
  position: relative;
}

.lazy-image-real {
  opacity: 0;
  transition: opacity 400ms ease-out !important;
  will-change: opacity;
}

.lazy-image-real.medium-zoom-image {
  transition:
    transform 0.3s cubic-bezier(0.2, 0, 0.2, 1),
    opacity 400ms ease-out !important;
  will-change: opacity, transform;
}

.medium-zoom-image--opened {
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1;
}

/*
  NOTE: if we hide the preview image, there's a weird bug with react hydration where
  the image will sometimes flicker to show the background during initial page load.
  So I'm removing this `opacity: 0` for now, but it will cause issues if the real
  image is transparent.
 */
.lazy-image-loaded .lazy-image-preview {
  opacity: 0;
}

.lazy-image-loaded .lazy-image-real {
  opacity: 1;
}

.notion-page-cover.lazy-image-wrapper {
  padding: 0 !important;
}

.notion-collection-card-cover .lazy-image-wrapper {
  padding: 0 !important;
  height: 100%;
}

.notion-page-cover .lazy-image-preview,
.notion-page-cover .lazy-image-real {
  will-change: unset !important;
}

.notion-page-cover .lazy-image-loaded .lazy-image-preview {
  opacity: 1;
}

.notion-lite {
  overflow-y: auto;
}

.notion-lite .notion-page {
  width: 100%;
  padding: 0;
  /* padding: calc(max(2vmin, 8px)); */
}

.notion-lite .notion-collection-header,
.notion-lite .notion-table-view,
.notion-lite .notion-board-view {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.notion-lite .notion-board,
.notion-lite .notion-table {
  width: 100% !important;
}

.notion-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 200;

  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  height: var(--notion-header-height);
  min-height: var(--notion-header-height);

  background: var(--bg-color);
}

.notion-header .notion-nav-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
          text-size-adjust: 100%;
  line-height: 1.5;
  line-height: 1.2;
  font-size: 14px;
  gap: 12px;
}

.notion-header .breadcrumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  flex-grow: 0;
  min-width: 0;
}

.notion-header .breadcrumb {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-overflow: ellipsis;

  color: var(--fg-color);
  text-decoration: none;
  margin: 1px 0px;
  padding: 4px 6px;
  border-radius: 3px;
  transition: background 120ms ease-in 0s;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: transparent;
  cursor: pointer;
}

.notion-header .breadcrumb .notion-page-icon-inline {
  font-size: 18px;
  line-height: 1.1;
  margin: 0 6px 0 0;
}

.notion-header .breadcrumb .notion-page-icon-span {
  position: relative;
  top: 1px;
}

.notion-header .searchIcon {
  width: 14px;
  height: 14px;
  color: var(--fg-color);
  fill: var(--fg-color);
}

.notion-search-button {
  gap: 8px;
}

.notion-header .breadcrumb:not(.active):hover {
  background: var(--bg-color-0);
}

.notion-header .breadcrumb:not(.active):active {
  background: var(--bg-color-1);
}

.notion-header .breadcrumb.active {
  cursor: default;
}

.notion-header .spacer {
  margin: 0 2px;
  color: var(--fg-color-2);
}

.notion-header .button {
  padding: 12px;
}

.notion-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.6);

  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1001;
}

.notion-search {
  box-shadow:
    rgba(15, 15, 15, 0.05) 0px 0px 0px 1px,
    rgba(15, 15, 15, 0.1) 0px 5px 10px,
    rgba(15, 15, 15, 0.2) 0px 15px 40px;
  border-radius: 3px;
  background: var(--bg-color);

  position: relative;
  top: 90px;
  max-width: 600px;
  min-height: 50px;
  max-height: 80vh;
  width: 75%;
  overflow: hidden;
  outline: none;

  font-size: 16px;
  line-height: 1.5;
  color: rgb(55, 53, 47);
  caret-color: rgb(55, 53, 47);
  font-family: var(--notion-font);
}

.notion-search input {
  background-color: var(--bg-color);
}

.notion-search .quickFindMenu {
  display: flex;
  flex-direction: column;
  min-width: 100%;
  max-width: calc(100vw - 24px);
  height: 100%;
  max-height: 80vh;
  min-height: 50px;
}

.notion-search .searchBar {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 52px;
  box-shadow: rgba(55, 53, 47, 0.09) 0px 1px 0px;
  font-size: 18px;
  line-height: 27px;
  padding: 16px;
}

.notion-search .searchInput {
  resize: none;
  white-space: nowrap;
  border: none;
  outline: none;
  flex: 1 1;

  line-height: inherit;
  font-size: inherit;
}

.notion-search .inlineIcon {
  margin-right: 10px;
  fill: var(--fg-color-2);
}

.notion-search .clearButton {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 8px;
}

.notion-search .clearIcon {
  width: 14px;
  height: 14px;
  fill: var(--fg-color-2);
}

.notion-search .clearButton:hover .clearIcon {
  fill: var(--fg-color-3);
}

.notion-search .clearButton:active .clearIcon {
  fill: var(--fg-color-6);
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.notion-search .loadingIcon {
  animation: spinner 0.6s linear infinite;
}

.notion-search .noResultsPane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 16px;
}

.notion-search .noResults {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: rgba(55, 53, 47, 0.6);
}

.notion-search .noResultsDetail {
  font-size: 14px;
  margin-top: 2px;
  color: rgba(55, 53, 47, 0.4);
}

.notion-search .resultsFooter {
  box-shadow: rgba(55, 53, 47, 0.09) 0px -1px 0px;
  margin-top: 1px;
  font-size: 12px;
  min-height: 28px;
  color: var(--fg-color-2);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notion-search .resultsCount {
  font-weight: 500;
  color: var(--fg-color-3);
}

.notion-search .resultsPane {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1;
  overflow: auto;
}

.notion-search .resultsPane .result {
  padding: 8px 14px;
  border-bottom: 1px solid rgba(55, 53, 47, 0.06);
  font-size: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--fg-color);
  text-decoration: none;
}

.notion-search .resultsPane .result:hover {
  background: var(--bg-color-2) !important;
}

.notion-search .resultsPane .result:active {
  background: var(--fg-color-1) !important;
}

.notion-search .resultsPane .result {
  min-height: unset;
  height: unset;
}

.notion-search .resultsPane .result .notion-page-title {
  display: flex;
}

.notion-search .resultsPane .result .notion-search-result-highlight {
  font-size: 90%;
  margin: 4px 0 0 30px;
}

.notion-sync-block {
  width: 100%;
}

.notion-collection-group {
  margin-bottom: 1em;
}

.notion-collection-group > summary {
}

.notion-collection-group > summary > div {
  transform: scale(0.85);
  transform-origin: 0% 50%;
  display: inline-flex;
  align-items: center;
}

.notion-simple-table {
  border: 1px solid var(--fg-color-5);
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}

/* simple table header */
/* row header */
.notion-simple-table-header-row td {
  background: var(--bg-color-0);
}

/* column header */
.notion-simple-table-header-cell {
  background: var(--bg-color-0);
}

.notion-simple-table td {
  border: 1px solid var(--fg-color-5);
  padding: 8px 8px;
  white-space: pre-wrap;
}

.notion-external {
  border-radius: 3px;
  transition: background 120ms ease-in 0s;
  text-decoration: none;
}

.notion-external:hover {
  background: var(--bg-color-0);
}

.notion-external-block {
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--fg-color-1);
  padding: 6px 6px;
  display: flex;
}

.notion-external-mention {
  display: inline-flex;
  padding: 0 4px;
  align-items: center;
  position: relative;
  top: 3px;
}

.notion-external-image {
  width: 32px;
  height: 32px;
  margin: 3px 12px 3px 4px;
}

.notion-external-mention .notion-external-image {
  display: inline-flex;
  align-items: center;
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 0.3em;
}

.notion-external-mention .notion-external-image svg {
  width: 100%;
  height: 100%;
}

.notion-external-description {
  display: flex;
  flex-direction: column;
}

.notion-external-mention .notion-external-description {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.notion-external-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-color-4);
}

.notion-external-mention .notion-external-title {
  display: inline;
  font-size: 16px;
  border-bottom: 0.05em solid var(--fg-color-1);
}

.notion-external-subtitle {
  font-size: 12px;
  color: var(--fg-color-3);
}

.notion-external-block-desc {
  color: rgba(55, 53, 47, 0.65);
  font-size: 12px;
  white-space: nowrap;
  padding-top: 4px;
}

.notion-external-mention .notion-external-subtitle {
  display: none;
  position: absolute;
  top: 28px;
  left: 0;
  width: 260px;
  background: var(--bg-color);
  z-index: 999;
  padding: 8px;
  box-shadow:
    rgba(15, 15, 15, 0.1) 0 0 0 1px,
    rgba(15, 15, 15, 0.1) 0 2px 4px;
}

.notion-external-mention .notion-external-subtitle-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  line-height: 1.5;
  padding: 4px 0;
}

.notion-external-mention .notion-external-subtitle-item-name {
  flex: none;
  width: 70px;
  font-weight: 500;
}

.notion-external-mention .notion-external-subtitle-item-desc {
  flex: 1 1;
}

.notion-external-description:hover .notion-external-subtitle {
  display: block;
}

.notion-preview-card-domain-warp {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.notion-preview-card-domain-warp .notion-preview-card-domain {
  padding-left: 4px;
}
.notion-preview-card-domain-warp .notion-preview-card-logo {
  width: 14px;
  height: 14px;
}

.notion-preview-card-title {
  font-size: 16px;
  line-height: 1.5;
  padding: 4px 0;
  font-weight: 500;
  color: var(--fg-color-4);
}

.notion-preview-card-github-shields img {
  margin-right: 4px;
  padding: 4px 0;
}

.notion-yt-lite {
  background-color: #000;
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  contain: content;
  background-position: center center;
  background-size: cover;
  cursor: pointer;
}

.notion-yt-lite::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
  background-position: top;
  background-repeat: repeat-x;
  width: 100%;
  height: 60px;
  padding-bottom: 50px;
  transition: all 0.2s cubic-bezier(0, 0, 0.2, 1);
}

.notion-yt-lite > iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.notion-yt-playbtn {
  width: 68px;
  height: 48px;
  position: absolute;
  cursor: pointer;
  transform: translate3d(-50%, -50%, 0);
  top: 50%;
  left: 50%;
  z-index: 1;
  background-color: transparent;
  /* YT's actual play button svg */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>');
  filter: grayscale(100%);
  transition: filter 0.1s cubic-bezier(0, 0, 0.2, 1);
  border: none;
}
.notion-yt-lite:hover > .notion-yt-playbtn,
.notion-yt-youtube .notion-yt-playbtn:focus {
  filter: none;
}

.notion-yt-initialized {
  cursor: unset;
}
.notion-yt-initialized::before,
.notion-yt-initialized > .notion-yt-playbtn {
  opacity: 0;
  pointer-events: none;
}

.notion-yt-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.notion-collection-view-dropdown-content {
  font-family: var(--notion-font);
  min-width: 220;
  background: #fff;
  border-radius: 6;
  padding: 0;
  box-shadow:
    0px 10px 38px -10px rgba(22, 23, 24, 0.35),
    0px 10px 20px -15px rgba(22, 23, 24, 0.2);
  animation-duration: 400ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

.notion-collection-view-tabs-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 120%;
}

.notion-collection-view-tabs-content-item {
  all: unset;
  position: relative;
  height: 25px;
  padding: 7px 10px 7px 10px;
  line-height: 1;
  display: flex;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  color: rgb(55, 53, 47);
  font-size: 14px;
}

.notion-collection-view-tabs-content-item:hover {
  background-color: var(--fg-color-1);
  border-radius: 3px;
}

.notion-collection-view-tabs-content-item-active {
  border-bottom: solid 2px #000;
  font-weight: bold;
}

@media only screen and (max-width: 730px) {
  .notion-collection-view-tabs-row {
    width: 100%;
  }
}

@keyframes slideDownAndFade {
  0% {
    opacity: 0;
    transform: translateY(-2px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.notion-collection-view-dropdown-content[data-state='open'] {
  animation-name: slideDownAndFade;
}

.nested-form-link {
  background: none !important;
  border: none;
  padding: 0 !important;
  text-decoration: underline;
  cursor: pointer;
}

/* Link Mention Styles */
.notion-link-mention {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.notion-link-mention-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.notion-link-mention-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.375rem;
}

.notion-link-mention-provider {
  font-size: 0.875rem;
  color: var(--fg-color);
}

.notion-link-mention-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-color);
}

/* Preview card (appears on hover) */
.notion-link-mention-preview {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  z-index: 100000;
}

.notion-link-mention:hover .notion-link-mention-preview {
  display: block;
}

.notion-link-mention-card {
  width: 18rem;
  height: 15rem;
  background: var(--bg-color);
  border-radius: 0.75rem;
  border: 1px solid rgba(27, 31, 36, 0.15);
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.notion-link-mention-preview-thumbnail {
  width: 100%;
  height: 55%;
  -o-object-fit: cover;
     object-fit: cover;
}

.notion-link-mention-preview-content {
  display: flex;
  flex-direction: column;
  height: 45%;
  padding: 0.5rem 1rem;
  gap: 0.125rem;
}

.notion-link-mention-preview-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg-color);
  margin: 0;
}

.notion-link-mention-preview-description {
  font-size: 0.875rem;
  color: var(--fg-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.notion-link-mention-preview-footer {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-bottom: 0.5rem;
}

.notion-link-mention-preview-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
}

.notion-link-mention-preview-provider {
  font-size: 0.875rem;
  color: var(--fg-color-2);
}

.notion-collection-load-more {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-color-2);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  cursor: pointer;
  transition: background 120ms ease-in;
  border-radius: var(--notion-corner-radius);
}

.notion-collection-load-more:hover {
  background: var(--bg-color-0);
  color: var(--fg-color);
}

.notion-collection-load-more svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  fill: currentColor;
}

/**
 * Global Styles and Component Customizations
 */

/* === Define CSS Variables === */
:root {
  --scrollbar-size: 5px;
  --scrollbar-radius: 10px;
  --scrollbar-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

/* === Global Reset === */
* {
  box-sizing: border-box;
}

body,
html {
  padding: 0;
  margin: 0;
}

/* === Body and Font Setup === */
body {
  --notion-font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Noto Sans', sans-serif;
  font-family: var(--notion-font);
  overflow-x: hidden;
}

/* === Links === */
a {
  color: inherit;
  text-decoration: none;
}

/* === Static Tweet Customization === */
.static-tweet blockquote {
  margin: 0;
  margin-block: 0;
  margin-inline: 0;
}

.static-tweet .static-tweet-emoji {
  height: 1.2em;
  width: 1.2em;
}

/* === Search Input === */
.searchInput {
  color: var(--fg-color);
  caret-color: var(--fg-color);
}

/* === Scrollbar Customization === */
::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
  background-color: var(--bg-color-1, #f5f5f5);
}

::-webkit-scrollbar-thumb {
  border-radius: var(--scrollbar-radius);
  -webkit-box-shadow: var(--scrollbar-shadow);
  background-color: var(--fg-color-1, #555);
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}

/**
 * This file contains site-specific style overrides for Notion elements from react-notion-x.
 */

/* === Define CSS Variables === */
:root {
  --bg-color: #ffffff; /* Background color for light mode */
  --fg-color: #000000; /* Foreground color for light mode */
  --header-bg: rgba(255, 255, 255, 0.85); /* Header background in light mode */
  --header-bg-dark: rgba(30, 30, 30, 0.85); /* Header background in dark mode */
  --code-bg: #f6f8fa; /* Code block background in light mode */
  --code-border: #e2e8f0; /* Code block border in light mode */
  --quote-bg: #f8fafc; /* Quote background in light mode */
  --link-border: #4a90e2; /* Link border color in light mode */
  --link-border-hover: #e5337e; /* Link border color on hover */
  --transition-duration: 0.3s; /* Duration for theme transition */
  --border-radius-sm: 6px; /* Small border radius for elements like code, quote */
  --border-radius-md: 8px; /* Medium border radius for cards, callouts */
  --border-radius-lg: 12px; /* Large border radius for gallery cards */
  --border-radius-xl: 16px; /* Extra large border radius for page covers */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05); /* Small shadow for header, search */
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1); /* Medium shadow for cards */
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1); /* Large shadow for cards */
  --shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.1); /* Extra large shadow for page covers */
}

/* Dark mode color overrides */
.dark-mode {
  --bg-color: #1a1a1a; /* Background color for dark mode */
  --fg-color: #e0e0e0; /* Foreground color for dark mode (softer white for better contrast) */
  --code-bg: #2d2d2d; /* Code block background in dark mode */
  --code-border: #444444; /* Code block border in dark mode */
  --quote-bg: #2a2a2a; /* Quote background in dark mode */
  --link-border: #66b0ff; /* Link border color in dark mode */
  --link-border-hover: #ff77a9; /* Link border color on hover in dark mode */
}

/* === Global Transitions for Theme Switching === */
html,
body,
.notion,
.notion-header,
.notion-code,
.notion-quote,
.notion-red_background,
.notion-pink_background,
.notion-blue_background,
.notion-purple_background,
.notion-teal_background,
.notion-yellow_background,
.notion-orange_background,
.notion-brown_background,
.notion-gray_background {
  transition: background-color var(--transition-duration) ease,
              color var(--transition-duration) ease,
              border-color var(--transition-duration) ease,
              box-shadow var(--transition-duration) ease;
}

/* Apply colors to body */
body {
  background-color: var(--bg-color);
  color: var(--fg-color);
}

/* === Notion Global Styles === */
.notion {
  --notion-max-width: 900px;
  --notion-header-height: 64px;
  font-size: 16px;
}

.notion-frame {
  padding: 0;
}

.notion-page {
  padding-bottom: calc(max(8vh, 48px));
  line-height: 1.75;
}

/* === Specific Page Overrides === */
.index-page,
.tags-page {
  --notion-max-width: 1100px;
}

.tags-page .notion-collection-header {
  display: none;
}

.tags-page .notion-gallery {
  padding-top: 2.5em;
}

.tags-page .notion-gallery-grid {
  padding-top: 3em;
}

/* === Text and Media Blocks === */
.notion-text {
  padding: 0.75em 4px;
}

.notion-asset-caption {
  text-align: center;
  font-size: 0.9em;
  color: #666; /* Consider adding dark mode color */
}

/* Tăng margin cho asset wrapper và đảm bảo ảnh hiển thị đầy đủ */
.notion-asset-wrapper {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  width: 100% !important; /* Đảm bảo container chiếm toàn bộ chiều rộng */
  max-width: 100% !important; /* Loại bỏ giới hạn chiều rộng */
  overflow: visible !important; /* Đảm bảo ảnh không bị cắt nếu vượt container */
}

/* Đảm bảo ảnh trong nội dung hiển thị đầy đủ kích thước tự nhiên */
.notion-asset-wrapper img {
  width: auto !important; /* Cho phép ảnh giữ kích thước tự nhiên */
  max-width: 100% !important; /* Không vượt quá container cha */
  height: auto !important; /* Giữ tỷ lệ ảnh */
  -o-object-fit: contain !important;
     object-fit: contain !important; /* Đảm bảo ảnh hiển thị đầy đủ, không bị cắt */
  display: block !important; /* Loại bỏ khoảng trống bên dưới ảnh */
  margin: 0 auto !important; /* Căn giữa ảnh */
}

/* Đảm bảo container cha không giới hạn ảnh */
.notion-block,
.notion-row {
  max-width: 100% !important; /* Loại bỏ giới hạn từ container cha */
  overflow: visible !important; /* Đảm bảo ảnh không bị cắt */
}

/* Đảm bảo video full width */
.notion-asset-wrapper-video > div,
.notion-asset-wrapper-video video {
  width: 100% !important;
}

/* === Header Navigation === */
.notion-header .notion-nav-header {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.notion-nav-header-rhs {
  gap: 1rem;
}

/* === Gallery Grid === */
.notion-gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.notion-gallery-grid .notion-page-icon-inline {
  display: none;
}

.notion-gallery-grid .notion-page-title-text {
  font-size: 1.5em;
  white-space: unset;
}

.notion-gallery-grid .notion-collection-card-property {
  white-space: unset;
  text-overflow: unset;
}

.notion-gallery-grid .notion-property-text {
  font-size: 14px;
}

/* === Collection Card === */
.notion-collection-card {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease, background-color var(--transition-duration) ease;
}

.notion-collection-card:hover {
  transform: translateY(-4px);
}

.notion-collection-card-cover img {
  border-radius: var(--border-radius-lg);
}

.notion-collection-card-cover {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: filter 0.2s ease;
}

.notion-collection-card:hover .notion-collection-card-cover {
  filter: brightness(110%);
}

.notion-collection-card-body {
  padding: 12px;
}

/* Safari workaround for transitions */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  _::-webkit-full-page-media,
  _:future,
  :root,
  .notion-collection-card-cover {
    -webkit-transition: none;
    transition: none;
  }
}

/* === Quote === */
.notion-quote {
  padding: 0.5em 1em;
  line-height: 1.6;
  font-style: italic;
  font-size: 1.25em;
  border-left: 4px solid #4a90e2;
  background: var(--quote-bg);
  border-radius: var(--border-radius-sm);
}

/* === Headings === */
.notion-h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

.notion-h2 {
  font-size: 1.5em;
  margin-bottom: 0.4em;
}

.notion-h3 {
  font-size: 1.25em;
  margin-bottom: 0.3em;
}

/* === Callout and HR === */
.notion-callout {
  margin: 1em 0;
  padding: 1em;
  border-radius: var(--border-radius-md);
}

.notion-hr {
  margin: 2.5em 0;
}

/* === Responsive Padding === */
@media only screen and (max-width: 920px) {
  .index-page.notion-page {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media only screen and (max-width: 720px) {
  .notion-page {
    padding-left: 4vw;
    padding-right: 4vw;
  }
}

@media only screen and (max-width: 600px) {
  .notion-search-button {
    display: none;
  }
}

/* === Page Icon and Title === */
.notion .notion-page-icon-cover {
  margin-left: auto;
  margin-right: auto;
}

.notion-title {
  display: block;
  text-align: center;
  font-size: 2.25em;
  margin-bottom: 0.5em;
}

/* === Collection Row === */
.notion-collection-row {
  padding-bottom: 1.5em;
}

.notion-collection-page-properties .notion-collection-column-title {
  display: none;
}

.notion-collection-row-property .notion-property {
  display: flex;
  justify-content: center;
}

.notion-collection-row-value {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: 28px;
}

/* === Page Cover === */
.notion .notion-page-cover-wrapper,
.notion-page-cover-wrapper span,
.notion-page-cover-wrapper img {
  max-width: 1400px;
  border-radius: var(--border-radius-xl);
}

.notion-page-cover-wrapper {
  box-shadow: var(--shadow-xl);
}

.notion-page-cover-hero {
  cursor: grab;
}

.notion-page-cover-hero:active {
  cursor: grabbing;
}

@media only screen and (max-width: 1200px) {
  .notion .notion-page-cover-wrapper,
  .notion-page-cover-wrapper span,
  .notion-page-cover-wrapper img {
    border-radius: 0;
  }
}

/* === Code Block === */
.notion-code {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--border-radius-sm);
  padding: 1em;
  font-size: 0.95em;
}

/* === Links === */
.notion-link {
  position: relative;
  border-bottom: 1px solid var(--link-border);
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.notion-link:hover,
.notion-link:focus {
  color: var(--link-border);
  border-bottom-color: var(--link-border-hover);
  background: none;
}

/* Add focus styles for accessibility */
.notion-link:focus {
  outline: 2px solid var(--link-border);
  outline-offset: 2px;
}

/* === Background Colors for Notion Blocks === */
.notion-red_background,
.notion-pink_background,
.notion-blue_background,
.notion-purple_background,
.notion-teal_background,
.notion-yellow_background,
.notion-orange_background,
.notion-brown_background,
.notion-gray_background {
  padding: 0.25em 0.75em;
  margin: 0 -0.75em;
  border-radius: var(--border-radius-sm);
  background-image: none;
  background-color: #f0f4f8;
}

.notion-yellow_background {
  background-color: #fff9e6;
}

.notion-pink_background {
  background-color: #fce8f0;
}

.notion-blue_background {
  background-color: #e6f3ff;
}

.notion-teal_background {
  background-color: #e6fff5;
}

.dark-mode .notion-red_background,
.dark-mode .notion-pink_background,
.dark-mode .notion-blue_background,
.dark-mode .notion-purple_background,
.dark-mode .notion-teal_background,
.dark-mode .notion-yellow_background,
.dark-mode .notion-orange_background,
.dark-mode .notion-brown_background,
.dark-mode .notion-gray_background {
  background: rgba(255, 255, 255, 0.1);
}

/* === Header === */
.notion-header {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.dark-mode .notion-header {
  background: var(--header-bg-dark);
}

/* Workaround for Firefox */
@-moz-document url-prefix() {
  .dark-mode .notion-header {
    background: rgba(30, 30, 30, 0.9);
  }
}

/* === Bookmark === */
.notion-bookmark:hover {
  border: 1px solid #4a90e2;
}

/* Add focus styles for accessibility */
.notion-bookmark:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

/* === Search === */
.notion-search .searchBar {
  box-shadow: var(--shadow-sm);
}

.notion-search .noResults {
  color: #888;
}

.dark-mode .notion-search .noResults {
  color: #bbb;
}

.notion-search .noResultsDetail {
  color: #666;
}

.dark-mode .notion-search .noResultsDetail {
  color: #999;
}

/**
 * Prism Theme Adjustments for Notion Code Blocks and Inline Code
 */

/* === Define CSS Variables for Colors === */
:root {
  --code-bg-light: rgba(249, 250, 251, 1); /* Màu nền khối mã trong light mode */
  --code-bg-dark: rgba(17, 24, 39, 1); /* Màu nền khối mã trong dark mode */
  --code-border-light: rgba(229, 231, 235, 1); /* Màu viền khối mã trong light mode */
  --code-border-dark: rgba(55, 65, 81, 1); /* Màu viền khối mã trong dark mode */
  --text-light: rgba(31, 41, 55, 1); /* Màu chữ chính trong light mode */
  --text-dark: rgba(229, 231, 235, 1); /* Màu chữ chính trong dark mode */
  --inline-code-bg-light: rgba(127, 122, 107, 0.1); /* Nền inline code trong light mode */
  --inline-code-bg-dark: rgb(71, 76, 80); /* Nền inline code trong dark mode */
  --inline-code-text: #e91e63; /* Màu chữ inline code (hồng nhẹ nhàng hơn) */
  --comment: #5b9b4c; /* Màu cho comment */
  --string: #8e44ad; /* Màu cho string, attr-name */
  --keyword: #1e90ff; /* Màu cho keyword, atrule */
  --function: #d81b60; /* Màu cho function, class-name */
  --number: #2ecc71; /* Màu cho number, constant */
  --operator: #f39c12; /* Màu cho operator, url, variable */
}

/* === Code Blocks Styling === */
.notion .notion-code {
  background-color: var(--code-bg-light);
  border: 1px solid var(--code-border-light);
  border-radius: 0.375rem;
  padding: 1.5em;
  margin: 1em 0;
  overflow-x: auto; /* Cho phép cuộn ngang nếu mã dài */
}

.dark-mode .notion .notion-code {
  background-color: var(--code-bg-dark);
  border-color: var(--code-border-dark);
}

/* Ẩn thanh cuộn trong code blocks */
.notion .notion-code::-webkit-scrollbar {
  display: none;
}

.notion .notion-code {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Loại bỏ các pseudo-elements không cần thiết */
.notion .notion-code[class*="language-"]::before,
.notion .notion-code[class*="language-"]::after {
  display: none;
}

/* Loại bỏ viền và bóng mặc định bên trong code blocks */
.notion .notion-code[class*="language-"] > code {
  border-left: none;
  box-shadow: none;
  background: none;
}

/* === Inline Code Styling === */
.notion code {
  color: var(--text-light);
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
}

.dark-mode .notion code {
  color: var(--text-dark);
}

.notion .notion-inline-code {
  color: var(--inline-code-text);
  background: var(--inline-code-bg-light);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
}

.dark-mode .notion .notion-inline-code {
  background: var(--inline-code-bg-dark);
}

/* === Prism Syntax Highlighting === */
.notion code[class*="language-"],
.notion pre[class*="language-"] {
  color: var(--text-light);
}

.dark-mode .notion code[class*="language-"],
.dark-mode .notion pre[class*="language-"] {
  color: var(--text-dark);
}

/* Màu sắc cho các token cú pháp */
.token.cdata,
.token.doctype,
.token.prolog,
.token.punctuation {
  color: var(--text-light);
}

.dark-mode .token.cdata,
.dark-mode .token.doctype,
.dark-mode .token.prolog,
.dark-mode .token.punctuation {
  color: var(--text-dark);
}

.token.comment {
  color: var(--comment);
}

.token.boolean,
.token.constant,
.token.deleted,
.token.number,
.token.property,
.token.symbol,
.token.tag {
  color: var(--number);
}

.token.attr-name,
.token.builtin,
.token.char,
.token.inserted,
.token.selector,
.token.string {
  color: var(--string);
}

.language-css .token.string,
.style .token.string,
.token.entity,
.token.operator,
.token.url {
  color: var(--operator);
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: var(--keyword);
}

.token.class-name,
.token.function {
  color: var(--function);
}

.token.important,
.token.regex,
.token.variable {
  color: var(--operator);
}

/* Loại bỏ nền mặc định cho một số token */
.token.operator,
.token.entity,
.token.url,
.token.variable {
  background: none;
}

