nextgen-block-editor 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3242 @@
1
+ @font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,math,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.19.1"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.katex-newline{display:block}.katex .katex-base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .katex-base,.katex .katex-strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;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 .katex-vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .katex-thinbox{display:inline-flex;flex-direction:row;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 .katex-hdashline,.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-rule,.katex .katex-underline .underline-line,.katex .mfrac .frac-line{min-height:1px}.katex .mspace{display:inline-block}.katex .katex-smash{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.katex-inner,.katex .llap>.katex-inner,.katex .rlap>.katex-inner{position:absolute}.katex .clap>.katex-fix,.katex .llap>.katex-fix,.katex .rlap>.katex-fix{display:inline-block}.katex .llap>.katex-inner{right:0}.katex .clap>.katex-inner,.katex .rlap>.katex-inner{left:0}.katex .clap>.katex-inner>span{margin-left:-50%;margin-right:50%}.katex .katex-rule{border:0 solid;display:inline-block;position:relative}.katex .katex-hline,.katex .katex-overline .overline-line,.katex .katex-underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .katex-hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.katex-root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .katex-sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .katex-sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .katex-sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .katex-sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .katex-sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .katex-sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .katex-sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .katex-sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .katex-sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .katex-sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .katex-sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .katex-sizing.reset-size2.size1{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .katex-sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .katex-sizing.reset-size2.size3{font-size:1.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .katex-sizing.reset-size2.size4{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .katex-sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .katex-sizing.reset-size2.size6{font-size:1.6666666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .katex-sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .katex-sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .katex-sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .katex-sizing.reset-size2.size10{font-size:3.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .katex-sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .katex-sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .katex-sizing.reset-size3.size2{font-size:.8571428571em}.katex .fontsize-ensurer.reset-size3.size3,.katex .katex-sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .katex-sizing.reset-size3.size4{font-size:1.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .katex-sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .katex-sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .katex-sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .katex-sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .katex-sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .katex-sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .katex-sizing.reset-size3.size11{font-size:3.5542857143em}.katex .fontsize-ensurer.reset-size4.size1,.katex .katex-sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .katex-sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .katex-sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .katex-sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .katex-sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .katex-sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .katex-sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .katex-sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .katex-sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .katex-sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .katex-sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .katex-sizing.reset-size5.size1{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .katex-sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .katex-sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .katex-sizing.reset-size5.size4{font-size:.8888888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .katex-sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .katex-sizing.reset-size5.size6{font-size:1.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .katex-sizing.reset-size5.size7{font-size:1.3333333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .katex-sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .katex-sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .katex-sizing.reset-size5.size10{font-size:2.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .katex-sizing.reset-size5.size11{font-size:2.7644444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .katex-sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .katex-sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .katex-sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .katex-sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .katex-sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .katex-sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .katex-sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .katex-sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .katex-sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .katex-sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .katex-sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .katex-sizing.reset-size7.size1{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .katex-sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .katex-sizing.reset-size7.size3{font-size:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .katex-sizing.reset-size7.size4{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .katex-sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .katex-sizing.reset-size7.size6{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .katex-sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .katex-sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .katex-sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .katex-sizing.reset-size7.size10{font-size:1.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .katex-sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .katex-sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .katex-sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .katex-sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .katex-sizing.reset-size8.size4{font-size:.5555555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .katex-sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .katex-sizing.reset-size8.size6{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .katex-sizing.reset-size8.size7{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .katex-sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .katex-sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .katex-sizing.reset-size8.size10{font-size:1.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .katex-sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .katex-sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .katex-sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .katex-sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .katex-sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .katex-sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .katex-sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .katex-sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .katex-sizing.reset-size9.size8{font-size:.8333333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .katex-sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .katex-sizing.reset-size9.size10{font-size:1.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .katex-sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .katex-sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .katex-sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .katex-sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .katex-sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .katex-sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .katex-sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .katex-sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .katex-sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .katex-sizing.reset-size10.size9{font-size:.8331726133em}.katex .fontsize-ensurer.reset-size10.size10,.katex .katex-sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .katex-sizing.reset-size10.size11{font-size:1.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .katex-sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .katex-sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .katex-sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .katex-sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .katex-sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .katex-sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .katex-sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .katex-sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .katex-sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .katex-sizing.reset-size11.size10{font-size:.8336012862em}.katex .fontsize-ensurer.reset-size11.size11,.katex .katex-sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{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 .katex-accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .katex-accent .accent-body{position:relative}.katex .katex-accent .accent-body:not(.accent-full){width:0}.katex .katex-overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .katex-stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .katex-stretchy:after,.katex .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 .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 .reflectbox{display:inline-block;transform:scaleX(-1)}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{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>.katex-tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.katex-tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}
2
+
3
+
4
+ .editor-page {
5
+ min-height: 100vh;
6
+ background: var(--tint);
7
+ color: var(--ink);
8
+ font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
9
+ font-size: 14px;
10
+ line-height: 1.6;
11
+ }
12
+ .editor-topbar {
13
+ height: 64px;
14
+ position: sticky;
15
+ top: 0;
16
+ z-index: 20;
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: space-between;
20
+ gap: 16px;
21
+ padding: 10px 24px;
22
+ border-bottom: 1px solid var(--line);
23
+ background: color-mix(in srgb, var(--bg) 90%, transparent);
24
+ backdrop-filter: blur(16px);
25
+ }
26
+ .editor-topbar-left {
27
+ display: flex;
28
+ align-items: center;
29
+ gap: 10px;
30
+ min-width: 0;
31
+ }
32
+ .editor-topbar-sep {
33
+ color: var(--line);
34
+ }
35
+ .editor-slug-pill {
36
+ font-size: 12px;
37
+ color: var(--mute);
38
+ background: var(--surface);
39
+ border: 1px solid var(--line);
40
+ border-radius: 999px;
41
+ padding: 3px 10px;
42
+ max-width: 260px;
43
+ overflow: hidden;
44
+ text-overflow: ellipsis;
45
+ white-space: nowrap;
46
+ }
47
+ .editor-back {
48
+ color: var(--soft);
49
+ text-decoration: none;
50
+ font-size: 13px;
51
+ white-space: nowrap;
52
+ }
53
+ .editor-back:hover {
54
+ color: var(--accent);
55
+ }
56
+ .editor-actions {
57
+ display: flex;
58
+ align-items: center;
59
+ gap: 8px;
60
+ }
61
+ .editor-icon-btn {
62
+ display: inline-flex;
63
+ align-items: center;
64
+ justify-content: center;
65
+ width: 36px;
66
+ height: 36px;
67
+ padding: 0;
68
+ text-decoration: none;
69
+ }
70
+ .editor-status-pill {
71
+ display: inline-flex;
72
+ align-items: center;
73
+ gap: 6px;
74
+ padding: 4px 10px;
75
+ border-radius: 999px;
76
+ border: 1px solid var(--line);
77
+ background: var(--surface);
78
+ color: var(--mute);
79
+ font-size: 12px;
80
+ margin-right: 4px;
81
+ }
82
+ .editor-status-dot {
83
+ width: 7px;
84
+ height: 7px;
85
+ border-radius: 50%;
86
+ background: #22c55e;
87
+ }
88
+ .editor-status-pill.dirty .editor-status-dot {
89
+ background: #eab308;
90
+ }
91
+ .editor-status-pill.error .editor-status-dot {
92
+ background: #ef4444;
93
+ }
94
+ .editor-shell {
95
+ min-height: calc(100vh - 72px);
96
+ display: grid;
97
+ grid-template-columns: 260px minmax(0, 920px);
98
+ justify-content: center;
99
+ gap: 24px;
100
+ padding: 36px 24px 80px;
101
+ }
102
+ .editor-shell.details-collapsed {
103
+ grid-template-columns: 44px minmax(0, 1040px);
104
+ }
105
+ .editor-meta {
106
+ align-self: start;
107
+ position: sticky;
108
+ top: 88px;
109
+ display: flex;
110
+ flex-direction: column;
111
+ gap: 14px;
112
+ padding: 18px;
113
+ border: 1px solid var(--line);
114
+ border-radius: 14px;
115
+ background: var(--surface);
116
+ }
117
+ .editor-meta.collapsed {
118
+ padding: 6px;
119
+ border-color: transparent;
120
+ background: transparent;
121
+ }
122
+ .editor-meta-head {
123
+ display: flex;
124
+ align-items: center;
125
+ justify-content: space-between;
126
+ min-height: 32px;
127
+ }
128
+ .editor-collapse-button {
129
+ width: 32px;
130
+ height: 32px;
131
+ border: 1px solid var(--line);
132
+ border-radius: 50%;
133
+ background: var(--surface);
134
+ color: var(--ink);
135
+ font-size: 20px;
136
+ line-height: 1;
137
+ cursor: pointer;
138
+ }
139
+ .editor-meta-fields {
140
+ display: flex;
141
+ flex-direction: column;
142
+ gap: 16px;
143
+ }
144
+ .editor-meta.collapsed .editor-meta-fields {
145
+ display: none;
146
+ }
147
+ .editor-meta.collapsed .editor-meta-head strong {
148
+ display: none;
149
+ }
150
+ .editor-meta.collapsed .editor-collapse-button {
151
+ transform: rotate(180deg);
152
+ }
153
+ .editor-meta label {
154
+ display: flex;
155
+ flex-direction: column;
156
+ gap: 6px;
157
+ color: var(--mute);
158
+ font-size: 12px;
159
+ }
160
+ .editor-meta input,
161
+ .editor-meta textarea {
162
+ width: 100%;
163
+ border: 1px solid var(--line);
164
+ border-radius: 8px;
165
+ background: var(--surface);
166
+ color: var(--ink);
167
+ font: inherit;
168
+ padding: 10px 12px;
169
+ }
170
+ .preview-meta-button {
171
+ width: 100%;
172
+ margin-top: 2px;
173
+ text-align: center;
174
+ }
175
+ .editor-preview-modal {
176
+ position: fixed;
177
+ inset: 0;
178
+ z-index: 1000;
179
+ display: flex;
180
+ flex-direction: column;
181
+ background: var(--bg);
182
+ }
183
+ .editor-preview-modal[hidden] {
184
+ display: none;
185
+ }
186
+ .editor-preview-bar {
187
+ height: 64px;
188
+ flex: none;
189
+ display: flex;
190
+ align-items: center;
191
+ justify-content: space-between;
192
+ padding: 12px 20px;
193
+ border-bottom: 1px solid var(--line);
194
+ background: var(--surface);
195
+ }
196
+ .editor-preview-scroll {
197
+ flex: 1;
198
+ overflow: auto;
199
+ padding: 48px 24px;
200
+ background: var(--tint);
201
+ }
202
+ .editor-preview-document {
203
+ max-width: 980px;
204
+ min-height: calc(100vh - 160px);
205
+ margin: 0 auto;
206
+ border: 1px solid var(--line);
207
+ border-radius: 14px;
208
+ background: var(--surface);
209
+ color: var(--ink);
210
+ padding: 42px clamp(28px, 7vw, 72px) 72px;
211
+ box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
212
+ line-height: 1.7;
213
+ }
214
+ .editor-preview-document h1 {
215
+ margin: 0 0 24px;
216
+ font-size: clamp(32px, 5vw, 52px);
217
+ line-height: 1.05;
218
+ letter-spacing: -0.04em;
219
+ }
220
+ .editor-preview-document h2 {
221
+ margin-top: 32px;
222
+ }
223
+ .editor-preview-document h3 {
224
+ margin-top: 28px;
225
+ }
226
+ .editor-preview-document table {
227
+ width: 100%;
228
+ border-collapse: collapse;
229
+ margin: 20px 0;
230
+ }
231
+ .editor-preview-document table td,
232
+ .editor-preview-document table th {
233
+ border: 1px solid var(--line);
234
+ padding: 10px 12px;
235
+ text-align: left;
236
+ }
237
+ .editor-preview-document img {
238
+ max-width: 100%;
239
+ border-radius: 10px;
240
+ }
241
+ .editor-preview-document .gallery,
242
+ .editor-preview-document .carousel {
243
+ display: grid;
244
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
245
+ gap: 12px;
246
+ width: 100%;
247
+ margin: 24px 0;
248
+ }
249
+ .editor-preview-document .gallery img,
250
+ .editor-preview-document .carousel img {
251
+ width: 100%;
252
+ height: 220px;
253
+ object-fit: cover;
254
+ }
255
+ .editor-canvas {
256
+ min-width: 0;
257
+ }
258
+ .editor-document {
259
+ min-height: calc(100vh - 150px);
260
+ border: 1px solid var(--line);
261
+ border-radius: 14px;
262
+ background: var(--surface);
263
+ padding: 42px clamp(28px, 7vw, 72px) 72px;
264
+ box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
265
+ }
266
+ .editor-canvas-meta {
267
+ display: flex;
268
+ flex-wrap: wrap;
269
+ align-items: center;
270
+ gap: 8px;
271
+ font-size: 12.5px;
272
+ color: var(--mute);
273
+ margin-bottom: 12px;
274
+ }
275
+ .editor-tag-chip {
276
+ padding: 2px 9px;
277
+ border-radius: 999px;
278
+ background: var(--tint);
279
+ border: 1px solid var(--line);
280
+ color: var(--soft);
281
+ font-size: 11.5px;
282
+ }
283
+ .editor-title-input {
284
+ width: 100%;
285
+ border: 0;
286
+ outline: 0;
287
+ background: transparent;
288
+ color: var(--ink);
289
+ font-family: inherit;
290
+ font-size: clamp(28px, 4.5vw, 44px);
291
+ font-weight: 700;
292
+ line-height: 1.1;
293
+ letter-spacing: -0.03em;
294
+ margin: 0 0 24px;
295
+ padding: 0;
296
+ }
297
+ .editor-title-input::placeholder {
298
+ color: var(--mute);
299
+ opacity: 0.55;
300
+ }
301
+ #editorjs {
302
+ min-height: 360px;
303
+ font-size: 17px;
304
+ line-height: 1.7;
305
+ }
306
+ #editorjs mark {
307
+ background: #ffe56b;
308
+ color: #111;
309
+ border-radius: 2px;
310
+ }
311
+ #editorjs u {
312
+ text-decoration-thickness: 2px;
313
+ text-underline-offset: 2px;
314
+ }
315
+ #editorjs s {
316
+ text-decoration-thickness: 2px;
317
+ }
318
+ .codex-editor table,
319
+ .article table {
320
+ width: 100%;
321
+ border-collapse: collapse;
322
+ margin: 20px 0;
323
+ }
324
+ .codex-editor table td,
325
+ .codex-editor table th,
326
+ .article table td,
327
+ .article table th {
328
+ border: 1px solid var(--line);
329
+ padding: 10px 12px;
330
+ text-align: left;
331
+ }
332
+ .editor-link-preview {
333
+ display: flex;
334
+ align-items: center;
335
+ justify-content: space-between;
336
+ gap: 16px;
337
+ margin: 20px 0;
338
+ border: 1px solid color-mix(in srgb, var(--link-tint, var(--accent)) 24%, var(--line));
339
+ border-radius: 12px;
340
+ padding: 16px 18px;
341
+ background: color-mix(in srgb, var(--link-tint, var(--accent)) 8%, var(--surface));
342
+ text-decoration: none;
343
+ color: var(--ink);
344
+ transition:
345
+ border-color 0.15s,
346
+ background 0.15s,
347
+ transform 0.15s;
348
+ }
349
+ .editor-link-preview:hover {
350
+ border-color: var(--link-tint, var(--accent));
351
+ background: color-mix(in srgb, var(--link-tint, var(--accent)) 14%, var(--surface));
352
+ transform: translateY(-1px);
353
+ }
354
+ .editor-link-preview-body {
355
+ display: grid;
356
+ gap: 4px;
357
+ min-width: 0;
358
+ flex: 1;
359
+ }
360
+ .editor-link-preview-body strong {
361
+ font-size: 15px;
362
+ line-height: 1.3;
363
+ color: var(--ink);
364
+ }
365
+ .editor-link-preview-body span {
366
+ color: var(--soft);
367
+ font-size: 13px;
368
+ line-height: 1.45;
369
+ display: -webkit-box;
370
+ -webkit-line-clamp: 2;
371
+ -webkit-box-orient: vertical;
372
+ overflow: hidden;
373
+ }
374
+ .editor-link-preview-body small {
375
+ color: var(--mute);
376
+ font-size: 11.5px;
377
+ margin-top: 2px;
378
+ }
379
+ .editor-link-preview-img {
380
+ width: 96px;
381
+ height: 72px;
382
+ object-fit: cover;
383
+ border-radius: 8px;
384
+ flex-shrink: 0;
385
+ }
386
+ /* @editorjs/link theme integration */
387
+ .link-tool__content {
388
+ background: color-mix(in srgb, var(--accent) 6%, var(--surface)) !important;
389
+ border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)) !important;
390
+ border-radius: 12px !important;
391
+ box-shadow: none !important;
392
+ color: var(--ink) !important;
393
+ transition:
394
+ border-color 0.15s,
395
+ background 0.15s !important;
396
+ }
397
+ .link-tool__content:hover {
398
+ border-color: var(--accent) !important;
399
+ background: color-mix(in srgb, var(--accent) 11%, var(--surface)) !important;
400
+ }
401
+ .link-tool__input {
402
+ background: var(--bg) !important;
403
+ color: var(--ink) !important;
404
+ border: 1px solid var(--line) !important;
405
+ border-radius: 8px !important;
406
+ padding: 10px 12px !important;
407
+ }
408
+ .link-tool__title {
409
+ color: var(--ink) !important;
410
+ }
411
+ .link-tool__description {
412
+ color: var(--soft) !important;
413
+ }
414
+ .link-tool__anchor {
415
+ color: var(--mute) !important;
416
+ }
417
+ .ce-block__content,
418
+ .ce-toolbar__content {
419
+ max-width: none;
420
+ }
421
+ .ce-block--selected .ce-block__content {
422
+ background: color-mix(in srgb, var(--accent) 18%, transparent) !important;
423
+ color: var(--ink) !important;
424
+ border-radius: 6px;
425
+ }
426
+ .ce-block--selected .ce-block__content *::selection,
427
+ #editorjs ::selection {
428
+ background: var(--accent) !important;
429
+ color: var(--accent-ink) !important;
430
+ }
431
+ .ce-toolbar__plus,
432
+ .ce-toolbar__settings-btn {
433
+ color: var(--ink);
434
+ background: var(--surface);
435
+ border: 1px solid var(--line);
436
+ }
437
+ .cdx-settings-rail {
438
+ background: var(--surface);
439
+ }
440
+ .ce-popover,
441
+ .ce-conversion-toolbar,
442
+ .ce-inline-toolbar {
443
+ border: 1px solid var(--line);
444
+ background: var(--surface);
445
+ color: var(--ink);
446
+ z-index: 100;
447
+ min-width: 240px;
448
+ box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
449
+ --color-text-primary: var(--ink);
450
+ --color-text-secondary: var(--soft);
451
+ --color-border-icon: var(--line);
452
+ --color-background-icon: var(--surface);
453
+ --color-background-item-hover: var(--tint);
454
+ --color-background-icon-hover: var(--tint);
455
+ }
456
+ .ce-popover__container,
457
+ .ce-popover__search,
458
+ .ce-popover__items,
459
+ .ce-popover__item,
460
+ .ce-popover__item-label,
461
+ .ce-popover__item-title,
462
+ .ce-popover__item-html,
463
+ .ce-popover__item-description,
464
+ .ce-conversion-tool,
465
+ .ce-conversion-tool__icon,
466
+ .ce-inline-tool {
467
+ color: var(--ink) !important;
468
+ opacity: 1 !important;
469
+ }
470
+ .ce-popover__container {
471
+ background: var(--surface) !important;
472
+ }
473
+ .ce-popover__search {
474
+ background: var(--bg) !important;
475
+ border-bottom: 1px solid var(--line);
476
+ }
477
+ .ce-popover__search-input,
478
+ .ce-popover__search-input::placeholder {
479
+ color: var(--ink) !important;
480
+ opacity: 1 !important;
481
+ -webkit-text-fill-color: var(--ink);
482
+ }
483
+ .ce-popover__item {
484
+ background: transparent;
485
+ }
486
+ .ce-popover__item:hover,
487
+ .ce-popover__item--focused,
488
+ .ce-popover__item--active,
489
+ .ce-conversion-tool:hover,
490
+ .ce-inline-tool--active {
491
+ background: var(--tint) !important;
492
+ color: var(--accent) !important;
493
+ }
494
+ .ce-popover__item-icon,
495
+ .ce-conversion-tool__icon {
496
+ color: var(--ink) !important;
497
+ background: var(--tint) !important;
498
+ border: 1px solid var(--line) !important;
499
+ opacity: 1 !important;
500
+ }
501
+ .ce-popover__nothing-found {
502
+ color: var(--mute) !important;
503
+ opacity: 1 !important;
504
+ }
505
+ .ce-popover-item,
506
+ .ce-conversion-tool {
507
+ color: var(--ink);
508
+ }
509
+ .custom-media-fields,
510
+ .custom-layout-fields,
511
+ .custom-collapsible-fields {
512
+ display: grid;
513
+ gap: 10px;
514
+ padding: 12px;
515
+ border: 1px solid var(--line);
516
+ border-radius: 8px;
517
+ background: var(--surface);
518
+ }
519
+ .custom-media-fields input,
520
+ .custom-layout-fields input,
521
+ .custom-layout-fields textarea,
522
+ .custom-collapsible-fields input,
523
+ .custom-collapsible-fields textarea {
524
+ width: 100%;
525
+ border: 1px solid var(--line);
526
+ border-radius: 6px;
527
+ background: var(--bg);
528
+ color: var(--ink);
529
+ padding: 9px 10px;
530
+ font: inherit;
531
+ }
532
+ .custom-layout-fields {
533
+ grid-template-columns: 1fr 1fr;
534
+ gap: 14px;
535
+ align-items: start;
536
+ }
537
+ .custom-layout-col {
538
+ min-width: 0;
539
+ border: 1px solid var(--line);
540
+ border-radius: 8px;
541
+ background: var(--bg);
542
+ padding: 10px 12px;
543
+ }
544
+ .custom-layout-col-label {
545
+ font-size: 11px;
546
+ text-transform: uppercase;
547
+ letter-spacing: 0.08em;
548
+ color: var(--mute);
549
+ margin-bottom: 6px;
550
+ }
551
+ .custom-layout-editor .codex-editor__redactor {
552
+ padding-bottom: 24px !important;
553
+ }
554
+ .editor-layout {
555
+ display: grid;
556
+ grid-template-columns: 1fr 1fr;
557
+ gap: 20px;
558
+ margin: 20px 0;
559
+ }
560
+ .editor-layout > div {
561
+ min-width: 0;
562
+ padding: 16px;
563
+ border: 1px solid var(--line);
564
+ border-radius: 10px;
565
+ background: var(--bg);
566
+ }
567
+ @media (max-width: 720px) {
568
+ .editor-layout {
569
+ grid-template-columns: 1fr;
570
+ }
571
+ }
572
+ .drawing-tool canvas {
573
+ width: 100%;
574
+ max-height: 320px;
575
+ border: 1px solid var(--line);
576
+ border-radius: 8px;
577
+ background: #fff;
578
+ cursor: crosshair;
579
+ touch-action: none;
580
+ }
581
+ .custom-media-preview,
582
+ .custom-carousel-preview {
583
+ display: grid;
584
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
585
+ gap: 8px;
586
+ }
587
+ .custom-media-preview img,
588
+ .custom-carousel-preview img {
589
+ width: 100%;
590
+ aspect-ratio: 4 / 3;
591
+ object-fit: cover;
592
+ border-radius: 8px;
593
+ }
594
+ .custom-embed-preview iframe,
595
+ .editor-preview-document iframe {
596
+ width: 100%;
597
+ aspect-ratio: 16 / 9;
598
+ border: 1px solid var(--line);
599
+ border-radius: 10px;
600
+ background: var(--bg);
601
+ display: block;
602
+ }
603
+ .gif-search-row {
604
+ display: flex;
605
+ gap: 8px;
606
+ }
607
+ .gif-search-row input {
608
+ flex: 1;
609
+ min-width: 0;
610
+ }
611
+ .gif-picker-grid {
612
+ display: grid;
613
+ grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
614
+ gap: 8px;
615
+ max-height: 220px;
616
+ overflow-y: auto;
617
+ }
618
+ .gif-picker-item {
619
+ border: 1px solid var(--line);
620
+ border-radius: 8px;
621
+ padding: 0;
622
+ overflow: hidden;
623
+ background: var(--bg);
624
+ cursor: pointer;
625
+ aspect-ratio: 4 / 3;
626
+ transition:
627
+ border-color 0.15s,
628
+ transform 0.15s;
629
+ }
630
+ .gif-picker-item:hover {
631
+ border-color: var(--accent);
632
+ transform: scale(1.02);
633
+ }
634
+ .gif-picker-item img {
635
+ width: 100%;
636
+ height: 100%;
637
+ object-fit: cover;
638
+ display: block;
639
+ }
640
+ .gif-picker-status {
641
+ grid-column: 1 / -1;
642
+ font-size: 12px;
643
+ color: var(--mute);
644
+ padding: 6px 0;
645
+ }
646
+ .editor-hr-block {
647
+ padding: 12px 0;
648
+ }
649
+ .editor-hr,
650
+ .editor-preview-document .editor-hr {
651
+ border: 0;
652
+ border-top: 1px solid var(--line);
653
+ margin: 20px 0;
654
+ }
655
+ .toggle-heading-block {
656
+ border-left: 2px solid var(--line);
657
+ padding-left: 12px;
658
+ margin: 8px 0;
659
+ }
660
+ .toggle-heading-head {
661
+ display: flex;
662
+ align-items: center;
663
+ gap: 8px;
664
+ }
665
+ .toggle-heading-btn {
666
+ display: inline-flex;
667
+ align-items: center;
668
+ justify-content: center;
669
+ width: 24px;
670
+ height: 24px;
671
+ border: 0;
672
+ border-radius: 6px;
673
+ background: transparent;
674
+ color: var(--mute);
675
+ cursor: pointer;
676
+ flex-shrink: 0;
677
+ transition:
678
+ transform 0.15s,
679
+ background 0.15s,
680
+ color 0.15s;
681
+ }
682
+ .toggle-heading-btn:hover {
683
+ background: var(--tint);
684
+ color: var(--ink);
685
+ }
686
+ .toggle-heading-btn.open svg {
687
+ transform: rotate(90deg);
688
+ }
689
+ .toggle-heading-input {
690
+ flex: 1;
691
+ border: 0;
692
+ outline: 0;
693
+ background: transparent;
694
+ color: var(--ink);
695
+ font-family: inherit;
696
+ font-weight: 700;
697
+ padding: 4px 0;
698
+ }
699
+ .toggle-heading-input.h1 {
700
+ font-size: 26px;
701
+ }
702
+ .toggle-heading-input.h2 {
703
+ font-size: 21px;
704
+ }
705
+ .toggle-heading-input.h3 {
706
+ font-size: 17px;
707
+ }
708
+ .toggle-heading-body {
709
+ padding-top: 6px;
710
+ }
711
+ .toggle-heading-editor .codex-editor__redactor {
712
+ padding-bottom: 12px !important;
713
+ }
714
+ .editor-preview-document .editor-toggle-heading {
715
+ margin: 18px 0;
716
+ border-left: 2px solid var(--line);
717
+ padding-left: 14px;
718
+ }
719
+ .editor-preview-document .editor-toggle-heading > summary {
720
+ list-style: none;
721
+ cursor: pointer;
722
+ display: flex;
723
+ align-items: center;
724
+ gap: 8px;
725
+ }
726
+ .editor-preview-document .editor-toggle-heading > summary::-webkit-details-marker {
727
+ display: none;
728
+ }
729
+ .editor-preview-document .editor-toggle-heading > summary::before {
730
+ content: "▸";
731
+ color: var(--mute);
732
+ font-size: 14px;
733
+ transition: transform 0.2s;
734
+ flex-shrink: 0;
735
+ }
736
+ .editor-preview-document .editor-toggle-heading[open] > summary::before {
737
+ transform: rotate(90deg);
738
+ }
739
+ .editor-preview-document .editor-toggle-heading > summary h1,
740
+ .editor-preview-document .editor-toggle-heading > summary h2,
741
+ .editor-preview-document .editor-toggle-heading > summary h3 {
742
+ margin: 4px 0;
743
+ }
744
+ .editor-preview-document .editor-toggle-body {
745
+ padding-top: 8px;
746
+ }
747
+ .custom-alert-fields {
748
+ display: grid;
749
+ gap: 10px;
750
+ padding: 14px;
751
+ border-radius: 10px;
752
+ border: 1px solid var(--line);
753
+ background: var(--surface);
754
+ }
755
+ .custom-alert-fields.variant-info {
756
+ --alert-color: #3b82f6;
757
+ }
758
+ .custom-alert-fields.variant-tip {
759
+ --alert-color: #22c55e;
760
+ }
761
+ .custom-alert-fields.variant-warning {
762
+ --alert-color: #f59e0b;
763
+ }
764
+ .custom-alert-fields.variant-danger {
765
+ --alert-color: #ef4444;
766
+ }
767
+ .custom-alert-top {
768
+ display: grid;
769
+ grid-template-columns: auto 130px 1fr;
770
+ gap: 8px;
771
+ align-items: center;
772
+ }
773
+ .custom-alert-icon {
774
+ display: inline-flex;
775
+ align-items: center;
776
+ justify-content: center;
777
+ color: var(--alert-color, #3b82f6);
778
+ }
779
+ .custom-alert-fields select,
780
+ .custom-alert-fields input,
781
+ .custom-alert-fields textarea,
782
+ .custom-comment-fields textarea {
783
+ width: 100%;
784
+ border: 1px solid var(--line);
785
+ border-radius: 6px;
786
+ background: var(--bg);
787
+ color: var(--ink);
788
+ padding: 8px 10px;
789
+ font: inherit;
790
+ }
791
+ .custom-comment-fields {
792
+ display: grid;
793
+ gap: 8px;
794
+ padding: 12px;
795
+ border: 1px dashed color-mix(in srgb, #f59e0b 45%, var(--line));
796
+ border-radius: 10px;
797
+ background: color-mix(in srgb, #f59e0b 7%, var(--surface));
798
+ }
799
+ .custom-comment-badge {
800
+ font-size: 11px;
801
+ color: var(--mute);
802
+ text-transform: uppercase;
803
+ letter-spacing: 0.06em;
804
+ }
805
+ .editor-preview-document .editor-spoiler {
806
+ margin: 18px 0;
807
+ padding: 12px 16px;
808
+ border: 1px solid var(--line);
809
+ border-radius: 10px;
810
+ background: var(--tint);
811
+ }
812
+ .editor-preview-document .editor-spoiler summary {
813
+ cursor: pointer;
814
+ font-weight: 600;
815
+ color: var(--soft);
816
+ }
817
+ .editor-preview-document .editor-spoiler-text {
818
+ margin-top: 10px;
819
+ white-space: pre-wrap;
820
+ }
821
+ .editor-preview-document .editor-alert {
822
+ margin: 20px 0;
823
+ padding: 14px 18px;
824
+ border-radius: 10px;
825
+ border: 1px solid var(--line);
826
+ background: var(--surface);
827
+ display: flex;
828
+ align-items: flex-start;
829
+ gap: 12px;
830
+ }
831
+ .editor-preview-document .editor-alert-icon {
832
+ color: var(--alert-color, #3b82f6);
833
+ display: inline-flex;
834
+ margin-top: 2px;
835
+ flex-shrink: 0;
836
+ }
837
+ .editor-preview-document .editor-alert-body {
838
+ min-width: 0;
839
+ flex: 1;
840
+ }
841
+ .editor-preview-document .editor-alert.variant-info {
842
+ --alert-color: #3b82f6;
843
+ }
844
+ .editor-preview-document .editor-alert.variant-tip {
845
+ --alert-color: #22c55e;
846
+ }
847
+ .editor-preview-document .editor-alert.variant-warning {
848
+ --alert-color: #f59e0b;
849
+ }
850
+ .editor-preview-document .editor-alert.variant-danger {
851
+ --alert-color: #ef4444;
852
+ }
853
+ .editor-preview-document .editor-alert strong {
854
+ display: block;
855
+ margin-bottom: 4px;
856
+ }
857
+ .editor-preview-document .editor-alert p {
858
+ margin: 0;
859
+ }
860
+ @media (max-width: 900px) {
861
+ .editor-topbar {
862
+ height: auto;
863
+ min-height: 60px;
864
+ padding: 10px 14px;
865
+ flex-wrap: wrap;
866
+ gap: 10px;
867
+ }
868
+ .editor-actions {
869
+ flex-wrap: wrap;
870
+ }
871
+ .editor-shell {
872
+ grid-template-columns: 1fr;
873
+ padding: 20px 14px 56px;
874
+ }
875
+ .editor-shell.details-collapsed {
876
+ grid-template-columns: 1fr;
877
+ }
878
+ .editor-meta {
879
+ position: static;
880
+ }
881
+ .editor-document {
882
+ padding: 24px 16px 40px;
883
+ }
884
+ .editor-preview-scroll {
885
+ padding: 20px 14px;
886
+ }
887
+ .editor-preview-document {
888
+ padding: 24px 16px 40px;
889
+ }
890
+ .custom-layout-fields {
891
+ grid-template-columns: 1fr;
892
+ }
893
+ .editor-topbar-sep,
894
+ .editor-slug-pill,
895
+ .editor-status-pill {
896
+ display: none;
897
+ }
898
+ }
899
+
900
+
901
+ /* Editor-side block builder cards */
902
+ .block-card {
903
+ display: grid;
904
+ gap: 10px;
905
+ padding: 14px;
906
+ border: 1px solid var(--line);
907
+ border-radius: 10px;
908
+ background: var(--surface);
909
+ }
910
+ .block-toolbar {
911
+ display: flex;
912
+ flex-wrap: wrap;
913
+ gap: 6px;
914
+ }
915
+ .block-rows {
916
+ display: grid;
917
+ gap: 10px;
918
+ }
919
+ .block-subrow {
920
+ display: grid;
921
+ gap: 8px;
922
+ padding: 10px;
923
+ border: 1px solid var(--line);
924
+ border-radius: 8px;
925
+ background: var(--bg);
926
+ }
927
+ .block-subrow-head {
928
+ display: flex;
929
+ gap: 8px;
930
+ align-items: center;
931
+ }
932
+ .block-subrow-head input,
933
+ .block-subrow-head select {
934
+ flex: 1;
935
+ min-width: 0;
936
+ }
937
+ .block-subrow-body {
938
+ display: grid;
939
+ gap: 8px;
940
+ }
941
+ .block-two-col {
942
+ display: grid;
943
+ grid-template-columns: 1fr 1fr;
944
+ gap: 10px;
945
+ }
946
+ .block-hint {
947
+ font-size: 12px;
948
+ color: var(--mute);
949
+ }
950
+ .block-card input,
951
+ .block-card textarea,
952
+ .block-card select {
953
+ width: 100%;
954
+ border: 1px solid var(--line);
955
+ border-radius: 6px;
956
+ background: var(--bg);
957
+ color: var(--ink);
958
+ padding: 8px 10px;
959
+ font: inherit;
960
+ }
961
+
962
+ /* 1. Bento Grid */
963
+ .editor-bento {
964
+ display: grid;
965
+ gap: 12px;
966
+ margin: 24px 0;
967
+ grid-template-columns: repeat(3, minmax(0, 1fr));
968
+ grid-auto-rows: minmax(150px, auto);
969
+ }
970
+ .editor-bento.preset-hero-left .editor-bento-tile.hero {
971
+ grid-column: span 2;
972
+ grid-row: span 2;
973
+ }
974
+ .editor-bento.preset-hero-top .editor-bento-tile.hero {
975
+ grid-column: 1 / -1;
976
+ min-height: 240px;
977
+ }
978
+ .editor-bento-tile {
979
+ margin: 0;
980
+ border-radius: 12px;
981
+ overflow: hidden;
982
+ border: 1px solid var(--line);
983
+ background: var(--tint);
984
+ position: relative;
985
+ }
986
+ .editor-bento-tile.is-image img {
987
+ width: 100%;
988
+ height: 100%;
989
+ min-height: 160px;
990
+ object-fit: cover;
991
+ display: block;
992
+ }
993
+ .editor-bento-tile.is-image figcaption {
994
+ position: absolute;
995
+ left: 10px;
996
+ bottom: 10px;
997
+ padding: 4px 10px;
998
+ border-radius: 999px;
999
+ background: rgba(16, 16, 16, 0.72);
1000
+ color: #fff;
1001
+ font-size: 12px;
1002
+ backdrop-filter: blur(6px);
1003
+ }
1004
+ .editor-bento-tile.is-text {
1005
+ padding: 16px;
1006
+ display: flex;
1007
+ flex-direction: column;
1008
+ justify-content: center;
1009
+ gap: 6px;
1010
+ }
1011
+ .editor-bento-tile.is-text p {
1012
+ margin: 0;
1013
+ font-size: 14px;
1014
+ color: var(--soft);
1015
+ }
1016
+
1017
+ /* 2. Image Carousel */
1018
+ .editor-carousel {
1019
+ position: relative;
1020
+ margin: 24px 0;
1021
+ border-radius: 12px;
1022
+ overflow: hidden;
1023
+ border: 1px solid var(--line);
1024
+ background: var(--tint);
1025
+ }
1026
+ .editor-carousel-track {
1027
+ display: flex;
1028
+ overflow-x: auto;
1029
+ scroll-snap-type: x mandatory;
1030
+ scrollbar-width: none;
1031
+ }
1032
+ .editor-carousel-track::-webkit-scrollbar {
1033
+ display: none;
1034
+ }
1035
+ .editor-carousel-slide {
1036
+ flex: 0 0 100%;
1037
+ margin: 0;
1038
+ scroll-snap-align: start;
1039
+ position: relative;
1040
+ }
1041
+ .editor-carousel-slide img {
1042
+ width: 100%;
1043
+ max-height: 440px;
1044
+ object-fit: cover;
1045
+ display: block;
1046
+ }
1047
+ .editor-carousel-slide figcaption {
1048
+ padding: 10px 14px;
1049
+ font-size: 13px;
1050
+ color: var(--soft);
1051
+ background: var(--surface);
1052
+ border-top: 1px solid var(--line);
1053
+ }
1054
+ .editor-carousel-prev,
1055
+ .editor-carousel-next {
1056
+ position: absolute;
1057
+ top: 50%;
1058
+ transform: translateY(-50%);
1059
+ width: 34px;
1060
+ height: 34px;
1061
+ border-radius: 50%;
1062
+ border: 1px solid rgba(255, 255, 255, 0.25);
1063
+ background: rgba(16, 16, 16, 0.65);
1064
+ color: #fff;
1065
+ font-size: 20px;
1066
+ cursor: pointer;
1067
+ display: grid;
1068
+ place-items: center;
1069
+ }
1070
+ .editor-carousel-prev {
1071
+ left: 10px;
1072
+ }
1073
+ .editor-carousel-next {
1074
+ right: 10px;
1075
+ }
1076
+ .editor-carousel-dots {
1077
+ display: flex;
1078
+ justify-content: center;
1079
+ gap: 6px;
1080
+ padding: 10px;
1081
+ background: var(--surface);
1082
+ }
1083
+ .editor-carousel-dot {
1084
+ width: 8px;
1085
+ height: 8px;
1086
+ border-radius: 50%;
1087
+ border: 0;
1088
+ padding: 0;
1089
+ background: var(--line);
1090
+ cursor: pointer;
1091
+ }
1092
+ .editor-carousel-dot.active {
1093
+ background: var(--accent);
1094
+ }
1095
+
1096
+ /* 3. Before / After Comparison */
1097
+ .editor-compare {
1098
+ position: relative;
1099
+ margin: 24px 0;
1100
+ border-radius: 12px;
1101
+ overflow: hidden;
1102
+ border: 1px solid var(--line);
1103
+ user-select: none;
1104
+ touch-action: none;
1105
+ cursor: ew-resize;
1106
+ }
1107
+ .editor-compare-after,
1108
+ .editor-compare-before {
1109
+ width: 100%;
1110
+ max-height: 460px;
1111
+ object-fit: cover;
1112
+ display: block;
1113
+ }
1114
+ .editor-compare-before-wrap {
1115
+ position: absolute;
1116
+ inset: 0;
1117
+ clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
1118
+ }
1119
+ .editor-compare-label {
1120
+ position: absolute;
1121
+ top: 12px;
1122
+ padding: 4px 10px;
1123
+ border-radius: 999px;
1124
+ background: rgba(16, 16, 16, 0.72);
1125
+ color: #fff;
1126
+ font-size: 11.5px;
1127
+ pointer-events: none;
1128
+ }
1129
+ .editor-compare-label.left {
1130
+ left: 12px;
1131
+ }
1132
+ .editor-compare-label.right {
1133
+ right: 12px;
1134
+ }
1135
+ .editor-compare-handle {
1136
+ position: absolute;
1137
+ top: 0;
1138
+ bottom: 0;
1139
+ left: var(--pos, 50%);
1140
+ width: 2px;
1141
+ background: #fff;
1142
+ transform: translateX(-50%);
1143
+ box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
1144
+ }
1145
+ .editor-compare-handle span {
1146
+ position: absolute;
1147
+ top: 50%;
1148
+ left: 50%;
1149
+ transform: translate(-50%, -50%);
1150
+ width: 34px;
1151
+ height: 34px;
1152
+ border-radius: 50%;
1153
+ background: #fff;
1154
+ color: #111;
1155
+ display: grid;
1156
+ place-items: center;
1157
+ font-weight: 700;
1158
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
1159
+ }
1160
+
1161
+ /* 4. Lightbox Gallery */
1162
+ .editor-gallery {
1163
+ display: grid;
1164
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
1165
+ gap: 10px;
1166
+ margin: 24px 0;
1167
+ }
1168
+ .editor-gallery-item {
1169
+ border: 1px solid var(--line);
1170
+ border-radius: 10px;
1171
+ overflow: hidden;
1172
+ padding: 0;
1173
+ background: var(--tint);
1174
+ cursor: zoom-in;
1175
+ aspect-ratio: 4 / 3;
1176
+ }
1177
+ .editor-gallery-item img {
1178
+ width: 100%;
1179
+ height: 100%;
1180
+ object-fit: cover;
1181
+ display: block;
1182
+ transition: transform 0.2s;
1183
+ }
1184
+ .editor-gallery-item:hover img {
1185
+ transform: scale(1.04);
1186
+ }
1187
+ .editor-lightbox {
1188
+ position: fixed;
1189
+ inset: 0;
1190
+ z-index: 2000;
1191
+ background: rgba(10, 10, 10, 0.92);
1192
+ display: grid;
1193
+ place-items: center;
1194
+ padding: 40px;
1195
+ }
1196
+ .editor-lightbox-img {
1197
+ max-width: min(92vw, 1100px);
1198
+ max-height: 82vh;
1199
+ object-fit: contain;
1200
+ border-radius: 10px;
1201
+ }
1202
+ .editor-lightbox-close,
1203
+ .editor-lightbox-nav {
1204
+ position: fixed;
1205
+ border: 1px solid rgba(255, 255, 255, 0.25);
1206
+ background: rgba(30, 30, 30, 0.75);
1207
+ color: #fff;
1208
+ width: 40px;
1209
+ height: 40px;
1210
+ border-radius: 50%;
1211
+ font-size: 22px;
1212
+ cursor: pointer;
1213
+ display: grid;
1214
+ place-items: center;
1215
+ }
1216
+ .editor-lightbox-close {
1217
+ top: 20px;
1218
+ right: 20px;
1219
+ }
1220
+ .editor-lightbox-nav.prev {
1221
+ left: 20px;
1222
+ top: 50%;
1223
+ transform: translateY(-50%);
1224
+ }
1225
+ .editor-lightbox-nav.next {
1226
+ right: 20px;
1227
+ top: 50%;
1228
+ transform: translateY(-50%);
1229
+ }
1230
+ .editor-lightbox-count {
1231
+ position: fixed;
1232
+ bottom: 20px;
1233
+ color: rgba(255, 255, 255, 0.8);
1234
+ font-size: 13px;
1235
+ }
1236
+
1237
+ /* 5. Slides Deck */
1238
+ .editor-slides {
1239
+ margin: 24px 0;
1240
+ border: 1px solid var(--line);
1241
+ border-radius: 12px;
1242
+ overflow: hidden;
1243
+ background: var(--surface);
1244
+ }
1245
+ .editor-slides:fullscreen,
1246
+ .editor-slides.is-presenting {
1247
+ display: flex;
1248
+ flex-direction: column;
1249
+ background: var(--bg);
1250
+ }
1251
+ .editor-slides:fullscreen .editor-slides-stage {
1252
+ flex: 1;
1253
+ display: grid;
1254
+ place-items: center;
1255
+ padding: 48px;
1256
+ }
1257
+ .editor-slides-bar {
1258
+ display: flex;
1259
+ align-items: center;
1260
+ justify-content: space-between;
1261
+ padding: 10px 14px;
1262
+ border-bottom: 1px solid var(--line);
1263
+ background: var(--tint);
1264
+ font-size: 12.5px;
1265
+ color: var(--mute);
1266
+ }
1267
+ .editor-slides-controls {
1268
+ display: flex;
1269
+ gap: 6px;
1270
+ }
1271
+ .editor-slides-controls button {
1272
+ border: 1px solid var(--line);
1273
+ background: var(--surface);
1274
+ color: var(--ink);
1275
+ border-radius: 6px;
1276
+ padding: 4px 10px;
1277
+ cursor: pointer;
1278
+ font: inherit;
1279
+ font-size: 12px;
1280
+ }
1281
+ .editor-slides-stage {
1282
+ padding: 28px;
1283
+ min-height: 180px;
1284
+ }
1285
+ .editor-slide-panel {
1286
+ display: none;
1287
+ }
1288
+ .editor-slide-panel.active {
1289
+ display: block;
1290
+ }
1291
+ .editor-slide-panel h3 {
1292
+ margin: 0 0 10px;
1293
+ font-size: 24px;
1294
+ }
1295
+
1296
+ /* 6. Tabbed Content */
1297
+ .editor-tabs {
1298
+ margin: 24px 0;
1299
+ border: 1px solid var(--line);
1300
+ border-radius: 12px;
1301
+ overflow: hidden;
1302
+ background: var(--surface);
1303
+ }
1304
+ .editor-tabs-bar {
1305
+ display: flex;
1306
+ flex-wrap: wrap;
1307
+ gap: 4px;
1308
+ padding: 8px 10px 0;
1309
+ border-bottom: 1px solid var(--line);
1310
+ background: var(--tint);
1311
+ }
1312
+ .editor-tabs-bar button {
1313
+ border: 0;
1314
+ border-bottom: 2px solid transparent;
1315
+ background: transparent;
1316
+ color: var(--soft);
1317
+ padding: 8px 14px;
1318
+ font: inherit;
1319
+ font-size: 13px;
1320
+ cursor: pointer;
1321
+ }
1322
+ .editor-tabs-bar button[aria-selected="true"] {
1323
+ color: var(--accent);
1324
+ border-bottom-color: var(--accent);
1325
+ font-weight: 600;
1326
+ }
1327
+ .editor-tabs-panels {
1328
+ padding: 16px 18px;
1329
+ }
1330
+ .editor-tab-panel {
1331
+ display: none;
1332
+ }
1333
+ .editor-tab-panel.active {
1334
+ display: block;
1335
+ }
1336
+ .editor-tab-panel p {
1337
+ margin: 0;
1338
+ }
1339
+
1340
+ /* 7. Accordion / FAQ Stack */
1341
+ .editor-accordion {
1342
+ margin: 24px 0;
1343
+ border: 1px solid var(--line);
1344
+ border-radius: 12px;
1345
+ overflow: hidden;
1346
+ background: var(--surface);
1347
+ }
1348
+ .editor-accordion-item + .editor-accordion-item {
1349
+ border-top: 1px solid var(--line);
1350
+ }
1351
+ .editor-accordion-item summary {
1352
+ list-style: none;
1353
+ cursor: pointer;
1354
+ padding: 14px 16px;
1355
+ font-weight: 600;
1356
+ display: flex;
1357
+ justify-content: space-between;
1358
+ align-items: center;
1359
+ }
1360
+ .editor-accordion-item summary::-webkit-details-marker {
1361
+ display: none;
1362
+ }
1363
+ .editor-accordion-item summary::after {
1364
+ content: "+";
1365
+ color: var(--mute);
1366
+ font-size: 16px;
1367
+ }
1368
+ .editor-accordion-item[open] summary::after {
1369
+ content: "−";
1370
+ }
1371
+ .editor-accordion-body {
1372
+ padding: 0 16px 14px;
1373
+ color: var(--soft);
1374
+ }
1375
+ .editor-accordion-body p {
1376
+ margin: 0;
1377
+ }
1378
+
1379
+ /* 8. Pull-Quote */
1380
+ .editor-pullquote {
1381
+ margin: 30px 0;
1382
+ padding: 24px 12px;
1383
+ border-top: 2px solid var(--ink);
1384
+ border-bottom: 1px solid var(--line);
1385
+ text-align: center;
1386
+ }
1387
+ .editor-pullquote p {
1388
+ margin: 0;
1389
+ font-family: Newsreader, Georgia, serif;
1390
+ font-size: clamp(22px, 3vw, 30px);
1391
+ line-height: 1.35;
1392
+ color: var(--ink);
1393
+ }
1394
+ .editor-pullquote cite {
1395
+ display: block;
1396
+ margin-top: 12px;
1397
+ font-style: normal;
1398
+ font-size: 13px;
1399
+ color: var(--mute);
1400
+ }
1401
+
1402
+ /* 9. Timeline / Stepper */
1403
+ .editor-timeline {
1404
+ list-style: none;
1405
+ margin: 24px 0;
1406
+ padding: 0;
1407
+ display: grid;
1408
+ gap: 16px;
1409
+ position: relative;
1410
+ }
1411
+ .editor-timeline::before {
1412
+ content: "";
1413
+ position: absolute;
1414
+ left: 14px;
1415
+ top: 12px;
1416
+ bottom: 12px;
1417
+ width: 2px;
1418
+ background: var(--line);
1419
+ }
1420
+ .editor-timeline li {
1421
+ display: grid;
1422
+ grid-template-columns: 30px 1fr;
1423
+ gap: 14px;
1424
+ align-items: start;
1425
+ position: relative;
1426
+ }
1427
+ .editor-timeline-num {
1428
+ width: 30px;
1429
+ height: 30px;
1430
+ border-radius: 50%;
1431
+ background: var(--accent);
1432
+ color: var(--accent-ink);
1433
+ font-size: 12.5px;
1434
+ font-weight: 700;
1435
+ display: grid;
1436
+ place-items: center;
1437
+ z-index: 1;
1438
+ }
1439
+ .editor-timeline-card {
1440
+ padding: 12px 14px;
1441
+ border: 1px solid var(--line);
1442
+ border-radius: 10px;
1443
+ background: var(--surface);
1444
+ }
1445
+ .editor-timeline-card p {
1446
+ margin: 4px 0 0;
1447
+ font-size: 14px;
1448
+ color: var(--soft);
1449
+ }
1450
+
1451
+ /* 10. Stat / Metric Card Row */
1452
+ .editor-stats-row {
1453
+ display: grid;
1454
+ gap: 12px;
1455
+ margin: 24px 0;
1456
+ }
1457
+ .editor-stats-row.cols-2 {
1458
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1459
+ }
1460
+ .editor-stats-row.cols-3 {
1461
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1462
+ }
1463
+ .editor-stats-row.cols-4 {
1464
+ grid-template-columns: repeat(4, minmax(0, 1fr));
1465
+ }
1466
+ .editor-stat-card {
1467
+ padding: 16px;
1468
+ border: 1px solid var(--line);
1469
+ border-radius: 10px;
1470
+ background: var(--surface);
1471
+ display: grid;
1472
+ gap: 4px;
1473
+ }
1474
+ .editor-stat-card b {
1475
+ font-size: clamp(22px, 3vw, 30px);
1476
+ line-height: 1.1;
1477
+ color: var(--ink);
1478
+ }
1479
+ .editor-stat-card span {
1480
+ font-size: 12px;
1481
+ color: var(--mute);
1482
+ text-transform: uppercase;
1483
+ letter-spacing: 0.06em;
1484
+ }
1485
+
1486
+ /* 11. Pros & Cons Split Card */
1487
+ .editor-proscons {
1488
+ display: grid;
1489
+ grid-template-columns: 1fr 1fr;
1490
+ gap: 14px;
1491
+ margin: 24px 0;
1492
+ }
1493
+ .editor-pros,
1494
+ .editor-cons {
1495
+ padding: 16px;
1496
+ border-radius: 0;
1497
+ border: 1px solid var(--line);
1498
+ }
1499
+ .editor-pros {
1500
+ border-top: 3px solid #22c55e;
1501
+ background: color-mix(in srgb, #22c55e 7%, var(--surface));
1502
+ }
1503
+ .editor-cons {
1504
+ border-top: 3px solid #ef4444;
1505
+ background: color-mix(in srgb, #ef4444 7%, var(--surface));
1506
+ }
1507
+ .editor-pros ul,
1508
+ .editor-cons ul {
1509
+ margin: 10px 0 0;
1510
+ padding-left: 18px;
1511
+ }
1512
+
1513
+ /* 12. File / Link Card Grid */
1514
+ .editor-cards-grid {
1515
+ display: grid;
1516
+ grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
1517
+ gap: 12px;
1518
+ margin: 24px 0;
1519
+ }
1520
+ .editor-grid-card {
1521
+ display: grid;
1522
+ gap: 6px;
1523
+ padding: 14px 16px;
1524
+ border: 1px solid var(--line);
1525
+ border-radius: 10px;
1526
+ background: var(--surface);
1527
+ text-decoration: none;
1528
+ color: var(--ink);
1529
+ transition:
1530
+ border-color 0.15s,
1531
+ transform 0.15s;
1532
+ }
1533
+ .editor-grid-card:hover {
1534
+ border-color: var(--accent);
1535
+ transform: translateY(-2px);
1536
+ }
1537
+ .editor-grid-card-badge {
1538
+ width: fit-content;
1539
+ font-size: 10.5px;
1540
+ text-transform: uppercase;
1541
+ letter-spacing: 0.08em;
1542
+ padding: 2px 8px;
1543
+ border-radius: 999px;
1544
+ background: var(--tint);
1545
+ color: var(--mute);
1546
+ }
1547
+ .editor-grid-card span:last-child {
1548
+ font-size: 13px;
1549
+ color: var(--soft);
1550
+ }
1551
+
1552
+ @media (max-width: 720px) {
1553
+ .block-two-col,
1554
+ .editor-bento,
1555
+ .editor-proscons,
1556
+ .editor-stats-row.cols-3,
1557
+ .editor-stats-row.cols-4 {
1558
+ grid-template-columns: 1fr;
1559
+ }
1560
+ .editor-bento.preset-hero-left .editor-bento-tile.hero {
1561
+ grid-column: span 1;
1562
+ grid-row: span 1;
1563
+ }
1564
+ }
1565
+
1566
+ /* Badges, Inline Tags, and @mention */
1567
+ .editor-badges,
1568
+ .editor-inline-tags {
1569
+ display: flex;
1570
+ flex-wrap: wrap;
1571
+ gap: 8px;
1572
+ margin: 16px 0;
1573
+ }
1574
+ .editor-badge {
1575
+ display: inline-flex;
1576
+ align-items: center;
1577
+ padding: 4px 11px;
1578
+ border-radius: 999px;
1579
+ font-size: 12px;
1580
+ font-weight: 600;
1581
+ border: 1px solid var(--line);
1582
+ background: var(--tint);
1583
+ color: var(--ink);
1584
+ }
1585
+ .editor-badge.tone-accent {
1586
+ background: var(--accent);
1587
+ border-color: var(--accent);
1588
+ color: var(--accent-ink);
1589
+ }
1590
+ .editor-badge.tone-green {
1591
+ background: color-mix(in srgb, #22c55e 15%, var(--surface));
1592
+ border-color: color-mix(in srgb, #22c55e 40%, var(--line));
1593
+ color: #16a34a;
1594
+ }
1595
+ .editor-badge.tone-blue {
1596
+ background: color-mix(in srgb, #3b82f6 15%, var(--surface));
1597
+ border-color: color-mix(in srgb, #3b82f6 40%, var(--line));
1598
+ color: #2563eb;
1599
+ }
1600
+ .editor-badge.tone-amber {
1601
+ background: color-mix(in srgb, #f59e0b 15%, var(--surface));
1602
+ border-color: color-mix(in srgb, #f59e0b 40%, var(--line));
1603
+ color: #d97706;
1604
+ }
1605
+ .editor-badge.tone-red {
1606
+ background: color-mix(in srgb, #ef4444 15%, var(--surface));
1607
+ border-color: color-mix(in srgb, #ef4444 40%, var(--line));
1608
+ color: #dc2626;
1609
+ }
1610
+ .editor-inline-tag {
1611
+ display: inline-flex;
1612
+ align-items: center;
1613
+ padding: 4px 10px;
1614
+ border-radius: 6px;
1615
+ font-size: 12.5px;
1616
+ background: var(--tint);
1617
+ border: 1px solid var(--line);
1618
+ color: var(--soft);
1619
+ }
1620
+ .editor-mention {
1621
+ display: inline-flex;
1622
+ align-items: center;
1623
+ padding: 1px 7px;
1624
+ border-radius: 6px;
1625
+ background: color-mix(in srgb, var(--accent) 14%, var(--surface));
1626
+ color: var(--accent) !important;
1627
+ font-weight: 600;
1628
+ text-decoration: none !important;
1629
+ border-bottom: 0 !important;
1630
+ }
1631
+ .editor-mention:hover {
1632
+ background: color-mix(in srgb, var(--accent) 22%, var(--surface));
1633
+ }
1634
+
1635
+ /* ── LaTeX Math Block ───────────────────────────────────────────── */
1636
+ .editor-latex-tool {
1637
+ border: 1px solid var(--surface0, #313244);
1638
+ border-radius: 10px;
1639
+ padding: 12px;
1640
+ background: var(--mantle, #181825);
1641
+ margin: 8px 0;
1642
+ }
1643
+
1644
+ .editor-latex-header {
1645
+ display: flex;
1646
+ align-items: center;
1647
+ justify-content: space-between;
1648
+ margin-bottom: 8px;
1649
+ }
1650
+
1651
+ .editor-latex-label {
1652
+ font-size: 12px;
1653
+ font-weight: 600;
1654
+ color: var(--subtext0, #a6adc8);
1655
+ text-transform: uppercase;
1656
+ letter-spacing: 0.04em;
1657
+ }
1658
+
1659
+ .editor-latex-mode-btn {
1660
+ font-size: 11px;
1661
+ padding: 3px 10px;
1662
+ border-radius: 6px;
1663
+ border: 1px solid var(--surface1, #45475a);
1664
+ background: var(--surface0, #313244);
1665
+ color: var(--text, #cdd6f4);
1666
+ cursor: pointer;
1667
+ }
1668
+
1669
+ .editor-latex-input {
1670
+ width: 100%;
1671
+ box-sizing: border-box;
1672
+ border: 1px solid var(--surface0, #313244);
1673
+ border-radius: 8px;
1674
+ padding: 8px 10px;
1675
+ background: var(--base, #1e1e2e);
1676
+ color: var(--text, #cdd6f4);
1677
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1678
+ font-size: 13px;
1679
+ resize: vertical;
1680
+ }
1681
+
1682
+ .editor-latex-preview {
1683
+ margin-top: 10px;
1684
+ padding: 12px;
1685
+ border-radius: 8px;
1686
+ background: var(--base, #1e1e2e);
1687
+ color: var(--text, #cdd6f4);
1688
+ overflow-x: auto;
1689
+ text-align: center;
1690
+ }
1691
+
1692
+ .editor-latex-empty {
1693
+ color: var(--overlay0, #6c7086);
1694
+ font-size: 12px;
1695
+ }
1696
+
1697
+ .editor-latex-render {
1698
+ margin: 12px 0;
1699
+ overflow-x: auto;
1700
+ }
1701
+
1702
+ /* ── Excalidraw Whiteboard Block ────────────────────────────────── */
1703
+ .excalidraw-tool {
1704
+ border: 1px solid var(--surface0, #313244);
1705
+ border-radius: 10px;
1706
+ padding: 10px;
1707
+ background: var(--mantle, #181825);
1708
+ margin: 8px 0;
1709
+ }
1710
+
1711
+ .excalidraw-toolbar {
1712
+ display: flex;
1713
+ flex-wrap: wrap;
1714
+ align-items: center;
1715
+ gap: 6px;
1716
+ margin-bottom: 8px;
1717
+ }
1718
+
1719
+ .excalidraw-btn {
1720
+ font-size: 12px;
1721
+ padding: 4px 10px;
1722
+ border-radius: 6px;
1723
+ border: 1px solid var(--surface1, #45475a);
1724
+ background: var(--surface0, #313244);
1725
+ color: var(--text, #cdd6f4);
1726
+ cursor: pointer;
1727
+ }
1728
+
1729
+ .excalidraw-btn.is-active {
1730
+ background: var(--blue, #89b4fa);
1731
+ color: var(--crust, #11111b);
1732
+ border-color: transparent;
1733
+ font-weight: 600;
1734
+ }
1735
+
1736
+ .excalidraw-divider {
1737
+ width: 1px;
1738
+ height: 18px;
1739
+ background: var(--surface1, #45475a);
1740
+ margin: 0 2px;
1741
+ }
1742
+
1743
+ .excalidraw-swatch {
1744
+ width: 18px;
1745
+ height: 18px;
1746
+ border-radius: 50%;
1747
+ border: 2px solid transparent;
1748
+ cursor: pointer;
1749
+ padding: 0;
1750
+ }
1751
+
1752
+ .excalidraw-swatch.is-active {
1753
+ border-color: #ffffff;
1754
+ transform: scale(1.1);
1755
+ }
1756
+
1757
+ .excalidraw-canvas {
1758
+ width: 100%;
1759
+ height: auto;
1760
+ display: block;
1761
+ border-radius: 8px;
1762
+ background: var(--base, #1e1e2e);
1763
+ border: 1px solid var(--surface0, #313244);
1764
+ cursor: crosshair;
1765
+ touch-action: none;
1766
+ }
1767
+
1768
+ .excalidraw-caption {
1769
+ width: 100%;
1770
+ box-sizing: border-box;
1771
+ margin-top: 8px;
1772
+ padding: 6px 10px;
1773
+ border-radius: 6px;
1774
+ border: 1px solid var(--surface0, #313244);
1775
+ background: var(--base, #1e1e2e);
1776
+ color: var(--text, #cdd6f4);
1777
+ font-size: 13px;
1778
+ }
1779
+
1780
+ .editor-whiteboard-figure {
1781
+ margin: 14px 0;
1782
+ text-align: center;
1783
+ }
1784
+
1785
+ .editor-whiteboard-figure img {
1786
+ max-width: 100%;
1787
+ border-radius: 8px;
1788
+ }
1789
+
1790
+ .editor-whiteboard-figure figcaption {
1791
+ margin-top: 6px;
1792
+ font-size: 12px;
1793
+ color: var(--subtext0, #a6adc8);
1794
+ }
1795
+
1796
+
1797
+ /* ── shadcn/ui Design Tokens (Zinc Light & Dark) ────────────────── */
1798
+ :root,
1799
+ .nextgen-editor-shell,
1800
+ .nextgen-editor-article {
1801
+ --ng-background: #ffffff;
1802
+ --ng-foreground: #09090b;
1803
+ --ng-card: #ffffff;
1804
+ --ng-card-foreground: #09090b;
1805
+ --ng-popover: #ffffff;
1806
+ --ng-popover-foreground: #09090b;
1807
+ --ng-primary: #18181b;
1808
+ --ng-primary-foreground: #fafafa;
1809
+ --ng-secondary: #f4f4f5;
1810
+ --ng-secondary-foreground: #18181b;
1811
+ --ng-muted: #f4f4f5;
1812
+ --ng-muted-foreground: #71717a;
1813
+ --ng-accent: #f4f4f5;
1814
+ --ng-accent-foreground: #18181b;
1815
+ --ng-border: #e4e4e7;
1816
+ --ng-input: #e4e4e7;
1817
+ --ng-ring: #18181b;
1818
+ --ng-radius: 0.5rem;
1819
+
1820
+ /* Map internal editor tokens to shadcn/ui tokens */
1821
+ --bg: var(--ng-background);
1822
+ --surface: var(--ng-card);
1823
+ --tint: var(--ng-muted);
1824
+ --line: var(--ng-border);
1825
+ --ink: var(--ng-foreground);
1826
+ --soft: var(--ng-secondary-foreground);
1827
+ --mute: var(--ng-muted-foreground);
1828
+ --accent: var(--ng-primary);
1829
+ --base: var(--ng-background);
1830
+ --mantle: var(--ng-card);
1831
+ --surface0: var(--ng-border);
1832
+ --surface1: var(--ng-input);
1833
+ --text: var(--ng-foreground);
1834
+ --subtext0: var(--ng-muted-foreground);
1835
+ --overlay0: var(--ng-muted-foreground);
1836
+ --blue: var(--ng-primary);
1837
+ --crust: var(--ng-primary-foreground);
1838
+ }
1839
+
1840
+ .dark,
1841
+ [data-theme='dark'],
1842
+ .dark .nextgen-editor-shell,
1843
+ .dark .nextgen-editor-article,
1844
+ [data-theme='dark'] .nextgen-editor-shell,
1845
+ [data-theme='dark'] .nextgen-editor-article {
1846
+ --ng-background: #09090b;
1847
+ --ng-foreground: #fafafa;
1848
+ --ng-card: #09090b;
1849
+ --ng-card-foreground: #fafafa;
1850
+ --ng-popover: #09090b;
1851
+ --ng-popover-foreground: #fafafa;
1852
+ --ng-primary: #fafafa;
1853
+ --ng-primary-foreground: #18181b;
1854
+ --ng-secondary: #27272a;
1855
+ --ng-secondary-foreground: #fafafa;
1856
+ --ng-muted: #27272a;
1857
+ --ng-muted-foreground: #a1a1aa;
1858
+ --ng-accent: #27272a;
1859
+ --ng-accent-foreground: #fafafa;
1860
+ --ng-border: #27272a;
1861
+ --ng-input: #27272a;
1862
+ --ng-ring: #d4d4d8;
1863
+
1864
+ --bg: var(--ng-background);
1865
+ --surface: var(--ng-card);
1866
+ --tint: var(--ng-muted);
1867
+ --line: var(--ng-border);
1868
+ --ink: var(--ng-foreground);
1869
+ --soft: var(--ng-secondary-foreground);
1870
+ --mute: var(--ng-muted-foreground);
1871
+ --accent: var(--ng-primary);
1872
+ --base: var(--ng-background);
1873
+ --mantle: #111113;
1874
+ --surface0: var(--ng-border);
1875
+ --surface1: #3f3f46;
1876
+ --text: var(--ng-foreground);
1877
+ --subtext0: var(--ng-muted-foreground);
1878
+ --overlay0: var(--ng-muted-foreground);
1879
+ --blue: var(--ng-primary);
1880
+ --crust: var(--ng-primary-foreground);
1881
+ }
1882
+
1883
+ /* ── Editor Surface & Typography ────────────────────────────────── */
1884
+ .nextgen-editor-shell,
1885
+ .nextgen-editor-article {
1886
+ font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
1887
+ color: var(--ng-foreground);
1888
+ background: var(--ng-background);
1889
+ -webkit-font-smoothing: antialiased;
1890
+ }
1891
+
1892
+ .nextgen-editor-shell {
1893
+ border: 1px solid var(--ng-border);
1894
+ border-radius: calc(var(--ng-radius) + 2px);
1895
+ padding: 20px 24px;
1896
+ background: var(--ng-card);
1897
+ }
1898
+
1899
+ .nextgen-editor-shell #editorjs {
1900
+ font-size: 15px;
1901
+ line-height: 1.65;
1902
+ color: var(--ng-foreground);
1903
+ }
1904
+
1905
+ .nextgen-editor-shell .ce-header,
1906
+ .nextgen-editor-article h1,
1907
+ .nextgen-editor-article h2,
1908
+ .nextgen-editor-article h3 {
1909
+ letter-spacing: -0.025em;
1910
+ font-weight: 600;
1911
+ color: var(--ng-foreground);
1912
+ }
1913
+
1914
+ /* ── Editor.js Popover, Command Menu & Inline Toolbar (shadcn) ──── */
1915
+ .nextgen-editor-shell .ce-popover__container {
1916
+ background: var(--ng-popover);
1917
+ color: var(--ng-popover-foreground);
1918
+ border: 1px solid var(--ng-border);
1919
+ border-radius: var(--ng-radius);
1920
+ box-shadow:
1921
+ 0 10px 15px -3px rgba(0, 0, 0, 0.1),
1922
+ 0 4px 6px -4px rgba(0, 0, 0, 0.1);
1923
+ padding: 4px;
1924
+ }
1925
+
1926
+ .nextgen-editor-shell .ce-popover__search {
1927
+ background: var(--ng-background);
1928
+ border: 1px solid var(--ng-input);
1929
+ border-radius: calc(var(--ng-radius) - 2px);
1930
+ margin-bottom: 4px;
1931
+ }
1932
+
1933
+ .nextgen-editor-shell .ce-popover__search input {
1934
+ color: var(--ng-foreground);
1935
+ font-size: 13px;
1936
+ }
1937
+
1938
+ .nextgen-editor-shell .ce-popover-item {
1939
+ border-radius: calc(var(--ng-radius) - 2px);
1940
+ color: var(--ng-popover-foreground);
1941
+ font-size: 13px;
1942
+ font-weight: 500;
1943
+ transition: background-color 120ms ease, color 120ms ease;
1944
+ }
1945
+
1946
+ .nextgen-editor-shell .ce-popover-item:hover,
1947
+ .nextgen-editor-shell .ce-popover-item--focused {
1948
+ background: var(--ng-accent);
1949
+ color: var(--ng-accent-foreground);
1950
+ }
1951
+
1952
+ .nextgen-editor-shell .ce-popover-item__icon {
1953
+ background: var(--ng-muted);
1954
+ color: var(--ng-foreground);
1955
+ border: 1px solid var(--ng-border);
1956
+ border-radius: calc(var(--ng-radius) - 2px);
1957
+ box-shadow: none;
1958
+ }
1959
+
1960
+ .nextgen-editor-shell .ce-inline-toolbar,
1961
+ .nextgen-editor-shell .ce-conversion-toolbar {
1962
+ background: var(--ng-popover);
1963
+ color: var(--ng-popover-foreground);
1964
+ border: 1px solid var(--ng-border);
1965
+ border-radius: var(--ng-radius);
1966
+ box-shadow:
1967
+ 0 10px 15px -3px rgba(0, 0, 0, 0.1),
1968
+ 0 4px 6px -4px rgba(0, 0, 0, 0.1);
1969
+ }
1970
+
1971
+ .nextgen-editor-shell .ce-inline-tool,
1972
+ .nextgen-editor-shell .ce-conversion-tool,
1973
+ .nextgen-editor-shell .ce-toolbar__plus,
1974
+ .nextgen-editor-shell .ce-toolbar__settings-btn {
1975
+ color: var(--ng-muted-foreground);
1976
+ border-radius: calc(var(--ng-radius) - 2px);
1977
+ transition: background-color 120ms ease, color 120ms ease;
1978
+ }
1979
+
1980
+ .nextgen-editor-shell .ce-inline-tool:hover,
1981
+ .nextgen-editor-shell .ce-conversion-tool:hover,
1982
+ .nextgen-editor-shell .ce-toolbar__plus:hover,
1983
+ .nextgen-editor-shell .ce-toolbar__settings-btn:hover {
1984
+ background: var(--ng-accent);
1985
+ color: var(--ng-accent-foreground);
1986
+ }
1987
+
1988
+ .nextgen-editor-shell .ce-inline-tool--active {
1989
+ background: var(--ng-primary);
1990
+ color: var(--ng-primary-foreground);
1991
+ }
1992
+
1993
+ .nextgen-editor-shell .ce-block--selected .ce-block__content {
1994
+ background: var(--ng-accent);
1995
+ border-radius: calc(var(--ng-radius) - 2px);
1996
+ }
1997
+
1998
+ /* ── Inputs, Buttons & Custom Block Surfaces (shadcn) ───────────── */
1999
+ .nextgen-editor-shell .cdx-input,
2000
+ .nextgen-editor-shell .editor-latex-input,
2001
+ .nextgen-editor-shell .excalidraw-caption {
2002
+ background: var(--ng-background);
2003
+ color: var(--ng-foreground);
2004
+ border: 1px solid var(--ng-input);
2005
+ border-radius: calc(var(--ng-radius) - 2px);
2006
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
2007
+ font-size: 13.5px;
2008
+ transition: border-color 120ms ease, box-shadow 120ms ease;
2009
+ }
2010
+
2011
+ .nextgen-editor-shell .cdx-input:focus,
2012
+ .nextgen-editor-shell .editor-latex-input:focus,
2013
+ .nextgen-editor-shell .excalidraw-caption:focus {
2014
+ outline: none;
2015
+ border-color: var(--ng-ring);
2016
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--ng-ring) 20%, transparent);
2017
+ }
2018
+
2019
+ .nextgen-editor-shell .cdx-button,
2020
+ .nextgen-editor-shell .editor-latex-mode-btn,
2021
+ .nextgen-editor-shell .excalidraw-btn {
2022
+ background: var(--ng-secondary);
2023
+ color: var(--ng-secondary-foreground);
2024
+ border: 1px solid var(--ng-border);
2025
+ border-radius: calc(var(--ng-radius) - 2px);
2026
+ font-size: 12.5px;
2027
+ font-weight: 500;
2028
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
2029
+ transition: background-color 120ms ease, color 120ms ease;
2030
+ }
2031
+
2032
+ .nextgen-editor-shell .cdx-button:hover,
2033
+ .nextgen-editor-shell .editor-latex-mode-btn:hover,
2034
+ .nextgen-editor-shell .excalidraw-btn:hover {
2035
+ background: var(--ng-accent);
2036
+ color: var(--ng-accent-foreground);
2037
+ }
2038
+
2039
+ .nextgen-editor-shell .excalidraw-btn.is-active {
2040
+ background: var(--ng-primary);
2041
+ color: var(--ng-primary-foreground);
2042
+ border-color: var(--ng-primary);
2043
+ }
2044
+
2045
+ .nextgen-editor-shell .editor-latex-tool,
2046
+ .nextgen-editor-shell .excalidraw-tool {
2047
+ background: var(--ng-card);
2048
+ border: 1px solid var(--ng-border);
2049
+ border-radius: var(--ng-radius);
2050
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2051
+ }
2052
+
2053
+ .nextgen-editor-shell .editor-latex-preview,
2054
+ .nextgen-editor-shell .excalidraw-canvas {
2055
+ background: var(--ng-muted);
2056
+ border: 1px solid var(--ng-border);
2057
+ border-radius: calc(var(--ng-radius) - 2px);
2058
+ }
2059
+
2060
+ /* ── Form Builder & Rendered Form (shadcn/ui) ───────────────────── */
2061
+ .editor-form-builder,
2062
+ .editor-form-block {
2063
+ background: var(--ng-card);
2064
+ color: var(--ng-card-foreground);
2065
+ border: 1px solid var(--ng-border);
2066
+ border-radius: var(--ng-radius);
2067
+ padding: 18px;
2068
+ margin: 14px 0;
2069
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2070
+ }
2071
+
2072
+ .editor-form-builder-header {
2073
+ display: grid;
2074
+ gap: 8px;
2075
+ margin-bottom: 12px;
2076
+ }
2077
+
2078
+ .editor-form-title-input {
2079
+ font-weight: 600;
2080
+ font-size: 15px !important;
2081
+ }
2082
+
2083
+ .editor-form-fields-list {
2084
+ display: grid;
2085
+ gap: 8px;
2086
+ margin-bottom: 12px;
2087
+ }
2088
+
2089
+ .editor-form-field-row {
2090
+ display: grid;
2091
+ grid-template-columns: 1.2fr 0.8fr 1.4fr auto auto;
2092
+ gap: 6px;
2093
+ align-items: center;
2094
+ }
2095
+
2096
+ .editor-form-input,
2097
+ .editor-form-select {
2098
+ width: 100%;
2099
+ box-sizing: border-box;
2100
+ padding: 6px 10px !important;
2101
+ }
2102
+
2103
+ .editor-form-req-toggle {
2104
+ display: inline-flex;
2105
+ align-items: center;
2106
+ gap: 4px;
2107
+ font-size: 12px;
2108
+ color: var(--ng-muted-foreground);
2109
+ white-space: nowrap;
2110
+ }
2111
+
2112
+ .editor-form-remove {
2113
+ padding: 4px 8px !important;
2114
+ }
2115
+
2116
+ .editor-form-builder-footer {
2117
+ display: grid;
2118
+ grid-template-columns: auto 1fr 1.2fr;
2119
+ gap: 8px;
2120
+ align-items: center;
2121
+ }
2122
+
2123
+ .editor-form-title {
2124
+ margin: 0 0 4px;
2125
+ font-size: 18px;
2126
+ font-weight: 600;
2127
+ }
2128
+
2129
+ .editor-form-desc {
2130
+ margin: 0 0 16px;
2131
+ font-size: 13.5px;
2132
+ color: var(--ng-muted-foreground);
2133
+ }
2134
+
2135
+ .editor-form-field {
2136
+ margin-bottom: 12px;
2137
+ }
2138
+
2139
+ .editor-form-label {
2140
+ display: grid;
2141
+ gap: 6px;
2142
+ font-size: 13px;
2143
+ font-weight: 500;
2144
+ color: var(--ng-foreground);
2145
+ }
2146
+
2147
+ .editor-form-req {
2148
+ color: #ef4444;
2149
+ }
2150
+
2151
+ .editor-form-control {
2152
+ width: 100%;
2153
+ box-sizing: border-box;
2154
+ padding: 8px 10px;
2155
+ background: var(--ng-background);
2156
+ color: var(--ng-foreground);
2157
+ border: 1px solid var(--ng-input);
2158
+ border-radius: calc(var(--ng-radius) - 2px);
2159
+ font-size: 13.5px;
2160
+ font-family: inherit;
2161
+ }
2162
+
2163
+ .editor-form-control:focus {
2164
+ outline: none;
2165
+ border-color: var(--ng-ring);
2166
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--ng-ring) 20%, transparent);
2167
+ }
2168
+
2169
+ .editor-form-checkbox label {
2170
+ display: inline-flex;
2171
+ align-items: center;
2172
+ gap: 8px;
2173
+ font-size: 13.5px;
2174
+ cursor: pointer;
2175
+ }
2176
+
2177
+ .editor-form-actions {
2178
+ display: flex;
2179
+ align-items: center;
2180
+ gap: 12px;
2181
+ margin-top: 14px;
2182
+ }
2183
+
2184
+ .editor-form-submit {
2185
+ background: var(--ng-primary);
2186
+ color: var(--ng-primary-foreground);
2187
+ border: 1px solid var(--ng-primary);
2188
+ border-radius: calc(var(--ng-radius) - 2px);
2189
+ padding: 8px 16px;
2190
+ font-size: 13.5px;
2191
+ font-weight: 500;
2192
+ cursor: pointer;
2193
+ }
2194
+
2195
+ .editor-form-submit:hover {
2196
+ opacity: 0.9;
2197
+ }
2198
+
2199
+ .editor-form-status {
2200
+ font-size: 12.5px;
2201
+ color: var(--ng-muted-foreground);
2202
+ }
2203
+
2204
+ /* ── Embedded Audio Player Card (shadcn/ui) ─────────────────────── */
2205
+ .editor-audio-builder,
2206
+ .editor-audio-card {
2207
+ background: var(--ng-card);
2208
+ color: var(--ng-card-foreground);
2209
+ border: 1px solid var(--ng-border);
2210
+ border-radius: var(--ng-radius);
2211
+ padding: 14px;
2212
+ margin: 12px 0;
2213
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2214
+ }
2215
+
2216
+ .editor-audio-inputs {
2217
+ display: grid;
2218
+ grid-template-columns: 1fr 1fr;
2219
+ gap: 8px;
2220
+ margin-bottom: 10px;
2221
+ }
2222
+
2223
+ .editor-audio-preview {
2224
+ padding-top: 4px;
2225
+ }
2226
+
2227
+ .editor-audio-card {
2228
+ display: flex;
2229
+ align-items: center;
2230
+ gap: 14px;
2231
+ }
2232
+
2233
+ .editor-audio-cover {
2234
+ width: 64px;
2235
+ height: 64px;
2236
+ border-radius: calc(var(--ng-radius) - 2px);
2237
+ object-fit: cover;
2238
+ flex-shrink: 0;
2239
+ border: 1px solid var(--ng-border);
2240
+ }
2241
+
2242
+ .editor-audio-cover-placeholder {
2243
+ display: flex;
2244
+ align-items: center;
2245
+ justify-content: center;
2246
+ background: var(--ng-muted);
2247
+ color: var(--ng-muted-foreground);
2248
+ font-size: 22px;
2249
+ }
2250
+
2251
+ .editor-audio-body {
2252
+ flex: 1;
2253
+ min-width: 0;
2254
+ display: grid;
2255
+ gap: 4px;
2256
+ }
2257
+
2258
+ .editor-audio-title {
2259
+ font-size: 14px;
2260
+ font-weight: 600;
2261
+ color: var(--ng-foreground);
2262
+ overflow: hidden;
2263
+ text-overflow: ellipsis;
2264
+ white-space: nowrap;
2265
+ }
2266
+
2267
+ .editor-audio-artist {
2268
+ font-size: 12.5px;
2269
+ color: var(--ng-muted-foreground);
2270
+ }
2271
+
2272
+ .editor-audio-element {
2273
+ width: 100%;
2274
+ height: 36px;
2275
+ margin-top: 4px;
2276
+ }
2277
+
2278
+ /* ── Audio Audio Card & Music Carousel ──────────────────── */
2279
+ .editor-audio-card {
2280
+ display: flex;
2281
+ align-items: center;
2282
+ gap: 14px;
2283
+ padding: 14px 16px;
2284
+ margin: 12px 0;
2285
+ border-radius: 16px;
2286
+ background: var(--ng-card);
2287
+ color: var(--ng-card-foreground);
2288
+ border: 1px solid var(--ng-border);
2289
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
2290
+ transition: border-color 150ms ease, transform 150ms ease;
2291
+ }
2292
+
2293
+ .editor-audio-card.is-playing {
2294
+ border-color: #1db954;
2295
+ }
2296
+
2297
+ .editor-audio-cover {
2298
+ width: 64px;
2299
+ height: 64px;
2300
+ border-radius: 12px;
2301
+ object-fit: cover;
2302
+ flex-shrink: 0;
2303
+ border: 1px solid var(--ng-border);
2304
+ }
2305
+
2306
+ .editor-audio-cover-placeholder {
2307
+ display: flex;
2308
+ align-items: center;
2309
+ justify-content: center;
2310
+ background: var(--ng-muted);
2311
+ color: var(--ng-muted-foreground);
2312
+ font-size: 24px;
2313
+ }
2314
+
2315
+ .editor-audio-main {
2316
+ flex: 1;
2317
+ min-width: 0;
2318
+ display: grid;
2319
+ gap: 10px;
2320
+ }
2321
+
2322
+ .editor-audio-top {
2323
+ display: flex;
2324
+ align-items: center;
2325
+ justify-content: space-between;
2326
+ gap: 12px;
2327
+ }
2328
+
2329
+ .editor-audio-meta {
2330
+ min-width: 0;
2331
+ }
2332
+
2333
+ .editor-audio-title {
2334
+ font-size: 14.5px;
2335
+ font-weight: 600;
2336
+ color: var(--ng-foreground);
2337
+ overflow: hidden;
2338
+ text-overflow: ellipsis;
2339
+ white-space: nowrap;
2340
+ }
2341
+
2342
+ .editor-audio-artist {
2343
+ font-size: 12.5px;
2344
+ color: var(--ng-muted-foreground);
2345
+ overflow: hidden;
2346
+ text-overflow: ellipsis;
2347
+ white-space: nowrap;
2348
+ }
2349
+
2350
+ .editor-audio-play {
2351
+ width: 38px;
2352
+ height: 38px;
2353
+ border-radius: 999px;
2354
+ border: none;
2355
+ background: #1db954;
2356
+ color: #09090b;
2357
+ font-size: 13px;
2358
+ font-weight: 700;
2359
+ display: inline-flex;
2360
+ align-items: center;
2361
+ justify-content: center;
2362
+ cursor: pointer;
2363
+ flex-shrink: 0;
2364
+ transition: transform 120ms ease, opacity 120ms ease;
2365
+ }
2366
+
2367
+ .editor-audio-play:hover {
2368
+ transform: scale(1.06);
2369
+ }
2370
+
2371
+ .editor-audio-controls {
2372
+ display: flex;
2373
+ align-items: center;
2374
+ gap: 8px;
2375
+ }
2376
+
2377
+ .editor-audio-time {
2378
+ font-size: 11px;
2379
+ font-variant-numeric: tabular-nums;
2380
+ color: var(--ng-muted-foreground);
2381
+ min-width: 30px;
2382
+ }
2383
+
2384
+ .editor-audio-progress {
2385
+ flex: 1;
2386
+ height: 5px;
2387
+ border-radius: 999px;
2388
+ background: var(--ng-muted);
2389
+ overflow: hidden;
2390
+ cursor: pointer;
2391
+ }
2392
+
2393
+ .editor-audio-progress-fill {
2394
+ width: 0%;
2395
+ height: 100%;
2396
+ border-radius: 999px;
2397
+ background: #1db954;
2398
+ transition: width 100ms linear;
2399
+ }
2400
+
2401
+ .editor-audio-audio {
2402
+ display: none;
2403
+ }
2404
+
2405
+ .editor-music-carousel {
2406
+ margin: 16px 0;
2407
+ }
2408
+
2409
+ .editor-music-carousel-head {
2410
+ font-size: 14px;
2411
+ font-weight: 600;
2412
+ color: var(--ng-foreground);
2413
+ margin-bottom: 10px;
2414
+ }
2415
+
2416
+ .editor-music-carousel-track {
2417
+ display: flex;
2418
+ gap: 14px;
2419
+ overflow-x: auto;
2420
+ scroll-snap-type: x mandatory;
2421
+ padding-bottom: 8px;
2422
+ }
2423
+
2424
+ .editor-audio-card.is-compact {
2425
+ flex: 0 0 290px;
2426
+ margin: 0;
2427
+ scroll-snap-align: start;
2428
+ }
2429
+
2430
+ .editor-music-track-row {
2431
+ display: grid;
2432
+ grid-template-columns: 1fr 0.9fr 1.3fr 1fr auto;
2433
+ gap: 6px;
2434
+ align-items: center;
2435
+ }
2436
+
2437
+ /* ── To-Do List & Eisenhower Matrix (shadcn/ui) ─────────────────── */
2438
+ .editor-todo-row {
2439
+ display: grid;
2440
+ grid-template-columns: auto 1fr auto auto;
2441
+ gap: 8px;
2442
+ align-items: center;
2443
+ }
2444
+
2445
+ .editor-todo-card,
2446
+ .editor-eisenhower-builder,
2447
+ .editor-eisenhower-block {
2448
+ background: var(--ng-card);
2449
+ color: var(--ng-card-foreground);
2450
+ border: 1px solid var(--ng-border);
2451
+ border-radius: var(--ng-radius);
2452
+ padding: 16px;
2453
+ margin: 14px 0;
2454
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2455
+ }
2456
+
2457
+ .editor-todo-card-head {
2458
+ display: flex;
2459
+ align-items: center;
2460
+ justify-content: space-between;
2461
+ margin-bottom: 12px;
2462
+ }
2463
+
2464
+ .editor-todo-progress {
2465
+ font-size: 12px;
2466
+ font-weight: 500;
2467
+ padding: 2px 8px;
2468
+ border-radius: 999px;
2469
+ background: var(--ng-muted);
2470
+ color: var(--ng-muted-foreground);
2471
+ }
2472
+
2473
+ .editor-todo-items {
2474
+ display: grid;
2475
+ gap: 8px;
2476
+ }
2477
+
2478
+ .editor-todo-item,
2479
+ .editor-eisenhower-check {
2480
+ display: flex;
2481
+ align-items: center;
2482
+ gap: 8px;
2483
+ font-size: 13.5px;
2484
+ cursor: pointer;
2485
+ }
2486
+
2487
+ .editor-todo-item.is-done span:first-of-type,
2488
+ .editor-eisenhower-check.is-done span {
2489
+ text-decoration: line-through;
2490
+ color: var(--ng-muted-foreground);
2491
+ }
2492
+
2493
+ .editor-todo-prio {
2494
+ margin-left: auto;
2495
+ font-size: 11px;
2496
+ font-weight: 500;
2497
+ padding: 2px 7px;
2498
+ border-radius: 999px;
2499
+ background: var(--ng-muted);
2500
+ color: var(--ng-muted-foreground);
2501
+ text-transform: capitalize;
2502
+ }
2503
+
2504
+ .editor-todo-prio.is-high {
2505
+ background: rgba(239, 68, 68, 0.14);
2506
+ color: #ef4444;
2507
+ }
2508
+
2509
+ .editor-todo-prio.is-medium {
2510
+ background: rgba(234, 179, 8, 0.14);
2511
+ color: #ca8a04;
2512
+ }
2513
+
2514
+ .editor-eisenhower-title {
2515
+ margin: 0 0 12px;
2516
+ font-size: 16px;
2517
+ font-weight: 600;
2518
+ }
2519
+
2520
+ .editor-eisenhower-grid {
2521
+ display: grid;
2522
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2523
+ gap: 12px;
2524
+ }
2525
+
2526
+ @media (max-width: 640px) {
2527
+ .editor-eisenhower-grid {
2528
+ grid-template-columns: 1fr;
2529
+ }
2530
+ }
2531
+
2532
+ .editor-eisenhower-card {
2533
+ border: 1px solid var(--ng-border);
2534
+ border-radius: calc(var(--ng-radius) - 2px);
2535
+ padding: 12px;
2536
+ background: var(--ng-background);
2537
+ }
2538
+
2539
+ .editor-eisenhower-card.is-doFirst {
2540
+ border-top: 3px solid #ef4444;
2541
+ }
2542
+
2543
+ .editor-eisenhower-card.is-schedule {
2544
+ border-top: 3px solid #3b82f6;
2545
+ }
2546
+
2547
+ .editor-eisenhower-card.is-delegate {
2548
+ border-top: 3px solid #eab308;
2549
+ }
2550
+
2551
+ .editor-eisenhower-card.is-eliminate {
2552
+ border-top: 3px solid #71717a;
2553
+ }
2554
+
2555
+ .editor-eisenhower-head {
2556
+ display: flex;
2557
+ align-items: baseline;
2558
+ justify-content: space-between;
2559
+ gap: 8px;
2560
+ margin-bottom: 10px;
2561
+ }
2562
+
2563
+ .editor-eisenhower-head strong {
2564
+ font-size: 13.5px;
2565
+ font-weight: 600;
2566
+ }
2567
+
2568
+ .editor-eisenhower-head span {
2569
+ font-size: 11px;
2570
+ color: var(--ng-muted-foreground);
2571
+ }
2572
+
2573
+ .editor-eisenhower-list,
2574
+ .editor-eisenhower-items {
2575
+ display: grid;
2576
+ gap: 6px;
2577
+ }
2578
+
2579
+ .editor-eisenhower-item-row {
2580
+ display: grid;
2581
+ grid-template-columns: auto 1fr auto;
2582
+ gap: 6px;
2583
+ align-items: center;
2584
+ }
2585
+
2586
+ .editor-eisenhower-empty {
2587
+ font-size: 12px;
2588
+ color: var(--ng-muted-foreground);
2589
+ }
2590
+
2591
+ /* ── Interactive Poll & FAQ Accordion (shadcn/ui) ───────────────── */
2592
+ .editor-poll-idx {
2593
+ font-size: 12px;
2594
+ color: var(--ng-muted-foreground);
2595
+ min-width: 18px;
2596
+ }
2597
+
2598
+ .editor-poll-card,
2599
+ .editor-faq-card {
2600
+ background: var(--ng-card);
2601
+ color: var(--ng-card-foreground);
2602
+ border: 1px solid var(--ng-border);
2603
+ border-radius: var(--ng-radius);
2604
+ padding: 16px;
2605
+ margin: 14px 0;
2606
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2607
+ }
2608
+
2609
+ .editor-poll-question,
2610
+ .editor-faq-title {
2611
+ margin: 0 0 12px;
2612
+ font-size: 15.5px;
2613
+ font-weight: 600;
2614
+ }
2615
+
2616
+ .editor-poll-options {
2617
+ display: grid;
2618
+ gap: 8px;
2619
+ }
2620
+
2621
+ .editor-poll-option {
2622
+ position: relative;
2623
+ display: flex;
2624
+ align-items: center;
2625
+ justify-content: space-between;
2626
+ gap: 10px;
2627
+ width: 100%;
2628
+ padding: 10px 12px;
2629
+ border-radius: calc(var(--ng-radius) - 2px);
2630
+ border: 1px solid var(--ng-border);
2631
+ background: var(--ng-background);
2632
+ color: var(--ng-foreground);
2633
+ font-size: 13.5px;
2634
+ cursor: pointer;
2635
+ overflow: hidden;
2636
+ text-align: left;
2637
+ }
2638
+
2639
+ .editor-poll-option.is-selected {
2640
+ border-color: var(--ng-ring);
2641
+ }
2642
+
2643
+ .editor-poll-bar {
2644
+ position: absolute;
2645
+ inset: 0 auto 0 0;
2646
+ background: var(--ng-muted);
2647
+ transition: width 220ms ease;
2648
+ z-index: 0;
2649
+ }
2650
+
2651
+ .editor-poll-label,
2652
+ .editor-poll-stat {
2653
+ position: relative;
2654
+ z-index: 1;
2655
+ }
2656
+
2657
+ .editor-poll-stat {
2658
+ font-size: 12px;
2659
+ color: var(--ng-muted-foreground);
2660
+ font-variant-numeric: tabular-nums;
2661
+ }
2662
+
2663
+ .editor-poll-total {
2664
+ margin-top: 10px;
2665
+ font-size: 12px;
2666
+ color: var(--ng-muted-foreground);
2667
+ }
2668
+
2669
+ .editor-faq-editor-item {
2670
+ display: grid;
2671
+ gap: 6px;
2672
+ padding: 10px;
2673
+ border: 1px solid var(--ng-border);
2674
+ border-radius: calc(var(--ng-radius) - 2px);
2675
+ background: var(--ng-background);
2676
+ }
2677
+
2678
+ .editor-faq-item {
2679
+ border-bottom: 1px solid var(--ng-border);
2680
+ padding: 10px 0;
2681
+ }
2682
+
2683
+ .editor-faq-item:last-child {
2684
+ border-bottom: none;
2685
+ padding-bottom: 0;
2686
+ }
2687
+
2688
+ .editor-faq-summary {
2689
+ font-size: 14px;
2690
+ font-weight: 500;
2691
+ cursor: pointer;
2692
+ list-style: none;
2693
+ }
2694
+
2695
+ .editor-faq-answer {
2696
+ margin-top: 8px;
2697
+ font-size: 13.5px;
2698
+ color: var(--ng-muted-foreground);
2699
+ line-height: 1.55;
2700
+ }
2701
+
2702
+ /* ── Interactive Quiz Card (shadcn/ui + Green/Red Feedback) ─────── */
2703
+ .editor-quiz-card {
2704
+ background: var(--ng-card);
2705
+ color: var(--ng-card-foreground);
2706
+ border: 1px solid var(--ng-border);
2707
+ border-radius: var(--ng-radius);
2708
+ padding: 16px;
2709
+ margin: 14px 0;
2710
+ box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
2711
+ }
2712
+
2713
+ .editor-quiz-head {
2714
+ display: flex;
2715
+ align-items: center;
2716
+ justify-content: space-between;
2717
+ gap: 10px;
2718
+ margin-bottom: 14px;
2719
+ }
2720
+
2721
+ .editor-quiz-meta {
2722
+ display: flex;
2723
+ align-items: center;
2724
+ gap: 8px;
2725
+ }
2726
+
2727
+ .editor-quiz-score {
2728
+ font-size: 12px;
2729
+ font-weight: 500;
2730
+ padding: 2px 8px;
2731
+ border-radius: 999px;
2732
+ background: var(--ng-muted);
2733
+ color: var(--ng-muted-foreground);
2734
+ font-variant-numeric: tabular-nums;
2735
+ }
2736
+
2737
+ .editor-quiz-reset {
2738
+ font-size: 12px;
2739
+ padding: 3px 9px;
2740
+ border-radius: calc(var(--ng-radius) - 2px);
2741
+ border: 1px solid var(--ng-border);
2742
+ background: var(--ng-secondary);
2743
+ color: var(--ng-secondary-foreground);
2744
+ cursor: pointer;
2745
+ }
2746
+
2747
+ .editor-quiz-list {
2748
+ display: grid;
2749
+ gap: 16px;
2750
+ }
2751
+
2752
+ .editor-quiz-q-text {
2753
+ font-size: 14.5px;
2754
+ font-weight: 600;
2755
+ margin-bottom: 8px;
2756
+ }
2757
+
2758
+ .editor-quiz-options {
2759
+ display: grid;
2760
+ gap: 6px;
2761
+ }
2762
+
2763
+ .editor-quiz-option {
2764
+ width: 100%;
2765
+ text-align: left;
2766
+ padding: 9px 12px;
2767
+ border-radius: calc(var(--ng-radius) - 2px);
2768
+ border: 1px solid var(--ng-border);
2769
+ background: var(--ng-background);
2770
+ color: var(--ng-foreground);
2771
+ font-size: 13.5px;
2772
+ cursor: pointer;
2773
+ transition: border-color 120ms ease, background-color 120ms ease;
2774
+ }
2775
+
2776
+ .editor-quiz-option:hover {
2777
+ background: var(--ng-accent);
2778
+ }
2779
+
2780
+ .editor-quiz-option.is-correct {
2781
+ border-color: #22c55e;
2782
+ background: rgba(34, 197, 94, 0.14);
2783
+ color: #16a34a;
2784
+ font-weight: 600;
2785
+ }
2786
+
2787
+ .editor-quiz-option.is-wrong {
2788
+ border-color: #ef4444;
2789
+ background: rgba(239, 68, 68, 0.14);
2790
+ color: #dc2626;
2791
+ font-weight: 600;
2792
+ }
2793
+
2794
+ .editor-quiz-feedback {
2795
+ margin-top: 6px;
2796
+ font-size: 12.5px;
2797
+ font-weight: 600;
2798
+ }
2799
+
2800
+ .editor-quiz-feedback.is-correct {
2801
+ color: #16a34a;
2802
+ }
2803
+
2804
+ .editor-quiz-feedback.is-wrong {
2805
+ color: #dc2626;
2806
+ }
2807
+
2808
+ .editor-quiz-explanation {
2809
+ margin-top: 4px;
2810
+ font-size: 12.5px;
2811
+ color: var(--ng-muted-foreground);
2812
+ }
2813
+
2814
+ /* ── Kanban Board & Focus Timer (shadcn/ui) ─────────────────────── */
2815
+ .editor-kanban-topbar {
2816
+ display: grid;
2817
+ grid-template-columns: 1fr auto;
2818
+ gap: 8px;
2819
+ margin-bottom: 12px;
2820
+ }
2821
+
2822
+ .editor-kanban-board-edit,
2823
+ .editor-kanban-grid {
2824
+ display: grid;
2825
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
2826
+ gap: 12px;
2827
+ }
2828
+
2829
+ .editor-kanban-col,
2830
+ .editor-kanban-column {
2831
+ background: var(--ng-muted);
2832
+ border: 1px solid var(--ng-border);
2833
+ border-radius: var(--ng-radius);
2834
+ padding: 10px;
2835
+ display: grid;
2836
+ gap: 8px;
2837
+ align-content: start;
2838
+ }
2839
+
2840
+ .editor-kanban-col-head,
2841
+ .editor-kanban-column-head {
2842
+ display: flex;
2843
+ align-items: center;
2844
+ justify-content: space-between;
2845
+ gap: 6px;
2846
+ font-size: 13px;
2847
+ font-weight: 600;
2848
+ }
2849
+
2850
+ .editor-kanban-count {
2851
+ font-size: 11px;
2852
+ padding: 1px 7px;
2853
+ border-radius: 999px;
2854
+ background: var(--ng-background);
2855
+ color: var(--ng-muted-foreground);
2856
+ border: 1px solid var(--ng-border);
2857
+ }
2858
+
2859
+ .editor-kanban-cards,
2860
+ .editor-kanban-column-body {
2861
+ display: grid;
2862
+ gap: 6px;
2863
+ }
2864
+
2865
+ .editor-kanban-card-edit {
2866
+ display: grid;
2867
+ grid-template-columns: 1fr auto auto;
2868
+ gap: 4px;
2869
+ align-items: center;
2870
+ }
2871
+
2872
+ .editor-kanban-card {
2873
+ background: var(--ng-card);
2874
+ color: var(--ng-card-foreground);
2875
+ border: 1px solid var(--ng-border);
2876
+ border-radius: calc(var(--ng-radius) - 2px);
2877
+ padding: 8px 10px;
2878
+ font-size: 13px;
2879
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
2880
+ }
2881
+
2882
+ .editor-kanban-block {
2883
+ margin: 14px 0;
2884
+ }
2885
+
2886
+ .editor-kanban-title {
2887
+ margin: 0 0 10px;
2888
+ font-size: 16px;
2889
+ font-weight: 600;
2890
+ }
2891
+
2892
+ .editor-timer-edit-row {
2893
+ display: grid;
2894
+ grid-template-columns: 1fr 90px auto;
2895
+ gap: 8px;
2896
+ align-items: center;
2897
+ }
2898
+
2899
+ .editor-timer-card {
2900
+ background: var(--ng-card);
2901
+ color: var(--ng-card-foreground);
2902
+ border: 1px solid var(--ng-border);
2903
+ border-radius: var(--ng-radius);
2904
+ padding: 16px;
2905
+ margin: 14px 0;
2906
+ display: grid;
2907
+ gap: 12px;
2908
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
2909
+ }
2910
+
2911
+ .editor-timer-meta {
2912
+ display: flex;
2913
+ align-items: baseline;
2914
+ justify-content: space-between;
2915
+ gap: 12px;
2916
+ }
2917
+
2918
+ .editor-timer-label {
2919
+ font-size: 14.5px;
2920
+ font-weight: 600;
2921
+ }
2922
+
2923
+ .editor-timer-display {
2924
+ font-size: 28px;
2925
+ font-weight: 700;
2926
+ font-variant-numeric: tabular-nums;
2927
+ letter-spacing: -0.02em;
2928
+ }
2929
+
2930
+ .editor-timer-actions {
2931
+ display: flex;
2932
+ align-items: center;
2933
+ gap: 8px;
2934
+ }
2935
+
2936
+ .editor-timer-bar {
2937
+ height: 5px;
2938
+ border-radius: 999px;
2939
+ background: var(--ng-muted);
2940
+ overflow: hidden;
2941
+ }
2942
+
2943
+ .editor-timer-bar-fill {
2944
+ width: 0%;
2945
+ height: 100%;
2946
+ background: var(--ng-primary);
2947
+ transition: width 300ms linear;
2948
+ }
2949
+
2950
+ /* ── Smart Code Block, Syntax Highlighting & Table of Contents ──── */
2951
+ .editor-code-tool,
2952
+ .editor-code-block,
2953
+ .editor-toc-card {
2954
+ background: var(--ng-card);
2955
+ color: var(--ng-card-foreground);
2956
+ border: 1px solid var(--ng-border);
2957
+ border-radius: var(--ng-radius);
2958
+ margin: 14px 0;
2959
+ overflow: hidden;
2960
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
2961
+ }
2962
+
2963
+ .editor-code-header,
2964
+ .editor-code-block-head {
2965
+ display: flex;
2966
+ align-items: center;
2967
+ justify-content: space-between;
2968
+ gap: 8px;
2969
+ padding: 8px 12px;
2970
+ background: var(--ng-muted);
2971
+ border-bottom: 1px solid var(--ng-border);
2972
+ }
2973
+
2974
+ .editor-code-badge {
2975
+ font-size: 11.5px;
2976
+ font-weight: 600;
2977
+ color: var(--ng-muted-foreground);
2978
+ text-transform: uppercase;
2979
+ letter-spacing: 0.04em;
2980
+ }
2981
+
2982
+ .editor-code-select {
2983
+ width: auto !important;
2984
+ padding: 3px 8px !important;
2985
+ font-size: 12px !important;
2986
+ }
2987
+
2988
+ .editor-code-copy {
2989
+ font-size: 11.5px;
2990
+ font-weight: 500;
2991
+ padding: 3px 9px;
2992
+ border-radius: calc(var(--ng-radius) - 2px);
2993
+ border: 1px solid var(--ng-border);
2994
+ background: var(--ng-background);
2995
+ color: var(--ng-foreground);
2996
+ cursor: pointer;
2997
+ }
2998
+
2999
+ .editor-code-stage {
3000
+ position: relative;
3001
+ min-height: 96px;
3002
+ background: var(--ng-background);
3003
+ }
3004
+
3005
+ .editor-code-highlight,
3006
+ .editor-code-textarea {
3007
+ margin: 0;
3008
+ padding: 12px 14px;
3009
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
3010
+ font-size: 13px;
3011
+ line-height: 1.55;
3012
+ tab-size: 2;
3013
+ white-space: pre;
3014
+ overflow-x: auto;
3015
+ box-sizing: border-box;
3016
+ width: 100%;
3017
+ border: none;
3018
+ }
3019
+
3020
+ .editor-code-highlight {
3021
+ pointer-events: none;
3022
+ color: var(--ng-foreground);
3023
+ }
3024
+
3025
+ .editor-code-textarea {
3026
+ position: absolute;
3027
+ inset: 0;
3028
+ resize: none;
3029
+ background: transparent;
3030
+ color: transparent;
3031
+ caret-color: var(--ng-foreground);
3032
+ outline: none;
3033
+ }
3034
+
3035
+ .editor-code-block pre {
3036
+ margin: 0;
3037
+ padding: 12px 14px;
3038
+ overflow-x: auto;
3039
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
3040
+ font-size: 13px;
3041
+ line-height: 1.55;
3042
+ background: var(--ng-background);
3043
+ }
3044
+
3045
+ /* Syntax Token Colors (Light & Dark) */
3046
+ .hl-keyword { color: #9333ea; font-weight: 500; }
3047
+ .hl-string { color: #16a34a; }
3048
+ .hl-comment { color: #71717a; font-style: italic; }
3049
+ .hl-number { color: #d97706; }
3050
+ .hl-func { color: #2563eb; }
3051
+ .hl-type { color: #0891b2; }
3052
+ .hl-tag { color: #dc2626; }
3053
+
3054
+ .dark .hl-keyword, [data-theme='dark'] .hl-keyword { color: #c084fc; }
3055
+ .dark .hl-string, [data-theme='dark'] .hl-string { color: #4ade80; }
3056
+ .dark .hl-comment, [data-theme='dark'] .hl-comment { color: #71717a; }
3057
+ .dark .hl-number, [data-theme='dark'] .hl-number { color: #fbbf24; }
3058
+ .dark .hl-func, [data-theme='dark'] .hl-func { color: #60a5fa; }
3059
+ .dark .hl-type, [data-theme='dark'] .hl-type { color: #22d3ee; }
3060
+ .dark .hl-tag, [data-theme='dark'] .hl-tag { color: #f87171; }
3061
+
3062
+ /* Table of Contents */
3063
+ .editor-toc-card {
3064
+ padding: 14px 16px;
3065
+ }
3066
+
3067
+ .editor-toc-title {
3068
+ font-size: 14px;
3069
+ font-weight: 600;
3070
+ margin-bottom: 8px;
3071
+ }
3072
+
3073
+ .editor-toc-list {
3074
+ list-style: none;
3075
+ margin: 0;
3076
+ padding: 0;
3077
+ display: grid;
3078
+ gap: 5px;
3079
+ }
3080
+
3081
+ .editor-toc-item a {
3082
+ font-size: 13.5px;
3083
+ color: var(--ng-muted-foreground);
3084
+ text-decoration: none;
3085
+ }
3086
+
3087
+ .editor-toc-item a:hover {
3088
+ color: var(--ng-foreground);
3089
+ text-decoration: underline;
3090
+ }
3091
+
3092
+ .editor-toc-item.level-2 { padding-left: 10px; }
3093
+ .editor-toc-item.level-3 { padding-left: 22px; }
3094
+ .editor-toc-item.level-4 { padding-left: 34px; }
3095
+
3096
+ .editor-toc-empty {
3097
+ font-size: 12.5px;
3098
+ color: var(--ng-muted-foreground);
3099
+ }
3100
+
3101
+ /* ── Data Chart & Footnotes (shadcn/ui) ─────────────────────────── */
3102
+ .editor-chart-row {
3103
+ display: grid;
3104
+ grid-template-columns: 1.4fr 0.8fr auto;
3105
+ gap: 6px;
3106
+ align-items: center;
3107
+ }
3108
+
3109
+ .editor-footnote-row {
3110
+ display: grid;
3111
+ grid-template-columns: auto 1.4fr 1.2fr auto;
3112
+ gap: 6px;
3113
+ align-items: center;
3114
+ }
3115
+
3116
+ .editor-chart-card,
3117
+ .editor-footnotes-card,
3118
+ .editor-chart-preview {
3119
+ background: var(--ng-card);
3120
+ color: var(--ng-card-foreground);
3121
+ border: 1px solid var(--ng-border);
3122
+ border-radius: var(--ng-radius);
3123
+ padding: 16px;
3124
+ margin: 14px 0;
3125
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
3126
+ }
3127
+
3128
+ .editor-chart-preview {
3129
+ margin: 0;
3130
+ background: var(--ng-background);
3131
+ }
3132
+
3133
+ .editor-chart-title,
3134
+ .editor-footnotes-title {
3135
+ font-size: 14.5px;
3136
+ font-weight: 600;
3137
+ margin-bottom: 10px;
3138
+ }
3139
+
3140
+ .editor-chart-svg {
3141
+ width: 100%;
3142
+ height: auto;
3143
+ display: block;
3144
+ }
3145
+
3146
+ .editor-footnotes-list {
3147
+ margin: 0;
3148
+ padding-left: 20px;
3149
+ display: grid;
3150
+ gap: 6px;
3151
+ font-size: 13px;
3152
+ color: var(--ng-muted-foreground);
3153
+ }
3154
+
3155
+ .editor-footnotes-list a {
3156
+ color: var(--ng-foreground);
3157
+ text-decoration: underline;
3158
+ word-break: break-all;
3159
+ }
3160
+
3161
+ /* ── Page Cover & Header (shadcn/ui) ────────────────────────────── */
3162
+ .editor-cover-builder,
3163
+ .editor-cover-card {
3164
+ background: var(--ng-card);
3165
+ color: var(--ng-card-foreground);
3166
+ border: 1px solid var(--ng-border);
3167
+ border-radius: var(--ng-radius);
3168
+ overflow: hidden;
3169
+ margin: 0 0 16px;
3170
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
3171
+ }
3172
+
3173
+ .editor-cover-banner {
3174
+ width: 100%;
3175
+ height: 150px;
3176
+ background: linear-gradient(135deg, #27272a 0%, #52525b 100%);
3177
+ }
3178
+
3179
+ .editor-cover-icon {
3180
+ width: 56px;
3181
+ height: 56px;
3182
+ margin: -28px 0 0 20px;
3183
+ border-radius: 12px;
3184
+ background: var(--ng-card);
3185
+ border: 1px solid var(--ng-border);
3186
+ display: flex;
3187
+ align-items: center;
3188
+ justify-content: center;
3189
+ font-size: 28px;
3190
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
3191
+ position: relative;
3192
+ z-index: 1;
3193
+ }
3194
+
3195
+ .editor-cover-controls {
3196
+ display: flex;
3197
+ flex-wrap: wrap;
3198
+ align-items: center;
3199
+ gap: 8px;
3200
+ padding: 10px 20px 0;
3201
+ }
3202
+
3203
+ .editor-cover-controls .editor-form-input {
3204
+ flex: 1;
3205
+ min-width: 160px;
3206
+ }
3207
+
3208
+ .editor-cover-presets {
3209
+ display: inline-flex;
3210
+ align-items: center;
3211
+ gap: 6px;
3212
+ }
3213
+
3214
+ .editor-cover-meta {
3215
+ padding: 12px 20px 18px;
3216
+ }
3217
+
3218
+ .editor-cover-title,
3219
+ .editor-cover-title-input {
3220
+ margin: 0;
3221
+ font-size: 26px;
3222
+ font-weight: 700;
3223
+ letter-spacing: -0.025em;
3224
+ color: var(--ng-foreground);
3225
+ }
3226
+
3227
+ .editor-cover-title-input,
3228
+ .editor-cover-sub-input {
3229
+ width: 100%;
3230
+ border: none;
3231
+ outline: none;
3232
+ background: transparent;
3233
+ font-family: inherit;
3234
+ display: block;
3235
+ }
3236
+
3237
+ .editor-cover-subtitle,
3238
+ .editor-cover-sub-input {
3239
+ margin: 4px 0 0;
3240
+ font-size: 14px;
3241
+ color: var(--ng-muted-foreground);
3242
+ }