:root{--cel-brand:#f37726;--cel-idle:#b9b5ad;--cel-running:#f2b33d;--cel-done:#0f9d94;--cel-error:#f0634f;--cel-ink:#1e2a38;--cel-ink-muted:#6b6a66;--cel-glint:#fff}[data-theme=berkeley],[data-theme=dark]{--cel-idle:#7d8da3;--cel-ink:#f7f9fd;--cel-ink-muted:#bac4d4;--cel-glint:#00183a}.cel{--cel-bracket:var(--cel-brand);vertical-align:-.15em;flex:none;width:1.2em;height:1em;display:inline-block;overflow:visible}.cel-bracket{fill:none;stroke:var(--cel-bracket);stroke-width:11px;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s}.cel-eyes{fill:var(--cel-ink);transition:transform .2s}.cel-glints{fill:var(--cel-glint)}.cel-face{fill:none;stroke:var(--cel-ink);stroke-width:3.5px;stroke-linecap:round}.cel-dashes{stroke:var(--cel-ink-muted);stroke-width:4px}.cel-crosses{stroke-opacity:.6}.cel-spark{fill:none;stroke:var(--cel-running);stroke-width:3.5px;stroke-linecap:round;transform-origin:60px 25px}.cel-stack{fill:var(--cel-ink);fill-opacity:.18}.cel .cel-dashes,.cel .cel-crosses,.cel .cel-smile,.cel .cel-frown,.cel .cel-spark,.cel .cel-stack{display:none}.cel[data-state=idle]{--cel-bracket:var(--cel-idle)}.cel[data-state=idle] .cel-eyes,.cel[data-state=idle] .cel-glints{display:none}.cel[data-state=idle] .cel-dashes{display:inline}.cel[data-state=running]{--cel-bracket:var(--cel-running)}.cel[data-state=running] .cel-glints{display:none}.cel[data-state=running] .cel-eyes{transform:translate(2px,-4px)}.cel[data-state=running] .cel-spark{animation:1.6s linear infinite cel-spin;display:inline}.cel[data-state=done]{--cel-bracket:var(--cel-done)}.cel[data-state=done] .cel-smile{display:inline}.cel[data-state=error]{--cel-bracket:var(--cel-error)}.cel[data-state=error] .cel-frown{display:inline}.cel[data-state=removed]{--cel-bracket:var(--cel-error)}.cel[data-state=removed] .cel-eyes,.cel[data-state=removed] .cel-glints{display:none}.cel[data-state=removed] .cel-crosses{display:inline}.cel[data-state=grouped]{--cel-bracket:var(--cel-running)}.cel[data-state=grouped] .cel-stack{display:inline}@keyframes cel-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.cel-spark{animation:none!important}}@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/datascience/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/datascience/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/datascience/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/datascience/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/datascience/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/datascience/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/datascience/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/datascience/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/datascience/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/datascience/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/datascience/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/datascience/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/datascience/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/datascience/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/datascience/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/datascience/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/datascience/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/datascience/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/datascience/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/datascience/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/datascience/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/datascience/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/datascience/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/datascience/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/datascience/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/datascience/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/datascience/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/datascience/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/datascience/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/datascience/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/datascience/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/datascience/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/datascience/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/datascience/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/datascience/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/datascience/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/datascience/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/datascience/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/datascience/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/datascience/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/datascience/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/datascience/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/datascience/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;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1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/datascience/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/datascience/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/datascience/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/datascience/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/datascience/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/datascience/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/datascience/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.16.28"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}.notebook-cells-container{--prompt-width:4.75rem;outline:none;flex-direction:column;flex:1;gap:.25rem;min-height:0;padding:1rem 1.25rem 2rem .75rem;display:flex;overflow-y:auto}.nb-cell{border-left:3px solid #0000;border-radius:3px 0 0 3px;padding-left:.5rem;transition:border-color .12s,background-color .12s;position:relative}.nb-cell.selected{border-left-color:var(--border-strong)}.notebook-cells-container:focus .nb-cell.selected{border-left-color:var(--accent);background:var(--accent-soft)}.cell-row{align-items:flex-start;gap:.6rem;display:flex}.cell-prompt{flex:0 0 var(--prompt-width);flex-direction:column;align-items:flex-end;gap:.3rem;min-width:0;padding-top:.55rem;display:flex}.prompt-label{font-family:var(--font-mono);color:var(--prompt-in,var(--text-tertiary));white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.72rem}.prompt-out{color:var(--prompt-out,var(--accent-hover))}.cell-body{flex:1;min-width:0}.markdown-preview-only{color:var(--text-primary);cursor:text;border-radius:var(--radius-control);outline:none;min-height:2.5rem;padding:.5rem .75rem;font-size:.9375rem;line-height:1.6;animation:.15s ease-out both fade-in}.markdown-preview-only:focus-visible{box-shadow:inset 0 0 0 2px var(--outline-focus)}.markdown-preview-placeholder{color:var(--text-tertiary)}.markdown-preview-only p{margin:0 0 .6rem}.markdown-preview-only p:last-child{margin-bottom:0}.markdown-preview-only h1,.markdown-preview-only h2,.markdown-preview-only h3{font-family:var(--font-sans);color:var(--text-primary);font-weight:700}.markdown-preview-only h1{margin:0 0 .6rem;font-size:1.5rem;line-height:1.2}.markdown-preview-only h2{margin:0 0 .5rem;font-size:1.3rem;line-height:1.25}.markdown-preview-only h3{margin:.6rem 0 .3rem;font-size:1.1rem}.markdown-preview-only ul,.markdown-preview-only ol{margin:.25rem 0 .6rem;padding-left:1.4rem}.markdown-preview-only li{margin-bottom:.35rem}.markdown-preview-only li::marker{color:var(--text-tertiary)}.markdown-preview-only strong{font-weight:600}.markdown-preview-only code{font-family:var(--font-mono);background:var(--accent-soft);color:var(--accent-hover);border-radius:4px;padding:.1em .35em;font-size:.85em}.markdown-preview-only pre{background:var(--bg-panel-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-control);margin:.6rem 0;padding:.85rem 1rem;font-size:.8125rem;line-height:1.55;overflow-x:auto}.markdown-preview-only pre code{background:0 0;padding:0}.markdown-preview-only a{color:var(--accent-hover);text-underline-offset:2px;text-decoration:underline}.markdown-preview-only blockquote{border-left:2px solid var(--border-strong);color:var(--text-secondary);margin:.6rem 0;padding-left:.9rem}.markdown-preview-only .katex,.markdown-preview-only .katex-display{color:var(--text-primary)}.markdown-input{width:100%;min-height:60px;font-family:var(--font-mono);color:var(--text-primary);background:var(--editor-bg);border:1px solid var(--border-strong);border-radius:var(--radius-control);resize:vertical;outline:none;padding:.6rem .9rem;font-size:.85rem;line-height:1.55;display:block}.markdown-input::placeholder{color:var(--text-tertiary)}.markdown-input:focus{border-color:var(--outline-focus);box-shadow:0 0 0 3px var(--accent-muted)}.cell-btn{border-radius:6px;gap:.35rem;min-height:28px;padding:0 .6rem;font-size:.8rem;font-weight:500}.cell-btn svg{width:12px;height:12px}.cell-btn-run{background:var(--primary-bg);color:var(--primary-fg);border-color:var(--primary-bg)}.cell-btn-run:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover);color:var(--primary-fg)}.code-cell{position:relative}.cell-editor{border:1px solid var(--border-subtle);border-radius:var(--radius-control);background:var(--editor-bg);flex:1;min-width:0;transition:border-color .15s,box-shadow .15s;overflow:hidden}.code-cell:focus-within .cell-editor{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.code-cell.is-running .cell-editor{border-color:var(--accent)}.code-cell.is-running .prompt-label{color:var(--accent-hover)}.cell-editor .monaco-editor,.cell-editor .monaco-editor-background,.cell-editor .monaco-editor .margin{background-color:var(--editor-bg)!important}.cell-gutter-actions{gap:.2rem;display:flex}.gutter-btn{width:22px;height:22px;min-height:0;color:var(--text-tertiary);background:0 0;border-color:#0000;border-radius:5px;padding:0}.gutter-btn:hover:not(:disabled){background:var(--bg-sunken);color:var(--text-primary);border-color:#0000}.gutter-btn-run:hover:not(:disabled){color:var(--accent-hover)}.gutter-btn-delete{opacity:0}.code-cell:hover .gutter-btn-delete,.code-cell:focus-within .gutter-btn-delete,.gutter-btn-delete:focus-visible{opacity:1}.gutter-btn-delete:hover:not(:disabled){color:var(--danger)}.cell-output{flex-direction:column;gap:.15rem;margin-top:.35rem;animation:.2s ease-out both fade-in;display:flex}.output-row .cell-prompt{padding-top:.35rem}.output-body{flex:1;min-width:0;padding:.3rem .75rem .3rem 17px}.output-stream,.output-result,.output-error .error-message{font-family:var(--font-mono);color:var(--text-primary);white-space:pre;margin:0;font-size:.8125rem;line-height:1.55;overflow-x:auto}.output-stderr{color:var(--accent-hover)}.output-result{padding-top:.05rem}.output-image{border-radius:4px;max-width:100%;height:auto;display:block}.output-error{border-radius:var(--radius-control);border:1px solid var(--danger);background:var(--danger-bg);padding:.7rem .9rem}.output-error .error-message{white-space:pre-wrap;word-break:break-word}.output-error .error-help{border-top:1px solid var(--border-subtle);font-family:var(--font-sans);color:var(--text-secondary);margin-top:.7rem;padding-top:.7rem;font-size:.82rem}.output-error .error-help strong{color:var(--text-primary);margin-bottom:.3rem;font-weight:600;display:block}.output-error .error-help ul{margin-left:1.1rem}.output-error .error-help li{margin-bottom:.25rem}.output-error .error-help code{font-family:var(--font-mono);background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:4px;padding:.05em .3em;font-size:.85em}.cell-insert{height:1.25rem;margin:.2rem 0 .2rem calc(var(--prompt-width) + .6rem);justify-content:center;align-items:center;gap:.35rem;display:flex;position:relative}.cell-insert:before{content:"";background:var(--border-subtle);opacity:0;height:1px;transition:opacity .15s;position:absolute;top:50%;left:0;right:0}.insert-btn{background:var(--bg-panel-muted);height:1.25rem;min-height:0;color:var(--text-tertiary);opacity:0;border-radius:999px;gap:.3rem;padding:0 .5rem;font-size:.7rem;transition:opacity .15s;position:relative}.cell-insert:hover:before,.code-cell:last-of-type .cell-insert:before,.cell-insert:focus-within:before,.cell-insert:hover .insert-btn,.code-cell:last-of-type .insert-btn,.insert-btn:focus-visible{opacity:1}.insert-btn:hover:not(:disabled){color:var(--text-primary);border-color:var(--text-tertiary)}.notebook-hint{margin:1rem 0 0 calc(var(--prompt-width) + 1.1rem);color:var(--text-tertiary);flex-wrap:wrap;gap:.35rem 1rem;font-size:.72rem;display:flex}.notebook-hint kbd{font-family:var(--font-mono);border:1px solid var(--border-strong);background:var(--bg-panel);color:var(--text-secondary);border-bottom-width:2px;border-radius:4px;margin-right:.15rem;padding:.05rem .3rem;font-size:.68rem}.hint-sep{margin:0 .35rem}@media (width<=768px){.notebook-cells-container{--prompt-width:3.4rem;padding:.75rem .75rem 1.5rem}.cell-row{gap:.4rem}.prompt-label{font-size:.66rem}.cell-insert,.notebook-hint{margin-left:0}.notebook-hint{display:none}.gutter-btn-delete,.insert-btn,.cell-insert:before{opacity:1}.markdown-input{font-size:16px}}.monaco-editor .trace-line{background:var(--hl-cell)}.monaco-editor .trace-line-gutter{background:var(--accent);margin-left:2px;width:3px!important}.code-fallback{width:100%;font-family:var(--font-mono);color:var(--text-primary);background:var(--editor-bg);resize:vertical;white-space:pre;overflow-wrap:normal;tab-size:4;border:none;outline:none;padding:10px 16px;font-size:14px;line-height:1.5;display:block;overflow-x:auto}@media (width<=768px){.code-fallback{white-space:pre-wrap;font-size:16px}}.data-transformation{background:var(--bg-panel-muted);border:1px solid var(--border-subtle);border-radius:var(--radius-card);opacity:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:1.25rem;padding:1.25rem;transition:opacity .3s;display:grid}.data-transformation.animated{opacity:1}.transform-section{flex-direction:column;gap:.6rem;min-width:0;display:flex}.section-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.15rem .75rem;min-width:0;padding:0 .15rem;display:flex}.section-title{color:var(--text-primary);font-size:.875rem;font-weight:600}.section-info{color:var(--text-tertiary);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.75rem}.data-table-wrapper{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:var(--radius-control);min-height:100px;max-height:380px;overflow:auto}.data-table-wrapper.centered{justify-content:center;align-items:center;display:flex;overflow:hidden}.empty-table-placeholder{text-align:center;color:var(--text-tertiary);padding:1.5rem}.empty-icon{display:none}.empty-text{color:var(--text-secondary);margin-bottom:.15rem;font-size:.9rem;font-weight:500}.empty-subtext{color:var(--text-tertiary);font-size:.75rem}.data-table.compact{border-collapse:separate;border-spacing:0;width:100%;font-family:var(--font-mono);color:var(--text-primary);font-size:.8125rem}.data-table.compact th{background:var(--bg-table-header);text-align:left;font-family:var(--font-sans);color:var(--text-secondary);border-bottom:2px solid var(--accent);z-index:1;white-space:nowrap;padding:.45rem .7rem;font-size:.75rem;font-weight:600;position:sticky;top:0}.data-table.compact td{border-bottom:1px solid var(--border-subtle);white-space:nowrap;padding:.4rem .7rem}.data-table.compact tbody tr:last-child td{border-bottom:none}.data-table.compact th.num,.data-table.compact td.num{text-align:right;font-variant-numeric:tabular-nums}.array-view{background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:var(--radius-control);flex-direction:column;gap:.5rem;min-width:0;max-width:100%;min-height:100px;max-height:380px;padding:.6rem .75rem .7rem;display:flex;overflow:auto}.array-caption{font-family:var(--font-mono);color:var(--text-tertiary);font-size:.75rem}.array-strip{flex-direction:column;align-items:flex-start;gap:.25rem;min-width:0;display:flex}.array-item{border:1px solid var(--border-strong);background:var(--bg-card);border-radius:6px;align-items:stretch;min-width:6rem;max-width:100%;transition:background-color .15s,border-color .15s;display:flex;overflow:hidden}.array-index{min-width:1.8rem;font-family:var(--font-mono);color:var(--text-tertiary);background:var(--bg-table-header);border-right:1px solid var(--border-subtle);flex:none;justify-content:center;align-items:center;padding:0 .3rem;font-size:.65rem;display:flex}.array-value{font-family:var(--font-mono);color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;padding:.3rem .6rem;font-size:.8125rem;overflow:hidden}.array-item.hl{background:var(--hl-cell);border-color:var(--accent)}.array-item.hl .array-value{font-weight:600}.array-view.is-lit .array-item{background:var(--hl-col)}.array-more{background:0 0;border-style:dashed}.array-more .array-value{color:var(--text-tertiary);font-family:var(--font-sans);font-size:.75rem}.array-empty{justify-content:center;min-height:2rem}.array-placeholder{color:var(--text-tertiary);font-size:.8rem}.data-table.compact th.hl-col-header{background:var(--hl-cell);color:var(--text-primary);border-bottom-color:var(--accent)}.data-table.compact td.hl-col{background:var(--hl-col)}.data-table.compact tr.hl-row td{background:var(--hl-row)}.data-table.compact tr.hl-row td.hl-col{background:var(--hl-row);box-shadow:inset 0 0 0 9999px var(--hl-col)}.data-table.compact tr.hl-row-removed td{background:var(--hl-remove);color:var(--hl-remove-text);text-decoration:line-through}.data-table.compact td.hl-cell{background:var(--hl-cell);box-shadow:inset 0 0 0 1.5px var(--accent);font-weight:600}.aux-header{margin-top:.5rem}.removed-column{text-decoration:line-through;background:var(--hl-remove)!important;color:var(--hl-remove-text)!important}.removed-cell{opacity:.7;background:var(--hl-remove)!important;color:var(--text-tertiary)!important}.added-column{background:var(--hl-cell)!important;color:var(--text-primary)!important;border-bottom-color:var(--accent)!important}.added-cell{background:var(--hl-col)!important}.table-more{text-align:center;font-family:var(--font-sans);color:var(--text-tertiary);background:var(--bg-table-header);border-top:1px solid var(--border-subtle);padding:.45rem;font-size:.75rem}button.table-more-button{border:none;border-top:1px solid var(--border-subtle);width:100%;min-height:0;color:var(--text-secondary);border-radius:0;font-weight:500;display:block}button.table-more-button:hover{color:var(--text-primary);background:var(--bg-sunken)}.transform-arrow-container{flex-direction:column;justify-content:center;align-items:center;gap:.5rem;min-width:6rem;padding-top:1.75rem;display:flex}.transform-arrow-label{font-family:var(--font-mono);color:var(--accent-hover);background:var(--accent-soft);border:1px solid var(--accent-muted);white-space:nowrap;border-radius:6px;padding:.25rem .6rem;font-size:.8rem;font-weight:500}.transform-arrow{color:var(--accent);font-size:1.75rem;line-height:1}.transform-changes{flex-direction:column;gap:.25rem;display:flex}.change-badge{font-variant-numeric:tabular-nums;text-align:center;background:var(--bg-panel);color:var(--text-secondary);border:1px solid var(--border-subtle);border-radius:4px;padding:.15rem .45rem;font-size:.7rem;font-weight:500}.change-badge.removed{background:var(--hl-remove);color:var(--hl-remove-text);border-color:#0000}.change-badge.added{background:var(--hl-cell);color:var(--text-primary);border-color:#0000}.slideshow-visualization{container-type:inline-size}@container (width<=640px){.data-transformation{grid-template-columns:minmax(0,1fr)}.transform-arrow-container{flex-flow:wrap;gap:.5rem .75rem;min-width:0;padding-top:0}.transform-arrow{rotate:90deg}.transform-changes{flex-flow:wrap;justify-content:center;gap:.35rem}}@media (width<=1024px){.data-transformation{grid-template-columns:minmax(0,1fr)}.transform-arrow-container{flex-flow:wrap;gap:.5rem .75rem;min-width:0;padding-top:0}.transform-arrow{rotate:90deg}.transform-changes{flex-flow:wrap;justify-content:center;gap:.35rem}}@media (width<=768px){.data-transformation{gap:.9rem;padding:.9rem}.data-table-wrapper{-webkit-overflow-scrolling:touch;max-height:300px}.data-table.compact th,.data-table.compact td{padding:.35rem .55rem}}.step-slideshow{flex-direction:column;gap:1.25rem;max-width:64rem;margin:0 auto;display:flex}.step-frame{flex-direction:column;display:flex}.step-slideshow .step-card{gap:1rem;width:100%;max-width:none;margin:0}.slideshow-header{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.9rem;display:flex}.step-indicator{align-items:center;display:flex}.step-badge{color:var(--text-tertiary);letter-spacing:.01em;font-size:.8rem;font-weight:500}.sub-progress{color:var(--text-tertiary)}.step-operation-title code{font-family:var(--font-mono);color:var(--accent-hover);background:var(--accent-soft);border-radius:6px;padding:.3rem .6rem;font-size:.95rem;font-weight:500}.slideshow-explanation{padding:.25rem 0 .5rem}.explanation-body{flex-direction:column;align-items:flex-start;gap:.75rem;width:100%;display:flex}.explanation-text{font-family:var(--font-sans);letter-spacing:-.005em;color:var(--text-primary);text-wrap:pretty;max-width:36em;font-size:1.55rem;font-weight:400;line-height:1.3}.explanation-detail{font-family:var(--font-mono);color:var(--text-secondary);background:var(--bg-panel-muted);border:1px solid var(--border-subtle);white-space:nowrap;border-radius:6px;max-width:100%;padding:.4rem .7rem;font-size:.85rem;overflow-x:auto}.slideshow-visualization{width:100%;margin:0}.slideshow-controls{border-top:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:1rem;padding-top:1rem;display:flex}.nav-group{align-items:center;gap:.3rem;display:flex}.nav-button{gap:.4rem;min-width:7.5rem}.skip-button{width:34px;color:var(--text-tertiary);padding:0}.skip-button .arrow{color:inherit;font-size:1.1rem;line-height:1}.skip-button:hover:not(:disabled){color:var(--accent-hover)}.autoplay-controls{justify-content:center;align-items:center;gap:.6rem;display:flex}.autoplay-toggle{min-width:5rem}.autoplay-toggle.is-playing{background:var(--primary-bg);color:var(--primary-fg);border-color:var(--primary-bg)}.autoplay-speed{color:var(--text-tertiary);align-items:center;gap:.35rem;font-size:.85rem;display:inline-flex}.autoplay-speed select{height:30px;font:inherit;color:var(--text-primary);background:var(--bg-card);border:1px solid var(--border-strong);border-radius:6px;padding:0 .4rem}.nav-button .arrow{color:var(--text-tertiary);margin-top:-2px;font-size:1.25rem;line-height:1}.nav-button:hover:not(:disabled) .arrow{color:var(--accent)}.nav-button.prev{justify-content:flex-start}.nav-button.next{justify-content:flex-end}.step-dots{flex-wrap:wrap;justify-content:center;align-items:center;gap:.45rem;display:flex}.dot{background:var(--border-strong);border:none;border-radius:50%;width:9px;height:9px;min-height:0;padding:0;transition:background-color .15s,transform .15s}.dot:hover:not(.active){background:var(--text-tertiary);border:none}.dot.active{background:var(--accent);transform:scale(1.25)}.dot.active:has(.dot-sub-label){border-radius:999px;width:auto;height:18px;padding:0 .5rem;transform:none}.dot-sub-label{font-variant-numeric:tabular-nums;color:var(--accent-button-text);white-space:nowrap;font-size:.65rem;font-weight:600;line-height:1}.keyboard-hint{text-align:center;color:var(--text-tertiary);font-size:.75rem}@media (width<=768px){.step-slideshow{gap:1rem}.slideshow-header{padding-bottom:.75rem}.explanation-text{font-size:1.3rem}.explanation-detail{white-space:pre-wrap;word-break:break-word;font-size:.8rem}.slideshow-controls{z-index:5;background:var(--bg-panel);border:1px solid var(--border-subtle);border-radius:var(--radius-card);flex-wrap:wrap;gap:.75rem;padding:.75rem;position:sticky;bottom:.5rem}.step-dots{flex:100%;order:-1}.dot{width:11px;height:11px}.nav-group{flex:1 1 0;min-width:0}.nav-button{flex:1 1 0;justify-content:center;min-width:0;min-height:2.75rem}.skip-button{min-height:2.75rem}.keyboard-hint{display:none}}.step-assigns{color:var(--text-secondary);font-weight:400}.app{width:100%;min-height:100vh;color:var(--text-primary);background:var(--bg-app);flex-direction:column;display:flex}.header{background:var(--bg-header);border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:1.5rem;min-height:56px;padding:.6rem 1.25rem;display:flex}.header-left{align-items:center;gap:1rem;min-width:0;display:flex}.brand{color:inherit;align-items:center;gap:.55rem;text-decoration:none;display:flex}.brand-title{white-space:nowrap;align-items:baseline;gap:.5rem;display:flex}.brand-cel{font-size:1.6rem}.brand-code{font-family:var(--font-mono);color:var(--accent-hover);background:var(--accent-soft);border-radius:5px;padding:.15rem .4rem;font-size:.8rem;font-weight:500}.brand-name{font-family:var(--font-sans);letter-spacing:-.01em;color:var(--text-primary);font-size:1.35rem;font-weight:500}.current-example{color:var(--text-tertiary);white-space:nowrap;text-overflow:ellipsis;border-left:1px solid var(--border-subtle);padding-left:1rem;font-size:.8rem;overflow:hidden}.header-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.theme-switcher{border-radius:var(--radius-control);background:var(--bg-sunken);border:1px solid var(--border-subtle);gap:2px;padding:3px;display:flex}.theme-switcher .theme-option{min-height:28px;color:var(--text-tertiary);background:0 0;border:none;border-radius:6px;padding:0 .7rem;font-size:.8rem;font-weight:500}.theme-switcher .theme-option:hover:not(.active){color:var(--text-primary);background:0 0}.theme-switcher .theme-option.active{background:var(--bg-panel);color:var(--accent-hover);box-shadow:0 0 0 1px var(--border-subtle)}.status{min-width:0;color:var(--text-tertiary);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:.5rem;font-size:.8rem;display:inline-flex;overflow:hidden}.status .cel{font-size:1.15rem}.status.ready{color:var(--text-secondary)}.status.error{color:var(--danger)}.export-menu{position:relative}.export-button .caret{color:var(--text-tertiary);margin-left:-.15rem}.export-menu-list{z-index:30;white-space:nowrap;background:var(--bg-panel);border:1px solid var(--border-strong);border-radius:var(--radius-control);flex-direction:column;min-width:16.5rem;padding:.3rem;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #1414131f}.export-menu-item{text-align:left;background:0 0;border:none;border-radius:6px;justify-content:space-between;gap:1.25rem;width:100%;min-height:32px;padding:0 .6rem;font-weight:500}.export-menu-item:hover:not(:disabled){background:var(--bg-sunken);border:none}.export-menu-separator{background:var(--border-subtle);height:1px;margin:.3rem .4rem}.export-menu-hint{color:var(--text-tertiary);font-size:.72rem}.share-menu{position:relative}.share-button.is-copied{color:var(--success);border-color:var(--success)}.share-popover{z-index:30;background:var(--bg-panel);border:1px solid var(--border-strong);border-radius:var(--radius-control);text-align:left;width:22rem;max-width:calc(100vw - 2rem);padding:.85rem .9rem .9rem;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #1414131f}.share-popover-title{color:var(--text-primary);margin-bottom:.55rem;font-size:.875rem;font-weight:600}.share-url-row{gap:.35rem;display:flex}.share-url{min-width:0;height:30px;font-family:var(--font-mono);color:var(--text-secondary);background:var(--bg-panel-muted);border:1px solid var(--border-subtle);border-radius:6px;outline:none;flex:1;padding:0 .55rem;font-size:.75rem}.share-url:focus{border-color:var(--outline-focus)}.share-copy-again{min-height:30px;padding:0 .6rem;font-size:.8rem}.share-popover-body{color:var(--text-tertiary);margin:.6rem 0 0;font-size:.78rem;line-height:1.5}.notebook-toolbar{flex-shrink:0;align-items:center;gap:.35rem;display:flex}.notebook-header .status{flex:auto;justify-content:flex-end}.status-text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.notebook-toolbar button{gap:.35rem;min-height:30px;padding:0 .6rem;font-size:.8rem}.icon-button{justify-content:center;width:32px;padding:0}.icon-button .btn-icon{opacity:1;font-size:.85em}.btn-icon{letter-spacing:-.1em;opacity:.85;font-size:.7em}.toolbar-button{color:var(--text-secondary)}.run-button{background:var(--primary-bg);color:var(--primary-fg);border-color:var(--primary-bg);font-weight:600}.run-button:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover);color:var(--primary-fg)}.stop-button{color:var(--danger)}.stop-button:hover:not(:disabled){background:var(--danger-bg);border-color:var(--danger)}.export-button,.share-button,.examples-button{color:var(--text-primary)}.main-content{flex:1;display:flex;overflow:hidden}.main-content.jupyter-style{flex-direction:row;display:flex}.main-content.jupyter-style .notebook-panel{width:var(--notebook-width,45%);flex-shrink:0;min-width:280px}.main-content.jupyter-style .trace-panel{flex:1;min-width:0}.panel-resizer{z-index:2;cursor:col-resize;-webkit-user-select:none;user-select:none;background:0 0;flex-shrink:0;justify-content:center;align-items:center;width:9px;margin:0 -4px;transition:background .15s;display:flex}.panel-resizer:before{content:"";background:var(--border-subtle);width:1px;height:100%;transition:background .15s,width .15s}.panel-resizer:hover:before,.panel-resizer:active:before,.panel-resizer:focus-visible:before{background:var(--accent);width:3px}.panel-resizer:focus-visible{outline:none}.notebook-panel{background:var(--bg-panel-muted);flex-direction:column;display:flex;overflow:hidden}.notebook-cells-wrapper{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.notebook-header,.panel-tabs{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:.75rem;min-height:44px;padding:.4rem 1rem;display:flex}.notebook-header{background:var(--bg-panel-muted)}.notebook-info{align-self:stretch;align-items:stretch;gap:.75rem;display:flex}.notebook-name,.tab{color:var(--text-primary);border-bottom:2px solid var(--accent);align-self:stretch;align-items:center;margin-bottom:-1px;font-size:.875rem;font-weight:600;display:inline-flex}.trace-panel{background:var(--bg-panel);flex-direction:column;display:flex;overflow:hidden}.panel-tabs{background:var(--bg-panel)}.tab{cursor:default}.panel-content{flex:1;padding:1.5rem;overflow-y:auto}.trace-view{min-height:100%}.empty-state{text-align:left;max-width:34rem;margin:3rem auto 0}.empty-state h3{font-family:var(--font-sans);letter-spacing:-.01em;color:var(--text-primary);margin-bottom:.75rem;font-size:2rem;font-weight:500;line-height:1.15}.empty-state p{color:var(--text-secondary);max-width:30rem;margin-bottom:1.5rem;font-size:1rem;line-height:1.6}.trace-note{border-radius:var(--radius-card);border:1px solid var(--border-subtle);border-left:3px solid var(--accent);background:var(--bg-panel-muted);color:var(--text-secondary);padding:1rem 1.25rem;font-size:.9rem;line-height:1.6}.trace-note strong{color:var(--text-primary);margin-bottom:.25rem;font-weight:600;display:block}.trace-note code{font-family:var(--font-mono);color:var(--text-primary);font-size:.85em}.example-hint{border:1px solid var(--border-subtle);border-radius:var(--radius-card);background:var(--bg-panel-muted);overflow:hidden}.example-hint strong{color:var(--accent-hover);border-bottom:1px solid var(--border-subtle);padding:.6rem 1rem;font-size:.8rem;font-weight:600;display:block}.example-hint pre{font-family:var(--font-mono);color:var(--text-primary);margin:0;padding:1rem;font-size:.8125rem;line-height:1.6;overflow-x:auto}.notebook-panel .monaco-editor,.notebook-panel .monaco-editor-background,.notebook-panel .monaco-editor .margin{background-color:var(--editor-bg)!important}.mobile-view-switcher{z-index:20;background:var(--bg-header);border-bottom:1px solid var(--border-subtle);gap:2px;padding:.5rem 1rem;display:none;position:sticky;top:0}.mobile-view-tab{min-height:2.4rem;color:var(--text-tertiary);background:0 0;border:none;border-radius:6px;flex:1;gap:.45rem;font-size:.9rem}.mobile-view-tab.active{background:var(--bg-panel);color:var(--accent-hover);box-shadow:0 0 0 1px var(--border-subtle);font-weight:600}.mobile-view-badge{background:var(--accent);min-width:1.4em;height:1.4em;color:var(--accent-button-text);border-radius:999px;justify-content:center;align-items:center;padding:0 .35em;font-size:.75em;font-weight:600;display:inline-flex}@media (width<=1024px){.main-content.jupyter-style{flex-direction:column}.main-content.jupyter-style .notebook-panel{width:100%;min-width:0}.panel-resizer{display:none}.notebook-panel{border-bottom:1px solid var(--border-subtle)}}@media (width<=768px){.header{flex-wrap:wrap;gap:.6rem;padding:.75rem 1rem}.header-left,.header-controls{display:contents}.brand{flex:auto;order:0;min-width:0}.brand-name{font-size:1.2rem}.theme-switcher{flex:none;order:1}.theme-switcher .theme-option{padding:0 .55rem;font-size:.75rem}.current-example{border-left:none;flex:100%;order:2;padding-left:0;font-size:.75rem}.examples-button,.share-button,.export-menu{flex:30%;order:4;min-width:0}.export-menu .export-button,.examples-button,.share-button{width:100%;min-height:2.75rem;padding:0 .6rem}.export-menu-list,.share-popover{left:0;right:auto}.notebook-header{flex-direction:column;align-items:stretch;gap:.4rem;padding:.5rem .75rem}.notebook-toolbar{flex-wrap:wrap}.notebook-toolbar button{flex:auto;min-height:2.5rem}.notebook-header .status{justify-content:flex-start}.mobile-view-switcher{display:flex}.main-content.jupyter-style.mobile-view-notebook .trace-panel,.main-content.jupyter-style.mobile-view-visualization .notebook-panel{display:none}.notebook-panel,.trace-panel{animation:.18s ease-out both fade-in}.notebook-panel{border-bottom:none}.notebook-header{padding:0 1rem}.panel-tabs{display:none}.panel-content{padding:1rem .75rem}.empty-state{margin-top:1rem}.empty-state h3{font-size:1.6rem}}.export-pdf-container .data-table-wrapper{max-height:none;overflow:visible}.export-pdf-container .data-table.compact th{position:static}.export-pdf-container .table-more-button{display:none}.panel-actions{align-items:center;gap:.35rem;display:flex}.detail-toggle{border-radius:var(--radius-control);background:var(--bg-sunken);border:1px solid var(--border-subtle);gap:2px;padding:2px;display:flex}.detail-toggle button{min-height:24px;color:var(--text-tertiary);background:0 0;border:none;border-radius:6px;padding:0 .55rem;font-size:.75rem;font-weight:500}.detail-toggle button:hover:not(.active){color:var(--text-primary);background:0 0}.detail-toggle button.active{background:var(--bg-panel);color:var(--accent-hover);box-shadow:0 0 0 1px var(--border-subtle)}.present-button{min-height:30px;color:var(--text-secondary);gap:.35rem;padding:0 .6rem;font-size:.8rem}.presentation{z-index:200;background:var(--bg-panel);outline:none;flex-direction:column;display:flex;position:fixed;inset:0}.presentation-bar{border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;padding:.6rem 1.5rem;display:flex}.presentation-title{font-family:var(--font-sans);color:var(--text-secondary);font-size:1.15rem}.presentation-exit{min-height:30px;font-size:.8rem}.presentation-body{flex:1;padding:2rem 4vw 3rem;font-size:1.15rem;overflow:auto}.presentation .step-slideshow{max-width:96rem}.presentation .explanation-text{font-size:2.4rem;line-height:1.25}.presentation .explanation-detail{font-size:1.15rem}.presentation .step-badge,.presentation .step-operation-title code{font-size:1.1rem}.presentation .data-table.compact{font-size:1.15rem}.presentation .data-table.compact th{font-size:1rem}.presentation .data-table.compact th,.presentation .data-table.compact td{padding:.6rem 1rem}.presentation .data-table-wrapper{max-height:60vh}.presentation .section-title{font-size:1.1rem}.presentation .transform-arrow-label{font-size:1rem}.presentation .transform-arrow{font-size:2.5rem}.presentation .array-value{padding:.45rem .8rem;font-size:1.1rem}.presentation .nav-button{min-width:10rem;min-height:44px;font-size:1.05rem}.presentation .keyboard-hint{font-size:.9rem}.embed-bar{background:var(--bg-header);border-bottom:1px solid var(--border-subtle);justify-content:space-between;align-items:center;gap:1rem;padding:.45rem 1rem;font-size:.85rem;display:flex}.embed-title{color:var(--text-secondary);align-items:center;gap:.5rem;display:inline-flex}.embed-open{color:var(--accent-hover);white-space:nowrap;font-weight:500;text-decoration:none}.embed-open:hover{text-decoration:underline}.is-embed .mobile-view-switcher,.is-embed .notebook-toolbar .toolbar-button:not(.stop-button),.is-readonly .cell-insert,.is-readonly .gutter-btn-delete,.is-readonly .notebook-hint{display:none}@keyframes gallery-rise{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}.gallery-overlay{z-index:1000;background:#14141373;justify-content:center;align-items:center;padding:2rem;animation:.16s ease-out both fade-in;display:flex;position:fixed;inset:0;overflow-y:auto}.gallery-overlay.is-closing{pointer-events:none;animation:.14s ease-in both fade-out}.gallery-overlay.is-closing .gallery-modal{animation:.14s ease-in reverse both gallery-rise}.gallery-modal{background:var(--bg-panel);border-radius:var(--radius-panel);border:1px solid var(--border-subtle);flex-direction:column;width:100%;max-width:1100px;max-height:90vh;animation:.2s cubic-bezier(.2,.8,.2,1) both gallery-rise;display:flex;overflow-y:auto}.gallery-header{justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.75rem 2rem 1.25rem;display:flex}.gallery-header h1{font-family:var(--font-sans);letter-spacing:-.01em;color:var(--text-primary);margin:0 0 .4rem;font-size:1.85rem;font-weight:500;line-height:1.15}.gallery-header p{color:var(--text-secondary);margin:0;font-size:.95rem}.inspiration{color:var(--text-tertiary)!important;margin-top:.4rem!important;font-size:.8rem!important}.inspiration a{color:var(--text-secondary);text-underline-offset:2px;text-decoration:underline}.inspiration a:hover{color:var(--accent-hover)}.close-button{width:36px;height:36px;color:var(--text-secondary);flex-shrink:0;padding:0;font-size:1.4rem;line-height:1}.category-filter{border-bottom:1px solid var(--border-subtle);flex-wrap:wrap;gap:.35rem;padding:0 2rem 1.25rem;display:flex}.category-filter button{min-height:30px;color:var(--text-secondary);border-radius:999px;padding:0 .75rem;font-size:.8rem}.category-filter button.active{background:var(--primary-bg);border-color:var(--primary-bg);color:var(--primary-fg)}.examples-grid{background:var(--bg-panel-muted);grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;padding:1.5rem 2rem 2rem;display:grid}.example-card{text-align:left;background:var(--bg-card);border:1px solid var(--border-subtle);border-radius:var(--radius-card);min-height:0;color:inherit;font:inherit;cursor:pointer;flex-direction:column;align-items:stretch;padding:0;line-height:1.5;display:flex;overflow:hidden}.example-card-reset{border-style:dashed;border-color:var(--border-strong);background:0 0}.example-card:hover{background:var(--bg-card);border-color:var(--text-tertiary)}.example-card:focus-visible{outline:2px solid var(--outline-focus);outline-offset:3px}.example-thumbnail{padding:1rem 1.1rem 0}.operation-badges{flex-wrap:wrap;gap:.35rem;display:flex}.operation-badge{font-family:var(--font-mono);color:var(--accent-hover);background:var(--accent-soft);border-radius:5px;padding:.2rem .5rem;font-size:.75rem}.example-info{flex-direction:column;flex:1;padding:.85rem 1.1rem 1.1rem;display:flex}.example-info h3{font-family:var(--font-sans);color:var(--text-primary);margin:0 0 .3rem;font-size:1.2rem;font-weight:500;line-height:1.25}.example-info p{color:var(--text-secondary);flex:1;margin:0 0 .85rem;font-size:.875rem;line-height:1.5}.example-category{color:var(--text-tertiary);font-size:.75rem}.gallery-footer{border-top:1px solid var(--border-subtle);justify-content:flex-end;padding:1rem 2rem;display:flex}.secondary-button{padding:0 1.1rem}@media (width<=768px){.gallery-overlay{padding:0}.gallery-modal{border:none;border-radius:0;min-height:100vh;max-height:100vh}.gallery-header{padding:1.25rem 1.25rem 1rem}.gallery-header h1{font-size:1.5rem}.category-filter{padding:0 1.25rem 1rem}.examples-grid{grid-template-columns:1fr;padding:1.25rem}.gallery-footer{background:var(--bg-panel);padding:1rem 1.25rem;position:sticky;bottom:0}}:root{--font-sans:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;--font-mono:Menlo, Consolas, "DejaVu Sans Mono", monospace;--radius-control:8px;--radius-card:12px;--radius-panel:16px;--control-height:36px;font-family:var(--font-sans);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"pnum" on, "lnum" on, "liga" on;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-app:#fff;--bg-header:#fff;--bg-panel:#fff;--bg-panel-muted:#f5f5f5;--bg-card:#fff;--bg-sunken:#eee;--bg-button:#fff;--bg-table-header:#f5f5f5;--editor-bg:#f7f7f7;--panel-elevated:#fff;--panel-muted:#f5f5f5;--border-subtle:#e0e0e0;--border-strong:#bdbdbd;--text-primary:#212121;--text-secondary:#616161;--text-tertiary:#757575;--accent:#f37726;--accent-hover:#d9631a;--accent-muted:#f3772624;--accent-soft:#f3772617;--accent-button-text:#fff;--primary-bg:#f37726;--primary-fg:#fff;--primary-hover:#d9631a;--button-text:var(--text-primary);--danger:#d32f2f;--danger-bg:#d32f2f14;--success:#388e3c;--shadow-panel:none;--shadow-card:none;--outline-focus:#d9631a;--hl-col:#f377261a;--hl-row:#388e3c29;--hl-remove:#d32f2f1a;--hl-remove-text:#c62828;--hl-cell:#f377264d;--prompt-in:#307fc1;--prompt-out:#bf5b3d;color:var(--text-primary);background:var(--bg-app);font-weight:400;line-height:1.5}[data-theme=berkeley]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-app:radial-gradient(circle at top left, #003262eb 0%, #00142df5 55%, #000a1a 100%);--bg-header:#00142dd9;--bg-panel:#00183ae0;--bg-panel-muted:#12385cbd;--bg-card:#00244899;--bg-sunken:#0010268c;--bg-button:#002954bf;--bg-table-header:#04234a;--editor-bg:#04070f;--panel-elevated:#00183ae0;--panel-muted:#12385cbd;--border-subtle:#3b7ea173;--border-strong:#ffc6468c;--text-primary:#f7f9fd;--text-secondary:#dbe4f3;--text-tertiary:#bac4d4;--accent:#ffc646;--accent-hover:#ffd374;--accent-muted:#ffc64647;--accent-soft:#ffc64624;--accent-button-text:#1d1a10;--primary-bg:#ffc646;--primary-fg:#1d1a10;--primary-hover:#ffd374;--danger:#f08a8a;--danger-bg:#93232352;--success:#7fd3a3;--shadow-panel:0 20px 40px #00102673;--shadow-card:0 12px 24px #000e208c;--outline-focus:#fdb515cc;--hl-col:#ffc64629;--hl-row:#50c8783d;--hl-remove:#dc525247;--hl-remove-text:#ffcbc1;--hl-cell:#ffc64666;--prompt-in:var(--text-tertiary);--prompt-out:var(--accent-hover)}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg-app);min-width:320px;min-height:100vh;color:var(--text-primary);margin:0;display:flex}#root{width:100%;height:100vh}::selection{background:var(--accent-muted)}button{min-height:var(--control-height);border-radius:var(--radius-control);border:1px solid var(--border-strong);background:var(--bg-button);color:var(--button-text);cursor:pointer;justify-content:center;align-items:center;gap:.5rem;padding:0 .85rem;font-family:inherit;font-size:.875rem;font-weight:500;line-height:1;transition:color .1s ease-in-out,background-color .2s ease-in-out,border-color .2s ease-in-out;display:inline-flex}button:hover:not(:disabled){background:var(--bg-sunken);border-color:var(--text-tertiary)}button:focus-visible{outline:2px solid var(--outline-focus);outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.fade-in{animation:.2s ease-out both fade-in}.rise-in{animation:.18s cubic-bezier(.2,.8,.2,1) both rise-in}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
