/* [next]/internal/font/google/noto_sans_mono_581315cf.module.css [app-client] (css) */
@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/6268ff4510011483-s.1-x31ia08vk0p.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/1f437e215f8d6e0d-s.p.2x1i-5a98j7wb.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/8d4830eca4c523d8-s.155kyup9w16f3.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/65ee72724a574b38-s.22yxizt18_vg7.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/607df32eb761cd57-s.1bcopl5unazcv.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/5a88d76708ebf06e-s.1rj289vzyu1rd.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Noto Sans Mono;
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../media/deb386b9bd551fac-s.p.1pt2_06aomutc.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Noto Sans Mono Fallback;
  src: local(Arial);
  ascent-override: 79.43%;
  descent-override: 21.77%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.noto_sans_mono_581315cf-module__MnkJCW__className {
  font-family: Noto Sans Mono, Noto Sans Mono Fallback;
  font-style: normal;
}

.noto_sans_mono_581315cf-module__MnkJCW__variable {
  --font-noto-mono: "Noto Sans Mono", "Noto Sans Mono Fallback";
}

/* [project]/node_modules/katex/dist/katex.min.css [app-client] (css) */
@font-face {
  font-display: block;
  font-family: KaTeX_AMS;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_AMS-Regular.25ieegmnh38ts.woff2") format("woff2"), url("../media/KaTeX_AMS-Regular.10y3kupq4t663.woff") format("woff"), url("../media/KaTeX_AMS-Regular.418dr7cz3fo2x.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Caligraphic;
  font-style: normal;
  font-weight: 700;
  src: url("../media/KaTeX_Caligraphic-Bold.06b-ya9t43ioz.woff2") format("woff2"), url("../media/KaTeX_Caligraphic-Bold.2vmk2hva4ctha.woff") format("woff"), url("../media/KaTeX_Caligraphic-Bold.40ltxhe834pns.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Caligraphic;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Caligraphic-Regular.2eph4dlhid_m9.woff2") format("woff2"), url("../media/KaTeX_Caligraphic-Regular.3gxeetazf831f.woff") format("woff"), url("../media/KaTeX_Caligraphic-Regular.07-7u27-nhn_r.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Fraktur;
  font-style: normal;
  font-weight: 700;
  src: url("../media/KaTeX_Fraktur-Bold.2sasz-d-jtw8y.woff2") format("woff2"), url("../media/KaTeX_Fraktur-Bold.1alcy76__wdj2.woff") format("woff"), url("../media/KaTeX_Fraktur-Bold.19yqa_tc9d_gx.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Fraktur;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Fraktur-Regular.2d10y4xmjvzlf.woff2") format("woff2"), url("../media/KaTeX_Fraktur-Regular.110oo81prr9n5.woff") format("woff"), url("../media/KaTeX_Fraktur-Regular.2qhy34r6a05dn.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Main;
  font-style: normal;
  font-weight: 700;
  src: url("../media/KaTeX_Main-Bold.3-rowy8o6_4ky.woff2") format("woff2"), url("../media/KaTeX_Main-Bold.0v1esh257kqpe.woff") format("woff"), url("../media/KaTeX_Main-Bold.0us_n0tnxlxu7.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Main;
  font-style: italic;
  font-weight: 700;
  src: url("../media/KaTeX_Main-BoldItalic.14r2naom8mrec.woff2") format("woff2"), url("../media/KaTeX_Main-BoldItalic.13355ck5zr48q.woff") format("woff"), url("../media/KaTeX_Main-BoldItalic.3x_u9cepaced0.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Main;
  font-style: italic;
  font-weight: 400;
  src: url("../media/KaTeX_Main-Italic.0lig0v9j0700p.woff2") format("woff2"), url("../media/KaTeX_Main-Italic.0afv392dj4w59.woff") format("woff"), url("../media/KaTeX_Main-Italic.2hkw3230mfwcv.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Main;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Main-Regular.1ryvsdzh2w1_e.woff2") format("woff2"), url("../media/KaTeX_Main-Regular.15u8r3b2y7fv4.woff") format("woff"), url("../media/KaTeX_Main-Regular.0symfa7dqj6jd.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Math;
  font-style: italic;
  font-weight: 700;
  src: url("../media/KaTeX_Math-BoldItalic.1oopuu636h4il.woff2") format("woff2"), url("../media/KaTeX_Math-BoldItalic.12pl58orkw9rg.woff") format("woff"), url("../media/KaTeX_Math-BoldItalic.0y5w36a5aq__2.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Math;
  font-style: italic;
  font-weight: 400;
  src: url("../media/KaTeX_Math-Italic.32405s1aq8vas.woff2") format("woff2"), url("../media/KaTeX_Math-Italic.0w0b1ugh62cfr.woff") format("woff"), url("../media/KaTeX_Math-Italic.2vkekfblmz5nb.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_SansSerif;
  font-style: normal;
  font-weight: 700;
  src: url("../media/KaTeX_SansSerif-Bold.0h3wi2z_eouyg.woff2") format("woff2"), url("../media/KaTeX_SansSerif-Bold.1ovw5p-yjp56g.woff") format("woff"), url("../media/KaTeX_SansSerif-Bold.2d03q85pwxpti.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_SansSerif;
  font-style: italic;
  font-weight: 400;
  src: url("../media/KaTeX_SansSerif-Italic.0wkjc4dm2kcit.woff2") format("woff2"), url("../media/KaTeX_SansSerif-Italic.1qavw__2zz8gk.woff") format("woff"), url("../media/KaTeX_SansSerif-Italic.3i-q087b23-m8.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_SansSerif;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_SansSerif-Regular.2peiewu59z3d-.woff2") format("woff2"), url("../media/KaTeX_SansSerif-Regular.1i4afx8nk8n4r.woff") format("woff"), url("../media/KaTeX_SansSerif-Regular.31pbu25feko_c.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Script;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Script-Regular.11h14300o9pd0.woff2") format("woff2"), url("../media/KaTeX_Script-Regular.3110jb9c-bxna.woff") format("woff"), url("../media/KaTeX_Script-Regular.28p_x7iz71ofe.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Size1;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Size1-Regular.03lhvx36ekcou.woff2") format("woff2"), url("../media/KaTeX_Size1-Regular.1slf4bh0hc6vm.woff") format("woff"), url("../media/KaTeX_Size1-Regular.1y57-ck23ey8c.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Size2;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Size2-Regular.14s5gg-puz6h-.woff2") format("woff2"), url("../media/KaTeX_Size2-Regular.0-kwyvx03omo8.woff") format("woff"), url("../media/KaTeX_Size2-Regular.2u0s-b07k2o9m.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Size3;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Size3-Regular.1n1rgzz84z8r9.woff2") format("woff2"), url("../media/KaTeX_Size3-Regular.04o9a_02gu_e8.woff") format("woff"), url("../media/KaTeX_Size3-Regular.1pkn-dge4q0fv.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Size4;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Size4-Regular.2sgotkdv3dcyv.woff2") format("woff2"), url("../media/KaTeX_Size4-Regular.3p2r1l7xmebxv.woff") format("woff"), url("../media/KaTeX_Size4-Regular.2uelkfk2yna5e.ttf") format("truetype");
}

@font-face {
  font-display: block;
  font-family: KaTeX_Typewriter;
  font-style: normal;
  font-weight: 400;
  src: url("../media/KaTeX_Typewriter-Regular.11gr2d2wuwz77.woff2") format("woff2"), url("../media/KaTeX_Typewriter-Regular.12f8myjij3617.woff") format("woff"), url("../media/KaTeX_Typewriter-Regular.3nee9kjfy6nm8.ttf") format("truetype");
}

.katex {
  text-indent: 0;
  text-rendering: auto;
  font: 1.21em / 1.2 KaTeX_Main, Times New Roman, serif;
  position: relative;
}

.katex * {
  border-color: currentColor;
  -ms-high-contrast-adjust: none !important;
}

.katex .katex-version:after {
  content: "0.16.47";
}

.katex .katex-mathml {
  clip-path: inset(50%);
  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 .smash {
  line-height: 0;
  display: inline;
}

.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;
  height: inherit;
  width: 100%;
  display: block;
  position: absolute;
}

.katex svg path {
  stroke: none;
}

.katex svg {
  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;
}

.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;
}

/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-ease: initial;
    }
  }
}

.xterm {
  cursor: text;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
}

.xterm.focus, .xterm:focus {
  outline: none;
}

.xterm .xterm-helpers {
  z-index: 5;
  position: absolute;
  top: 0;
}

.xterm .xterm-helper-textarea {
  opacity: 0;
  z-index: -5;
  white-space: nowrap;
  resize: none;
  border: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: -9999em;
  overflow: hidden;
}

.xterm .composition-view {
  color: #fff;
  white-space: nowrap;
  z-index: 1;
  background: #000;
  display: none;
  position: absolute;
}

.xterm .composition-view.active {
  display: block;
}

.xterm .xterm-viewport {
  cursor: default;
  background-color: #000;
  position: absolute;
  inset: 0;
  overflow-y: scroll;
}

.xterm .xterm-screen {
  position: relative;
}

.xterm .xterm-screen canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.xterm-char-measure-element {
  visibility: hidden;
  line-height: normal;
  display: inline-block;
  position: absolute;
  top: 0;
  left: -9999em;
}

.xterm.enable-mouse-events {
  cursor: default;
}

.xterm.xterm-cursor-pointer, .xterm .xterm-cursor-pointer {
  cursor: pointer;
}

.xterm.column-select.focus {
  cursor: crosshair;
}

.xterm .xterm-accessibility:not(.debug), .xterm .xterm-message {
  z-index: 10;
  color: #0000;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.xterm .xterm-accessibility-tree:not(.debug) ::selection {
  color: #0000;
}

.xterm .xterm-accessibility-tree {
  -webkit-user-select: text;
  user-select: text;
  white-space: pre;
  font-family: monospace;
}

.xterm .xterm-accessibility-tree > div {
  transform-origin: 0;
  width: fit-content;
}

.xterm .live-region {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
  overflow: hidden;
}

.xterm-dim {
  opacity: 1 !important;
}

.xterm-underline-1 {
  text-decoration: underline;
}

.xterm-underline-2 {
  -webkit-text-decoration: underline double;
  text-decoration: underline double;
}

.xterm-underline-3 {
  -webkit-text-decoration: underline wavy;
  text-decoration: underline wavy;
}

.xterm-underline-4 {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

.xterm-underline-5 {
  -webkit-text-decoration: underline dashed;
  text-decoration: underline dashed;
}

.xterm-overline {
  text-decoration: overline;
}

.xterm-overline.xterm-underline-1 {
  text-decoration: underline overline;
}

.xterm-overline.xterm-underline-2 {
  -webkit-text-decoration: overline double underline;
  text-decoration: overline double underline;
}

.xterm-overline.xterm-underline-3 {
  -webkit-text-decoration: overline wavy underline;
  text-decoration: overline wavy underline;
}

.xterm-overline.xterm-underline-4 {
  -webkit-text-decoration: overline dotted underline;
  text-decoration: overline dotted underline;
}

.xterm-overline.xterm-underline-5 {
  -webkit-text-decoration: overline dashed underline;
  text-decoration: overline dashed underline;
}

.xterm-strikethrough {
  text-decoration: line-through;
}

.xterm-screen .xterm-decoration-container .xterm-decoration {
  z-index: 6;
  position: absolute;
}

.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
  z-index: 7;
}

.xterm-decoration-overview-ruler {
  z-index: 8;
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
}

.xterm-decoration-top {
  z-index: 2;
  position: relative;
}

.xterm .xterm-scrollable-element > .scrollbar {
  cursor: default;
}

.xterm .xterm-scrollable-element > .scrollbar > .scra {
  cursor: pointer;
  font-size: 11px !important;
}

.xterm .xterm-scrollable-element > .visible {
  opacity: 1;
  z-index: 11;
  background: none;
  transition: opacity .1s linear;
}

.xterm .xterm-scrollable-element > .invisible {
  opacity: 0;
  pointer-events: none;
}

.xterm .xterm-scrollable-element > .invisible.fade {
  transition: opacity .8s linear;
}

.xterm .xterm-scrollable-element > .shadow {
  display: none;
  position: absolute;
}

.xterm .xterm-scrollable-element > .shadow.top {
  width: 100%;
  height: 3px;
  box-shadow: var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset;
  display: block;
  top: 0;
  left: 3px;
}

.xterm .xterm-scrollable-element > .shadow.left {
  width: 3px;
  height: 100%;
  box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
  display: block;
  top: 3px;
  left: 0;
}

.xterm .xterm-scrollable-element > .shadow.top-left-corner {
  width: 3px;
  height: 3px;
  display: block;
  top: 0;
  left: 0;
}

.xterm .xterm-scrollable-element > .shadow.top.left {
  box-shadow: var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset;
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-400: #ff6568;
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --font-weight-medium: 500;
    --leading-relaxed: 1.625;
    --radius-sm: .25rem;
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-bg: var(--bg);
    --color-bg-hover: var(--bg-hover);
    --color-bg-selected: var(--bg-selected);
    --color-border: var(--border);
    --color-text: var(--text);
    --color-text-muted: var(--text-muted);
    --color-text-dim: var(--text-dim);
    --color-accent: var(--accent);
  }

  @supports (color: lab(0% 0 0)) {
    :root, :host {
      --color-red-400: lab(63.7053% 60.745 31.3109);
    }
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .\@container {
    container-type: inline-size;
  }

  .pointer-events-none {
    pointer-events: none;
  }

  .collapse {
    visibility: collapse;
  }

  .invisible {
    visibility: hidden;
  }

  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .sticky {
    position: sticky;
  }

  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .isolate {
    isolation: isolate;
  }

  .z-50 {
    z-index: 50;
  }

  .order-1 {
    order: 1;
  }

  .\!container {
    width: 100% !important;
  }

  @media (min-width: 40rem) {
    .\!container {
      max-width: 40rem !important;
    }
  }

  @media (min-width: 48rem) {
    .\!container {
      max-width: 48rem !important;
    }
  }

  @media (min-width: 64rem) {
    .\!container {
      max-width: 64rem !important;
    }
  }

  @media (min-width: 80rem) {
    .\!container {
      max-width: 80rem !important;
    }
  }

  @media (min-width: 96rem) {
    .\!container {
      max-width: 96rem !important;
    }
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-\[6px\] {
    margin-top: 6px;
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .h-\[29px\] {
    height: 29px;
  }

  .h-\[32px\] {
    height: 32px;
  }

  .h-\[720px\] {
    height: 720px;
  }

  .h-full {
    height: 100%;
  }

  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }

  .min-h-20 {
    min-height: calc(var(--spacing) * 20);
  }

  .w-\[32px\] {
    width: 32px;
  }

  .w-\[720px\] {
    width: 720px;
  }

  .w-full {
    width: 100%;
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink, .shrink {
    flex-shrink: 1;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .grow {
    flex-grow: 1;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-\[drop-ripple_2\.4s_ease-out_infinite_backwards\] {
    animation: 2.4s ease-out infinite backwards drop-ripple;
  }

  .animate-\[drop-zone-in_0\.15s_ease_both\] {
    animation: .15s both drop-zone-in;
  }

  .animate-\[pulse_1\.5s_infinite\] {
    animation: 1.5s infinite pulse;
  }

  .animate-spin {
    animation: var(--animate-spin);
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .items-center {
    align-items: center;
  }

  .justify-center {
    justify-content: center;
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .overflow-x-hidden {
    overflow-x: hidden;
  }

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

  .rounded {
    border-radius: .25rem;
  }

  .rounded-\[7px\] {
    border-radius: 7px;
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-sm {
    border-radius: var(--radius-sm);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-\[1\.5px\] {
    border-style: var(--tw-border-style);
    border-width: 1.5px;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-solid {
    --tw-border-style: solid;
    border-style: solid;
  }

  .border-\[rgba\(37\,99\,235\,0\.5\)\] {
    border-color: #2563eb80;
  }

  .border-border {
    border-color: var(--color-border);
  }

  .bg-\[rgba\(37\,99\,235\,0\.06\)\] {
    background-color: #2563eb0f;
  }

  .bg-accent\/20 {
    background-color: var(--color-accent);
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-accent\/20 {
      background-color: color-mix(in oklab, var(--color-accent) 20%, transparent);
    }
  }

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

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

  .bg-bg-selected {
    background-color: var(--color-bg-selected);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-\[10px\] {
    padding-inline: 10px;
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .text-\[10px\] {
    font-size: 10px;
  }

  .text-\[13px\] {
    font-size: 13px;
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .break-words {
    overflow-wrap: break-word;
  }

  .wrap-anywhere {
    overflow-wrap: anywhere;
  }

  .break-all {
    word-break: break-all;
  }

  .text-accent {
    color: var(--color-accent);
  }

  .text-red-400 {
    color: var(--color-red-400);
  }

  .text-text {
    color: var(--color-text);
  }

  .text-text-dim {
    color: var(--color-text-dim);
  }

  .text-text-muted {
    color: var(--color-text-muted);
  }

  .capitalize {
    text-transform: capitalize;
  }

  .lowercase {
    text-transform: lowercase;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .line-through {
    text-decoration-line: line-through;
  }

  .underline {
    text-decoration-line: underline;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .drop-shadow-\[0_6px_18px_rgba\(37\,99\,235\,0\.18\)\] {
    --tw-drop-shadow-size: drop-shadow(0 6px 18px var(--tw-drop-shadow-color, #2563eb2e));
    --tw-drop-shadow: var(--tw-drop-shadow-size);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .backdrop-blur-\[1px\] {
    --tw-backdrop-blur: blur(1px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  .\[scrollbar-gutter\:stable\] {
    scrollbar-gutter: stable;
  }

  @media (hover: hover) {
    .hover\:bg-bg-hover:hover {
      background-color: var(--color-bg-hover);
    }
  }

  @media (hover: hover) {
    .hover\:bg-bg-selected:hover {
      background-color: var(--color-bg-selected);
    }
  }

  .focus\:outline-2:focus {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }

  .focus\:outline-accent:focus {
    outline-color: var(--color-accent);
  }

  .focus-visible\:outline-2:focus-visible {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }

  .focus-visible\:outline-accent:focus-visible {
    outline-color: var(--color-accent);
  }

  .disabled\:cursor-default:disabled {
    cursor: default;
  }
}

:root, [data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #fff;
  --bg-panel: #f5f5f5;
  --bg-hover: #eee;
  --bg-selected: #e8e8e8;
  --border: #e0e0e0;
  --text: #1a1a1a;
  --text-muted: #515c6b;
  --text-dim: #5e6673;
  --accent: #245bce;
  --accent-hover: #1d4ed8;
  --accent-contrast: #fff;
  --user-bg: #eff6ff;
  --assistant-bg: #fff;
  --tool-bg: #f9fafb;
  --bg-subtle: #00000008;
  --chat-content-max-width: 820px;
  --chat-content-font-size: 14px;
}

html.dark, [data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #1a1a1a;
  --bg-panel: #242424;
  --bg-hover: #2e2e2e;
  --bg-selected: #383838;
  --border: #454545;
  --text: #e8e8e8;
  --text-muted: #b7b7b7;
  --text-dim: #a4a4a4;
  --accent: #a4c2f4;
  --accent-hover: #c3d8fa;
  --accent-contrast: #182234;
  --user-bg: #292929;
  --assistant-bg: #1a1a1a;
  --tool-bg: #222;
  --bg-subtle: #ffffff0a;
}

[data-theme="mist"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f4f8f7;
  --bg-panel: #e9f0ee;
  --bg-hover: #e0eae7;
  --bg-selected: #d7e4df;
  --border: #afc4ba;
  --text: #202e2b;
  --text-muted: #455f56;
  --text-dim: #52685f;
  --accent: #1e6559;
  --accent-hover: #174f46;
  --accent-contrast: #fff;
  --user-bg: #e0efeb;
  --assistant-bg: #f4f8f7;
  --tool-bg: #ecf3f0;
  --bg-subtle: #1841320a;
}

[data-theme="rose"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #fcf7f8;
  --bg-panel: #f3edef;
  --bg-hover: #eee3e7;
  --bg-selected: #e8dce1;
  --border: #cdb5bf;
  --text: #34282e;
  --text-muted: #65505a;
  --text-dim: #705b65;
  --accent: #914360;
  --accent-hover: #76324d;
  --accent-contrast: #fff;
  --user-bg: #f3e4eb;
  --assistant-bg: #fcf7f8;
  --tool-bg: #f7eef2;
  --bg-subtle: #59273e0a;
}

html[data-theme="pine"], [data-theme="pine"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #19201f;
  --bg-panel: #212b28;
  --bg-hover: #2b3632;
  --bg-selected: #35433c;
  --border: #4a5f52;
  --text: #e6ede8;
  --text-muted: #c3d0c6;
  --text-dim: #afc2b5;
  --accent: #acccb7;
  --accent-hover: #d0e2d3;
  --accent-contrast: #182b20;
  --user-bg: #25382f;
  --assistant-bg: #19201f;
  --tool-bg: #222d29;
  --bg-subtle: #d2ecdb0a;
}

:root {
  --safe-area-top: 0px;
  --safe-area-bottom: 0px;
}

@media (display-mode: standalone) {
  :root {
    --app-viewport-height: 100vh;
    --safe-area-top: env(safe-area-inset-top);
    --safe-area-bottom: env(safe-area-inset-bottom);
  }
}

.catppuccin-file-icon {
  background: center / contain no-repeat var(--catppuccin-icon-light);
  flex-shrink: 0;
  display: block;
}

html.dark .catppuccin-file-icon {
  background-image: var(--catppuccin-icon-dark);
}

@supports ((-webkit-mask-image: url("mask.svg")) or (mask-image: url("mask.svg"))) {
  .catppuccin-file-icon {
    background: var(--text-dim);
    -webkit-mask: center / contain no-repeat var(--catppuccin-icon-light);
    mask: center / contain no-repeat var(--catppuccin-icon-light);
    -webkit-mask: center / contain no-repeat var(--catppuccin-icon-light);
  }

  html.dark .catppuccin-file-icon {
    background: var(--text-dim);
    -webkit-mask-image: var(--catppuccin-icon-dark);
    mask-image: var(--catppuccin-icon-dark);
    -webkit-mask-image: var(--catppuccin-icon-dark);
  }
}

::view-transition-old(root) {
  mix-blend-mode: normal;
  animation: none;
}

::view-transition-new(root) {
  mix-blend-mode: normal;
  animation: none;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100dvh;
  height: var(--app-viewport-height, 100dvh);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  overscroll-behavior: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  overflow: hidden;
}

body {
  flex-direction: column;
  display: flex;
}

.web-login-page {
  min-height: 100%;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: var(--bg);
  place-items: center;
  display: grid;
}

.web-login-shell {
  width: min(100%, 360px);
}

.web-login-brand {
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  display: flex;
}

.web-login-brand img {
  border-radius: 8px;
  flex-shrink: 0;
}

.web-login-brand h1 {
  color: var(--text);
  letter-spacing: 0;
  margin: 0 0 3px;
  font-size: 22px;
}

.web-login-brand p {
  color: var(--text-muted);
  margin: 0;
  font-size: 12px;
}

.web-login-form {
  width: 100%;
}

.web-login-composer {
  border: 1px solid var(--border);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 10px 10px 14px;
  display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .web-login-composer {
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  }
}

.web-login-composer {
  background: var(--bg);
  border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 1px 2px #0f172a0a, 0 8px 24px -12px #0f172a1a;
}

.web-login-composer:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent), 0 8px 24px -12px #0f172a1a;
}

@supports (color: color-mix(in lab, red, red)) {
  .web-login-composer:focus-within {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent), 0 8px 24px -12px #0f172a1a;
  }
}

.web-login-label {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.web-login-form input {
  min-width: 0;
  height: 30px;
  color: var(--text);
  font: inherit;
  background: none;
  border: none;
  outline: none;
  flex: 1;
  padding: 0;
  font-size: 16px;
}

.web-login-form input::placeholder {
  color: var(--text-dim);
}

.web-login-error {
  color: #dc2626;
  min-height: 17px;
  margin: 7px 4px 0;
  font-size: 11px;
  line-height: 17px;
}

html.dark .web-login-error {
  color: #f87171;
}

.web-login-form button {
  background: var(--accent);
  min-height: 32px;
  color: var(--accent-contrast);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  border: none;
  border-radius: 8px;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.web-login-form button:not(:disabled):hover {
  background: var(--accent-hover);
}

.web-login-form button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.web-login-form button:disabled {
  background: var(--bg-panel);
  color: var(--text-dim);
  cursor: not-allowed;
}

.terminal-panel {
  background: #111318;
  grid-template-rows: 38px auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: grid;
}

.terminal-panel-header {
  color: #9ca3af;
  min-width: 0;
  font-family: var(--font-mono);
  background: #181b21;
  border-bottom: 1px solid #2f3540;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px 0 13px;
  font-size: 11px;
  display: flex;
}

.terminal-panel-path {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.terminal-panel-path span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.terminal-status-dot {
  background: #facc15;
  border-radius: 50%;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
}

.terminal-status-dot.is-ready {
  background: #4ade80;
}

.terminal-status-dot.is-exited, .terminal-status-dot.is-error {
  background: #f87171;
}

.terminal-panel-header button {
  color: #9ca3af;
  cursor: pointer;
  height: 27px;
  font: inherit;
  background: none;
  border: 1px solid #343a46;
  border-radius: 5px;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  display: inline-flex;
}

.terminal-panel-exit {
  color: #9ca3af;
  font-family: var(--font-mono);
  padding: 7px 12px;
  font-size: 11px;
}

.terminal-panel-header button:hover {
  color: #e5e7eb;
  background: #242932;
}

.terminal-panel-error {
  color: #fca5a5;
  font-family: var(--font-mono);
  background: #321b1b;
  border-bottom: 1px solid #5f2424;
  padding: 7px 12px;
  font-size: 11px;
}

.terminal-xterm {
  grid-row: -2 / -1;
  min-width: 0;
  min-height: 0;
  padding: 10px 8px 22px 12px;
  overflow: hidden;
}

.terminal-xterm .xterm {
  height: 100%;
}

.terminal-xterm-host {
  width: 100%;
  height: 100%;
}

.terminal-xterm .xterm-viewport {
  background-color: #111318;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-dim);
}

@supports (color: color-mix(in lab, red, red)) {
  ::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--text-dim) 45%, transparent);
  }
}

::-webkit-scrollbar-thumb {
  background-clip: padding-box;
  border: 2px solid #0000;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-dim);
}

@supports (color: color-mix(in lab, red, red)) {
  ::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--text-dim) 72%, transparent);
  }
}

::-webkit-scrollbar-thumb:active {
  background-color: var(--text-dim);
}

::-webkit-scrollbar-corner {
  background: none;
}

.scrollbar-subtle::-webkit-scrollbar-thumb {
  background-color: #0000;
}

.scrollbar-subtle.scrollbar-visible::-webkit-scrollbar-thumb {
  background-color: var(--text-dim);
}

@supports (color: color-mix(in lab, red, red)) {
  .scrollbar-subtle.scrollbar-visible::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--text-dim) 45%, transparent);
  }
}

.scrollbar-subtle.scrollbar-visible::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-dim);
}

@supports (color: color-mix(in lab, red, red)) {
  .scrollbar-subtle.scrollbar-visible::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--text-dim) 72%, transparent);
  }
}

.scrollbar-subtle.scrollbar-visible::-webkit-scrollbar-thumb:active {
  background-color: var(--text-dim);
}

@media (pointer: coarse) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  ::-webkit-scrollbar-thumb {
    border-width: 1px;
    border-radius: 3px;
  }
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb {
  background-color: #9ca3af73;
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3afb8;
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb:active {
  background-color: #9ca3af;
}

.extension-status-shelf {
  border-top: 1px solid var(--border);
  background: none;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: stretch;
  min-width: 0;
  display: flex;
}

.extension-widget-panels {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  flex: 0 0 100%;
  max-height: min(144px, 18dvh);
  display: flex;
  overflow: hidden auto;
}

@supports (color: color-mix(in lab, red, red)) {
  .extension-widget-panels {
    border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  }
}

.extension-widget-panels {
  background: var(--bg-panel);
}

.extension-widget-panel {
  background: none;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.extension-widget-panel-heading {
  height: 26px;
  color: var(--text);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 12px 0;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
}

.extension-widget-triggers {
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  flex: 100%;
  align-items: stretch;
  min-width: 0;
  height: 35px;
  display: flex;
  overflow: auto hidden;
}

.extension-widget-triggers::-webkit-scrollbar {
  display: none;
}

.extension-status-shelf.has-widgets.has-status .extension-widget-triggers {
  border-right: 1px solid var(--border);
  flex: none;
  max-width: 70%;
}

.extension-widget-trigger {
  border: 0;
  border-right: 1px solid var(--border);
  flex: 0 0 108px;
  align-items: center;
  gap: 5px;
  width: 108px;
  height: 35px;
  padding: 0 7px;
  display: flex;
  position: relative;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .extension-widget-trigger {
    border-right: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  }
}

.extension-widget-trigger {
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-align: left;
  background: none;
  font-size: 11px;
}

.extension-widget-update-pulse {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease-out;
  position: absolute;
  inset: 0;
}

.extension-widget-update-pulse:before {
  background: var(--accent);
  content: "";
  opacity: .12;
  position: absolute;
  inset: 0;
}

.extension-widget-trigger.is-updating .extension-widget-update-pulse {
  opacity: 1;
}

.extension-widget-trigger.is-updating .extension-widget-update-pulse:before {
  animation: .9s ease-in-out infinite alternate extension-widget-update-pulse;
}

@keyframes extension-widget-update-pulse {
  from {
    opacity: .18;
  }

  to {
    opacity: .06;
  }
}

button.extension-widget-trigger {
  cursor: pointer;
  transition: background .12s, color .12s;
}

button.extension-widget-trigger:hover, .extension-widget-trigger.is-expanded {
  background: var(--bg-hover);
  color: var(--text);
}

button.extension-widget-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.extension-widget-placement {
  z-index: 1;
  width: 10px;
  color: var(--text-dim);
  flex: 0 0 10px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.extension-widget-placement-icon {
  fill: currentColor;
  flex: 0 0 8px;
  width: 8px;
  height: 6px;
  display: block;
}

.extension-widget-key {
  z-index: 1;
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .extension-widget-update-pulse {
    transition: none;
  }

  .extension-widget-trigger.is-updating .extension-widget-update-pulse:before {
    opacity: .12;
    animation: none;
  }
}

.extension-widget-content {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: calc(14px + var(--chat-font-size-offset, 0px));
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  margin: 0;
  padding: 3px 12px 8px;
  line-height: 1.45;
}

.extension-status-line {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  flex: 1 1 0;
  align-items: flex-start;
  min-width: 0;
  min-height: 35px;
  max-height: min(144px, 18dvh);
  padding: 8px 12px;
  display: flex;
  overflow: auto;
}

.extension-status-text {
  min-width: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: pre;
  flex: 1;
  font-size: 11px;
  line-height: 1.45;
}

:root {
  --font-ui-default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono-default: var(--font-noto-mono), "JetBrains Mono", "Fira Code", "Consolas", ui-monospace, "PingFang SC", "Microsoft YaHei", monospace;
  --font-ui: var(--font-ui-default);
  --font-mono: var(--font-mono-default);
  --font-ui-weight: 400;
  --font-mono-weight: 400;
}

pre, code {
  font-family: var(--font-mono);
  font-weight: var(--font-mono-weight);
}

.markdown-body :is(h1, h2, h3, h4, h5, h6, strong, b) code {
  font-weight: inherit;
}

.chat-content {
  --chat-font-size-offset: calc(var(--chat-content-font-size, 14px) - 14px);
}

.markdown-body {
  min-width: 0;
  max-width: 100%;
  font-size: calc(14px + var(--chat-font-size-offset, 0px));
  color: var(--text);
  word-break: break-word;
  line-height: 1.7;
  overflow-x: hidden;
}

.markdown-body p {
  margin: 0 0 8px;
}

.markdown-body p:last-child {
  margin-bottom: 0;
}

.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
  color: var(--text);
  letter-spacing: 0;
  margin: 10px 0 5px;
  font-weight: 600;
  line-height: 1.35;
}

.markdown-body h1 {
  font-size: 1.16em;
}

.markdown-body h2 {
  font-size: 1.08em;
}

.markdown-body h3 {
  color: var(--text);
  font-size: .98em;
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body h3 {
    color: color-mix(in srgb, var(--text) 88%, var(--text-muted));
  }
}

.markdown-body ul, .markdown-body ol {
  margin: 5px 0 8px;
  padding-left: 22px;
  list-style-position: outside;
}

.markdown-body ol {
  padding-left: calc(.8em + var(--ol-marker-digits, 2) * .62em);
}

.markdown-body li {
  margin: 3px 0;
  padding-left: 2px;
}

.markdown-body ul > li {
  list-style-type: disc;
}

.markdown-body ol > li {
  list-style-type: decimal;
}

.markdown-body li > p {
  margin: 0;
}

.markdown-body li::marker {
  color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body li::marker {
    color: color-mix(in srgb, var(--accent) 72%, var(--text-muted));
  }
}

.markdown-body li::marker {
  font-weight: 600;
}

.markdown-body strong {
  color: var(--text);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body strong {
    color: color-mix(in srgb, var(--text) 88%, var(--accent));
  }
}

.markdown-body strong {
  font-weight: 700;
}

.markdown-body em {
  color: var(--text-muted);
}

.markdown-body a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body a {
    -webkit-text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
    text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  }
}

.markdown-body a:hover {
  -webkit-text-decoration-color: var(--accent);
  text-decoration-color: var(--accent);
}

.markdown-body img {
  border-radius: 6px;
  max-width: 100%;
  height: auto;
  margin: 8px 0;
  display: block;
}

.markdown-body .markdown-inline-code {
  background: var(--bg-subtle);
  color: var(--text);
  font-family: var(--font-mono);
  box-shadow: inset 0 0 0 1px var(--border);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: .92em;
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body .markdown-inline-code {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent);
  }
}

.markdown-body .contains-task-list {
  padding-left: 0;
  list-style: none;
}

.markdown-body .task-list-item {
  padding-left: 25px;
  display: block;
  position: relative;
}

.markdown-body .task-list-item::marker {
  content: "";
}

.markdown-body .task-list-item > input[type="checkbox"], .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 4px;
  place-content: center;
  width: 14px;
  height: 14px;
  margin: 0;
  display: inline-grid;
  position: absolute;
  top: .35em;
  left: 0;
}

.markdown-body .task-list-item > input[type="checkbox"]:checked, .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child:checked {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body .task-list-item > input[type="checkbox"]:checked, .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child:checked {
    border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  }
}

.markdown-body .task-list-item > input[type="checkbox"]:checked, .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child:checked {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body .task-list-item > input[type="checkbox"]:checked, .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child:checked {
    background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  }
}

.markdown-body .task-list-item > input[type="checkbox"]:checked:before, .markdown-body .task-list-item > p:first-child > input[type="checkbox"]:first-child:checked:before {
  content: "";
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  width: 4px;
  height: 8px;
  transform: rotate(45deg) translateY(-1px);
}

.markdown-body blockquote {
  border-left: 3px solid var(--border);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body blockquote {
    border-left: 3px solid color-mix(in srgb, var(--border) 75%, var(--text-muted));
  }
}

.markdown-body blockquote {
  background: var(--bg-subtle);
  color: var(--text-muted);
  border-radius: 0 6px 6px 0;
  margin: 6px 0;
  padding: 6px 11px;
}

.markdown-table-wrap {
  border: 1px solid var(--border);
  border-radius: 7px;
  width: 100%;
  margin: 8px 0;
  overflow: auto hidden;
}

.markdown-body table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 100%;
  font-size: calc(13px + var(--chat-font-size-offset, 0px));
}

.markdown-table-wrap > table {
  width: max-content;
}

.markdown-body th, .markdown-body td {
  border: 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  max-width: 240px;
  padding: 6px 10px;
}

.markdown-body tr:last-child td {
  border-bottom: 0;
}

.markdown-body th {
  background: var(--bg-panel);
  color: var(--text);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-body th {
    color: color-mix(in srgb, var(--text) 88%, var(--text-muted));
  }
}

.markdown-body th {
  font-weight: 650;
}

.markdown-body tbody tr:nth-child(2n) td {
  background: var(--bg-subtle);
}

.markdown-body hr {
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: none;
  height: 1px;
  margin: 12px 0;
}

.markdown-body .katex-display {
  margin: .6em 0;
  padding: 2px 0;
  overflow: auto hidden;
}

.markdown-body .katex {
  font-size: 1.05em;
}

.markdown-user-message p {
  white-space: pre-wrap;
}

.markdown-custom-message {
  line-height: 1.32;
}

.markdown-custom-message p {
  margin: 0;
}

.markdown-custom-message h1, .markdown-custom-message h2, .markdown-custom-message h3, .markdown-custom-message h4, .markdown-custom-message h5, .markdown-custom-message h6 {
  margin: 4px 0 2px;
  line-height: 1.18;
}

.markdown-custom-message ul, .markdown-custom-message ol {
  margin: 2px 0 3px;
}

.markdown-custom-message li {
  margin: 0;
}

.markdown-custom-message blockquote {
  margin: 3px 0;
  padding: 4px 8px;
}

.markdown-custom-message .markdown-table-wrap, .markdown-custom-message .markdown-code-block {
  margin: 4px 0;
}

.tool-codemode-script .markdown-code-block {
  box-shadow: none;
  border: none;
  border-radius: 0;
  margin: 0;
}

.tool-codemode-script .markdown-code-block pre {
  max-height: 360px;
}

.markdown-compaction-message {
  line-height: 1.5;
}

.markdown-compaction-message p {
  margin: 0 0 7px;
}

.markdown-compaction-message h1, .markdown-compaction-message h2, .markdown-compaction-message h3, .markdown-compaction-message h4, .markdown-compaction-message h5, .markdown-compaction-message h6 {
  margin: 8px 0 3px;
  line-height: 1.25;
}

.markdown-compaction-message ul, .markdown-compaction-message ol {
  margin: 4px 0 8px;
}

.markdown-compaction-message li {
  margin: 2px 0;
}

.markdown-compaction-message .markdown-table-wrap, .markdown-compaction-message .markdown-code-block {
  margin: 6px 0;
}

.compaction-file-details {
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  margin-top: 10px;
  padding-top: 8px;
  font-size: 12px;
}

.compaction-file-details summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.4;
}

.compaction-file-section {
  margin-top: 8px;
}

.compaction-file-title {
  color: var(--text);
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 650;
}

.compaction-file-list {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  max-height: 180px;
  font-family: var(--font-mono);
  border-radius: 6px;
  margin: 0;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.45;
  list-style: none;
  overflow: auto;
}

.compaction-file-list li {
  overflow-wrap: anywhere;
}

.compaction-file-list li + li {
  margin-top: 3px;
}

.markdown-code-block {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-shadow: 0 1px 0 var(--border);
  border-radius: 7px;
  margin: 6px 0;
  position: relative;
  overflow: hidden;
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-code-block {
    box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 42%, transparent);
  }
}

.markdown-code-header {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  font-size: 11px;
  display: flex;
}

.markdown-code-lang {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 650;
}

.markdown-code-actions {
  align-items: center;
  gap: 6px;
  display: flex;
}

.markdown-code-action {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 11px;
  line-height: 1.25;
}

.markdown-code-action:hover:not(:disabled) {
  color: var(--text);
  border-color: var(--border);
}

@supports (color: color-mix(in lab, red, red)) {
  .markdown-code-action:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--border) 70%, var(--text-muted));
  }
}

.markdown-code-action:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: .75;
}

.markdown-code-action.is-active {
  background: var(--bg-selected);
  color: var(--text);
}

.mermaid-block {
  background: var(--bg);
  padding: 12px;
  overflow-x: auto;
}

@supports (color: color-mix(in lab, red, red)) {
  .mermaid-block {
    background: color-mix(in srgb, var(--bg) 92%, var(--bg-panel));
  }
}

.mermaid-block svg {
  max-width: none;
  display: block;
}

.mermaid-block-loading {
  min-height: 120px;
}

.mermaid-block-error {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.mermaid-preview-button {
  width: 100%;
  max-height: min(600px, 60dvh);
  color: inherit;
  cursor: zoom-in;
  text-align: left;
  border: 0;
  overflow: auto;
}

.mermaid-preview-button:hover {
  opacity: .85;
}

.mermaid-preview-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.image-preview-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-right: max(16px, env(safe-area-inset-right));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  padding-left: max(16px, env(safe-area-inset-left));
  color: var(--text);
  background: none;
  border: 0;
  margin: 0;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.image-preview-dialog[open] {
  justify-content: center;
  align-items: center;
  display: flex;
}

.image-preview-dialog::backdrop {
  background: #000000b8;
}

.image-preview-image {
  object-fit: contain;
  border-radius: 8px;
  max-width: 100%;
  max-height: 100%;
  display: block;
  box-shadow: 0 20px 60px #0006;
}

.image-preview-close {
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  cursor: pointer;
  touch-action: manipulation;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: background-color .12s, color .12s;
  display: inline-flex;
  position: absolute;
  box-shadow: 0 2px 10px #00000047;
}

.image-preview-close:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.image-preview-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (pointer: coarse) {
  .image-preview-close {
    width: 44px;
    height: 44px;
  }
}

.mermaid-zoom-dialog {
  background: var(--bg);
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  color: var(--text);
  border: 0;
  margin: 0;
  padding: 0;
}

.mermaid-zoom-dialog::backdrop {
  background: #00000059;
}

.mermaid-zoom-layout {
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  display: grid;
}

.mermaid-zoom-toolbar {
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 7px 10px;
  display: flex;
}

.mermaid-zoom-title {
  min-width: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
}

.mermaid-zoom-actions {
  align-items: center;
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.mermaid-zoom-stepper {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 5px;
  align-items: center;
  height: 24px;
  display: flex;
  overflow: hidden;
}

.mermaid-zoom-stepper button, .mermaid-zoom-icon-button {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  cursor: pointer;
  touch-action: manipulation;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.mermaid-zoom-stepper button {
  height: 22px;
}

.mermaid-zoom-stepper button + .mermaid-zoom-value, .mermaid-zoom-value + button {
  border-left: 1px solid var(--border);
}

.mermaid-zoom-icon-button {
  border: 1px solid var(--border);
  border-radius: 5px;
  flex: 0 0 24px;
}

.mermaid-zoom-stepper button:hover:not(:disabled), .mermaid-zoom-icon-button:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.mermaid-zoom-stepper button:disabled {
  opacity: .35;
  cursor: default;
}

.mermaid-zoom-stepper button:focus-visible, .mermaid-zoom-icon-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.mermaid-zoom-value {
  min-width: 48px;
  height: 22px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  font-size: 12px;
  line-height: 22px;
}

.mermaid-zoom-viewport {
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  overflow: auto;
}

.mermaid-zoom-canvas {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 7px;
  margin: 0 auto;
  padding: 12px;
  transition: width .15s;
}

.mermaid-zoom-canvas svg {
  height: auto;
  display: block;
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 480px) {
  .mermaid-zoom-toolbar {
    padding-inline: 8px;
  }

  .mermaid-zoom-title {
    font-size: 10px;
  }

  .mermaid-zoom-viewport {
    padding: 12px;
  }
}

.file-viewer-toolbar {
  min-width: 0;
  min-height: 35px;
}

.file-viewer-path {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: auto;
  min-width: 48px;
  overflow: hidden;
}

.file-viewer-meta {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 auto;
  min-width: 0;
  overflow: hidden;
}

.file-viewer-live-indicator {
  border-radius: 50%;
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
}

.file-viewer-controls {
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  display: flex;
}

.file-viewer-actions {
  flex-shrink: 0;
  order: -1;
  align-items: center;
  gap: 4px;
  height: 24px;
  display: flex;
}

.file-viewer-mode-switch {
  border: 1px solid var(--border);
  border-radius: 5px;
  height: 24px;
  display: flex;
  overflow: hidden;
}

.file-viewer-mode-button {
  border: 0;
  border-left: 1px solid var(--border);
  height: 22px;
  font: inherit;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 500;
}

.file-viewer-mode-button:first-child {
  border-left: 0;
}

.file-viewer-mode-button:hover {
  filter: brightness(1.08);
}

.file-viewer-load-more {
  z-index: 2;
  background: var(--bg-panel);
  max-width: calc(100% - 24px);
  box-shadow: 0 3px 12px var(--text);
  position: absolute;
  bottom: 12px;
  right: 12px;
}

@supports (color: color-mix(in lab, red, red)) {
  .file-viewer-load-more {
    box-shadow: 0 3px 12px color-mix(in srgb, var(--text) 18%, transparent);
  }
}

.file-viewer-load-more {
  pointer-events: auto;
}

.chat-scroll-to-bottom {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 0 2px 8px var(--text);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .chat-scroll-to-bottom {
    box-shadow: 0 2px 8px color-mix(in srgb, var(--text) 16%, transparent);
  }
}

.chat-scroll-to-bottom {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s, transform .16s, background .12s, color .12s, visibility 0s linear .16s;
  transform: translateY(4px) scale(.96);
}

.chat-scroll-to-bottom.is-visible {
  opacity: .28;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .16s, transform .16s, background .12s, color .12s, visibility;
  transform: none;
}

.chat-scroll-to-bottom.is-visible:hover, .chat-scroll-to-bottom.is-visible:focus-visible {
  opacity: 1;
  background: var(--bg-hover);
  color: var(--text);
}

.chat-scroll-to-bottom:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .chat-scroll-to-bottom, .chat-scroll-to-bottom.is-visible {
    transition: opacity .16s, background .12s, color .12s, visibility 0s linear .16s;
    transform: none;
  }

  .chat-scroll-to-bottom.is-visible {
    transition: opacity .16s, background .12s, color .12s, visibility;
  }
}

.file-viewer-icon-button {
  box-sizing: border-box;
  border: 1px solid var(--border);
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border-radius: 5px;
  flex: 0 0 24px;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-decoration: none;
  display: inline-flex;
}

.file-viewer-icon-button:hover {
  color: var(--text);
  background: var(--bg-hover) !important;
}

.file-viewer-icon-button:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: .55;
}

.file-viewer-icon-button:disabled:hover {
  color: var(--text-dim);
  background: none !important;
}

.file-viewer-mode-button:focus-visible, .file-viewer-icon-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.directory-picker-path:focus-visible {
  box-shadow: 0 0 0 3px var(--accent);
  border-color: var(--accent) !important;
}

@supports (color: color-mix(in lab, red, red)) {
  .directory-picker-path:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  }
}

.directory-picker-row-manage {
  display: inline-flex;
}

@media (max-width: 640px) {
  .file-viewer-meta {
    display: none;
  }
}

@media (max-width: 380px) {
  .file-viewer-toolbar {
    gap: 6px !important;
    padding-inline: 8px !important;
  }

  .file-viewer-mode-button {
    padding-inline: 6px;
  }
}

.markdown-file-preview h1 {
  font-size: 1.8em;
}

.markdown-file-preview h2 {
  font-size: 1.4em;
}

.markdown-file-preview h3 {
  font-size: 1.15em;
}

.markdown-file-preview p {
  margin: 0 0 12px;
}

.markdown-file-preview pre {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  border-radius: 6px;
  margin: 12px 0;
  padding: 12px 16px;
  font-size: 13px;
  overflow-x: auto;
}

.markdown-file-preview code {
  font-family: var(--font-mono);
  background: var(--bg-panel);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: .9em;
}

.markdown-file-preview pre code {
  background: none;
  padding: 0;
}

.markdown-frontmatter {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 14px 16px 12px;
}

.markdown-frontmatter-title {
  color: var(--text);
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.35;
}

.markdown-frontmatter-tags {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  display: flex;
}

.markdown-frontmatter-tag {
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.6;
}

.markdown-frontmatter-rows {
  grid-template-columns: auto 1fr;
  gap: 5px 14px;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  display: grid;
}

.markdown-frontmatter-row {
  display: contents;
}

.markdown-frontmatter-row dt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  font-size: .92em;
}

.markdown-frontmatter-row dd {
  color: var(--text);
  word-break: break-word;
  min-width: 0;
  margin: 0;
}

.markdown-frontmatter-row dd a {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
}

.markdown-body span.linenumber, span.linenumber {
  color: var(--text-dim) !important;
  font-style: normal !important;
}

span.token.table {
  display: inline;
}

@keyframes drop-zone-in {
  from {
    opacity: 0;
    transform: scale(.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drop-icon-float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes drop-ring-pulse {
  0%, 100% {
    opacity: .5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes drop-ripple {
  0% {
    opacity: .6;
    transform: scale(0);
  }

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

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

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

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@keyframes notice-shelf-in {
  from {
    opacity: 0;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin-bottom: 0;
    transform: translateY(-6px) scale(.995);
  }

  to {
    opacity: 1;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    transform: translateY(0) scale(1);
  }
}

@keyframes notice-shelf-out {
  from {
    opacity: 1;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    height: 0;
    min-height: 0;
    max-height: 0;
    margin-bottom: 0;
    transform: translateY(-5px) scale(.995);
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-shelf-item {
    animation-duration: .001ms !important;
  }
}

.panel-resize-handle {
  z-index: 220;
  cursor: col-resize;
  touch-action: none;
  outline: none;
  flex: 0 0 12px;
  width: 12px;
  margin: 0 -6px;
  position: relative;
}

.panel-resize-handle:after {
  content: "";
  pointer-events: none;
  background: none;
  width: 2px;
  transition: background .12s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
}

.panel-resize-handle:hover:after, .panel-resize-handle:focus-visible:after, .panel-resize-handle.is-resizing:after {
  background: var(--text-muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .panel-resize-handle:hover:after, .panel-resize-handle:focus-visible:after, .panel-resize-handle.is-resizing:after {
    background: color-mix(in srgb, var(--text-muted) 70%, var(--border));
  }
}

.pf-dock-resize-handle {
  z-index: 1;
  cursor: col-resize;
  touch-action: none;
  outline: none;
  width: 12px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -6px;
}

.pf-dock-resize-handle:after {
  content: "";
  pointer-events: none;
  background: none;
  width: 2px;
  transition: background .12s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
}

.pf-dock-resize-handle:hover:after, .pf-dock-resize-handle:focus-visible:after, .pf-dock-resize-handle.is-resizing:after {
  background: var(--text-muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .pf-dock-resize-handle:hover:after, .pf-dock-resize-handle:focus-visible:after, .pf-dock-resize-handle.is-resizing:after {
    background: color-mix(in srgb, var(--text-muted) 70%, var(--border));
  }
}

.pf-sheet-resize-handle {
  z-index: 1;
  cursor: row-resize;
  touch-action: none;
  outline: none;
  height: 14px;
  position: absolute;
  top: -7px;
  left: 0;
  right: 0;
}

.pf-sheet-resize-handle:after {
  content: "";
  pointer-events: none;
  background: none;
  height: 2px;
  transition: background .12s;
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
}

.pf-sheet-resize-handle:hover:after, .pf-sheet-resize-handle:focus-visible:after, .pf-sheet-resize-handle.is-resizing:after {
  background: var(--text-muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .pf-sheet-resize-handle:hover:after, .pf-sheet-resize-handle:focus-visible:after, .pf-sheet-resize-handle.is-resizing:after {
    background: color-mix(in srgb, var(--text-muted) 70%, var(--border));
  }
}

.sidebar-section-resize-handle {
  outline: none;
}

.sidebar-section-resize-handle:after {
  content: "";
  pointer-events: none;
  background: none;
  height: 1px;
  transition: background .12s;
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
}

.sidebar-section-resize-handle:hover:after, .sidebar-section-resize-handle:focus-visible:after, .sidebar-section-resize-handle.is-resizing:after {
  background: var(--text-muted);
}

@supports (color: color-mix(in lab, red, red)) {
  .sidebar-section-resize-handle:hover:after, .sidebar-section-resize-handle:focus-visible:after, .sidebar-section-resize-handle.is-resizing:after {
    background: color-mix(in srgb, var(--text-muted) 70%, var(--border));
  }
}

.right-panel-overlay-backdrop {
  display: none;
}

@media (min-width: 641px) {
  .sidebar-overlay-backdrop {
    display: none !important;
  }

  .sidebar-container {
    transition: width .2s, min-width .2s;
    position: relative;
    overflow: hidden;
  }

  .sidebar-container.sidebar-open {
    width: var(--sidebar-width, 260px);
    min-width: var(--sidebar-width, 260px);
  }

  .sidebar-container.sidebar-closed {
    width: 0;
    min-width: 0;
    border-right: none !important;
  }

  .sidebar-container > * {
    width: var(--sidebar-width, 260px);
    min-width: var(--sidebar-width, 260px);
  }

  .sidebar-container.sidebar-resizing, .sidebar-container.sidebar-resizing > * {
    transition: none !important;
  }
}

@media (min-width: 960px) {
  .right-panel-container {
    flex-shrink: 0;
    transition: width .2s, min-width .2s;
    overflow: hidden;
  }

  .right-panel-container.right-panel-open {
    width: var(--right-panel-width, clamp(360px, 42vw, 640px));
    min-width: 300px;
  }

  .right-panel-container.right-panel-closed {
    width: 0;
    min-width: 0;
    border-left: none !important;
  }

  .right-panel-container > * {
    width: var(--right-panel-width, clamp(360px, 42vw, 640px));
    min-width: 300px;
  }

  .right-panel-container.right-panel-resizing, .right-panel-container.right-panel-resizing > * {
    transition: none !important;
  }
}

@media (min-width: 641px) and (max-width: 959px) {
  .right-panel-resize-handle {
    display: none;
  }

  .right-panel-overlay-backdrop {
    z-index: 240;
    opacity: 0;
    pointer-events: none;
    background: #0000003d;
    transition: opacity .2s;
    display: block;
    position: fixed;
    inset: 0;
  }

  .right-panel-overlay-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .right-panel-container {
    top: 0;
    right: env(safe-area-inset-right);
    z-index: 250;
    width: min(560px, 100vw - 48px);
    min-width: 300px;
    transition: transform .2s;
    position: fixed;
    bottom: 0;
    overflow: hidden;
    box-shadow: -12px 0 32px #0000002e;
  }

  .right-panel-container.right-panel-open {
    transform: translateX(0);
  }

  .right-panel-container.right-panel-closed {
    pointer-events: none;
    transform: translateX(100%);
  }

  .right-panel-container > * {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 641px) {
  .right-panel-container.right-panel-open.right-panel-full-width {
    inset: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
    z-index: 250;
    width: auto;
    min-width: 0;
    height: var(--app-viewport-height, 100dvh);
    box-shadow: none;
    transition: none;
    position: fixed;
    transform: none;
    border-left: none !important;
  }

  .right-panel-container.right-panel-full-width > * {
    width: 100%;
    min-width: 0;
  }
}

.file-panel-expand-button {
  background: var(--bg-selected);
  border: none;
  border-left: 1px solid var(--border);
  width: 36px;
  height: 36px;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.file-panel-expand-button:hover, .file-panel-expand-button[aria-pressed="true"] {
  color: var(--accent);
}

.file-panel-expand-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

@media (max-width: 640px) {
  .chat-stats-center {
    display: none !important;
  }

  .sidebar-container {
    top: 0;
    left: env(safe-area-inset-left);
    width: 280px;
    max-width: 85vw;
    height: var(--app-viewport-height, 100dvh);
    transition: transform .25s, box-shadow .25s;
    bottom: 0;
    position: fixed !important;
  }

  .sidebar-container.sidebar-open {
    transform: translateX(0);
    box-shadow: 4px 0 20px #00000026;
  }

  .sidebar-container.sidebar-closed {
    transform: translateX(calc(-100% - env(safe-area-inset-left)));
    box-shadow: none;
  }

  .right-panel-container {
    inset: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
    height: var(--app-viewport-height, 100dvh);
    z-index: 250;
    transition: transform .2s;
    position: fixed;
    overflow: hidden;
  }

  .right-panel-container.right-panel-open {
    width: auto;
    min-width: 0;
  }

  .right-panel-container.right-panel-closed {
    border-left: none !important;
    width: 0 !important;
    min-width: 0 !important;
    display: none !important;
  }

  .right-panel-container > * {
    width: 100%;
    min-width: 0;
  }

  .file-panel-expand-button, .panel-resize-handle, .right-panel-overlay-backdrop {
    display: none;
  }

  .directory-picker-back, .directory-picker-entry, .directory-picker-action {
    min-height: 44px !important;
  }

  .directory-picker-back {
    min-width: 44px !important;
  }

  .directory-picker-footer {
    flex-wrap: wrap;
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }

  textarea, input, select {
    font-size: 16px !important;
  }

  .chat-input-textarea {
    font-size: max(16px, var(--chat-content-font-size, 14px)) !important;
  }

  .extension-status-line {
    cursor: pointer;
    min-height: 28px;
    max-height: 28px;
    padding: 5px 10px;
    overflow: hidden;
  }

  .extension-status-line .extension-status-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
  }

  .extension-status-line.extension-status-expanded {
    cursor: auto;
    max-height: min(144px, 18dvh);
    padding: 8px 12px;
    overflow: auto;
  }

  .extension-status-line.extension-status-expanded .extension-status-text {
    text-overflow: clip;
    white-space: pre;
    overflow: visible;
  }
}

.tab-search-bar {
  z-index: 40;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 8px;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  font-size: 12px;
  display: flex;
  position: absolute;
  top: 10px;
  right: 18px;
  box-shadow: 0 4px 16px #0000002e;
}

.tab-search-input {
  width: 180px;
  color: var(--text);
  background: none;
  border: 1px solid #0000;
  border-radius: 6px;
  outline: none;
  padding: 3px 6px;
  font-size: 12px;
}

.tab-search-input:focus {
  border-color: var(--accent);
}

.tab-search-counter {
  text-align: center;
  min-width: 44px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tab-search-toggle, .tab-search-nav, .tab-search-close, .tab-search-extra {
  min-width: 22px;
  height: 22px;
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono, monospace);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  display: inline-flex;
}

.tab-search-toggle:hover, .tab-search-nav:hover:not(:disabled), .tab-search-close:hover, .tab-search-extra:hover:not(:disabled), .tab-search-toggle-active {
  background: var(--bg-selected);
  color: var(--text);
}

.tab-search-nav:disabled {
  opacity: .4;
  cursor: default;
}

.tab-search-earlier-note {
  background: var(--bg-selected);
  color: var(--text-muted);
  white-space: nowrap;
  pointer-events: none;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
}

.tab-search-earlier-note:empty {
  display: none;
}

::highlight(pi-tab-search-all) {
  background-color: #facc1559;
}

::highlight(pi-tab-search-current) {
  background-color: #f97316bf;
}

.settings-age-filter-input {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 72px;
  color: var(--text);
  font-size: 12px;
  font-family: var(--font-mono);
  text-align: right;
  border-radius: 5px;
  padding: 3px 6px;
}

.settings-age-filter-input:focus {
  border-color: var(--accent);
  outline: none;
}

.chat-load-earlier-spinner {
  color: var(--text-muted);
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

@keyframes chat-row-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-row-prepended {
  animation: .16s ease-out both chat-row-fade-in;
}

@media (prefers-reduced-motion: reduce) {
  .chat-row-prepended {
    animation: none;
  }
}

@media (max-width: 640px), (pointer: coarse) and (max-height: 500px) {
  html[data-keyboard-open] .chat-input-controls, html[data-keyboard-open] .extension-status-shelf {
    display: none !important;
  }

  html[data-keyboard-open] .chat-content {
    padding-bottom: 0 !important;
  }

  html[data-keyboard-open] .chat-input-shell {
    padding-bottom: 6px !important;
  }
}

.pf-step-node-pulse {
  animation: 1.6s ease-in-out infinite pulse;
}

@media (prefers-reduced-motion: reduce) {
  .pf-step-node-pulse {
    animation: none;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

/* [project]/app/settings.css [app-client] (css) */
.config-panel-root {
  min-width: 0;
  min-height: 0;
}

.config-panel-root.is-embedded {
  width: 100%;
  height: 100%;
  display: flex;
}

.config-panel-root.is-modal {
  z-index: 1000;
  background: #00000059;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.config-panel-surface {
  background: var(--bg);
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.config-panel-root.is-embedded > .config-panel-surface {
  width: 100%;
  height: 100%;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.config-panel-root.is-modal > .config-panel-surface {
  width: min(var(--config-panel-width), calc(100vw - 16px));
  height: min(var(--config-panel-height), calc(100dvh - 16px));
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px #0000002e;
}

.config-panel-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 14px 0 18px;
  display: flex;
}

.config-panel-title {
  color: var(--text);
  font-size: 15px;
}

.config-panel-subtitle {
  min-width: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.config-close-button {
  width: 30px;
  height: 30px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  place-items: center;
  margin-left: auto;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  display: grid;
}

.config-close-button:hover, .config-close-button:focus-visible {
  background: var(--bg-hover);
  color: var(--text);
  outline: none;
}

.config-split-view {
  flex-direction: row;
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.config-sidebar {
  border-right: 1px solid var(--border);
  background: var(--bg-panel);
  flex-direction: column;
  flex-shrink: 0;
  width: 240px;
  min-height: 0;
  display: flex;
}

.config-sidebar-list {
  flex: 1;
  min-height: 0;
  padding: 8px 6px;
  overflow-y: auto;
}

.config-sidebar-group {
  margin-bottom: 6px;
}

.config-sidebar-group-label {
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 3px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
}

.config-sidebar-group-label-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: auto;
  min-width: 0;
  overflow: hidden;
}

.config-sidebar-group-switch {
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.config-sidebar-group-count {
  font-family: var(--font-mono);
  font-weight: 400;
}

.config-sidebar-group-status {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  flex-direction: column;
  gap: 2px;
  max-height: 4.2em;
  padding: 0 8px 4px;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  overflow-y: auto;
}

.config-sidebar-group-note {
  color: var(--text-muted);
}

.config-sidebar-group-error {
  color: #ef4444;
}

.config-sidebar-item {
  width: 100%;
  min-width: 0;
  height: 30px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  outline: none;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  transition: background-color .12s, color .12s;
  display: flex;
}

.config-sidebar-item:not(:disabled):hover, .config-sidebar-item:not(:disabled):focus-visible {
  background: var(--bg-hover);
}

.config-sidebar-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.config-sidebar-item[aria-current="page"] {
  background: var(--bg-selected);
  font-weight: 600;
}

.config-sidebar-item:disabled {
  cursor: default;
  opacity: .5;
}

.models-sidebar-indented-item {
  padding-left: 26px;
}

.models-sidebar-add-item {
  color: var(--text-dim);
}

.models-sidebar-add-item:not(:disabled):hover, .models-sidebar-add-item:not(:disabled):focus-visible {
  color: var(--accent);
}

.models-sidebar-badge {
  color: var(--text-dim);
  font-family: var(--font-mono);
  flex-shrink: 0;
  font-size: 10px;
}

.oauth-paste-panel {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.oauth-paste-message, .oauth-paste-hint {
  margin: 0;
  line-height: 1.5;
}

.oauth-paste-message {
  color: var(--text-muted);
  font-size: 12px;
}

.oauth-paste-hint {
  color: var(--text-dim);
  font-size: 11px;
}

.oauth-paste-hint a {
  color: var(--accent);
  word-break: break-all;
}

.oauth-paste-row {
  gap: 6px;
  display: flex;
}

.oauth-paste-input {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  border-radius: 5px;
  outline: none;
  flex: 1;
  padding: 6px 9px;
  font-size: 12px;
}

.oauth-paste-submit {
  background: var(--accent);
  color: var(--accent-contrast);
  cursor: pointer;
  border: none;
  border-radius: 5px;
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.oauth-paste-submit:disabled {
  background: var(--bg-panel);
  color: var(--text-dim);
  cursor: not-allowed;
}

.enabled-models-banner {
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  display: flex;
}

.enabled-models-banner-text {
  min-width: 0;
  color: var(--text-muted);
  flex: 1;
  align-items: baseline;
  gap: 4px;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
}

.enabled-models-banner-key {
  min-width: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.enabled-models-banner-facts {
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
  flex: none;
}

.enabled-models-section {
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  display: flex;
}

.enabled-models-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.enabled-models-switch-error {
  color: #ef4444;
  font-size: 11px;
}

.enabled-models-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.enabled-models-count {
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-right: auto;
  font-size: 10px;
}

.enabled-models-note {
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.5;
}

.enabled-models-error {
  color: #ef4444;
  border: 1px solid #ef44444d;
  border-radius: 5px;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1.4;
}

.enabled-models-empty {
  color: var(--text-dim);
  padding: 12px;
  font-size: 11px;
}

.enabled-models-filter {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  min-width: 0;
  height: 30px;
  color: var(--text);
  border-radius: 5px;
  outline: none;
  padding: 0 9px;
  font-family: inherit;
  font-size: 12px;
}

.enabled-models-list {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 6px;
  max-height: 360px;
  overflow-y: auto;
}

.enabled-models-row {
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 9px;
  display: flex;
}

.enabled-models-row + .enabled-models-row {
  border-top: 1px solid var(--border);
}

.enabled-models-row-text {
  flex: 1;
  min-width: 0;
}

.enabled-models-row-name {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  display: block;
  overflow: hidden;
}

.enabled-models-row-id {
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  display: block;
  overflow: hidden;
}

.enabled-models-pin {
  color: #6366f1cc;
  background: #6366f11f;
  border-radius: 3px;
  flex-shrink: 0;
  padding: 1px 4px;
  font-size: 9px;
}

.config-sidebar-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.35;
  display: block;
  overflow: hidden;
}

.config-sidebar-text.is-grow {
  flex: 1;
}

.config-sidebar-text.is-muted {
  color: var(--text-dim);
}

.agents-overridden-label {
  color: var(--text-dim);
  white-space: nowrap;
  flex: none;
  font-size: 10px;
  line-height: 1;
}

.agents-feature-setting {
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 10px 18px;
  display: flex;
}

.agents-feature-copy {
  min-width: 0;
  color: var(--text);
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  display: flex;
}

.agents-feature-copy > span {
  color: var(--text-muted);
  line-height: 1.4;
}

.agents-feature-copy > .agents-feature-reload-notice {
  color: #d97706;
}

.agents-feature-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}

.agents-concurrency-control {
  color: var(--text-muted);
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  display: flex;
}

.agents-concurrency-control input {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 52px;
  height: 28px;
  color: var(--text);
  font: inherit;
  text-align: center;
  border-radius: 4px;
  padding: 0 6px;
}

.config-sidebar-message {
  color: var(--text-muted);
  padding: 10px 8px;
  font-size: 12px;
}

.config-sidebar-message.is-error {
  color: #ef4444;
}

.config-sidebar-message.is-empty {
  color: var(--text-dim);
}

.config-detail {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 20px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.5;
  overflow-y: auto;
}

.config-detail-stack {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  display: flex;
}

.config-detail-stack.is-fill {
  min-height: 100%;
}

.config-detail-stack.is-full-height {
  height: 100%;
}

.config-detail-header {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 28px;
  display: flex;
}

.config-detail-header.is-top-aligned {
  align-items: flex-start;
}

.config-detail-header-info {
  flex: 160px;
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}

.config-detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  display: flex;
}

.config-detail-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.config-section-title {
  color: var(--text-dim);
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.config-field {
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.agents-system-prompt {
  scrollbar-width: auto;
}

.agents-system-prompt::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.agents-system-prompt::-webkit-scrollbar-track {
  background: none;
}

.agents-system-prompt::-webkit-scrollbar-thumb {
  background: var(--border);
  background-clip: padding-box;
  border: 5px solid #0000;
  border-radius: 7px;
}

.config-field-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.config-empty-state {
  min-height: 160px;
  color: var(--text-dim);
  text-align: center;
  flex: 1;
  place-items: center;
  font-size: 12px;
  line-height: 1.5;
  display: grid;
}

.config-detail-path {
  min-width: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 11px;
  overflow: hidden;
}

.config-scope-tag {
  color: var(--text-dim);
  background: #7878781f;
  border-radius: 3px;
  flex-shrink: 0;
  padding: 1px 5px;
  font-size: 10px;
}

.config-scope-tag.is-project {
  color: #6366f1cc;
  background: #6366f11f;
}

.config-scope-switch-field {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.config-scope-switch-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.config-scope-switch {
  border: 1px solid var(--border);
  border-radius: 7px;
  flex-shrink: 0;
  height: 30px;
  display: inline-flex;
  overflow: hidden;
}

.config-scope-switch-option {
  width: 76px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 12px;
}

.config-scope-switch-option:not(:last-child) {
  border-right: 1px solid var(--border);
}

.config-scope-switch-option[aria-pressed="true"] {
  background: var(--bg-selected);
  color: var(--text);
}

.config-scope-switch-option:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.config-scope-switch.is-small {
  border-radius: 5px;
  height: auto;
  font-size: 12px;
  display: flex;
}

.config-scope-switch.is-small .config-scope-switch-option {
  width: auto;
  color: var(--text-dim);
  font-size: inherit;
  padding: 3px 10px;
}

.config-scope-switch.is-small .config-scope-switch-option[aria-pressed="true"] {
  color: var(--text);
  font-weight: 600;
}

.config-scope-switch-reason {
  max-width: 320px;
  color: var(--text-dim);
  font-size: 11px;
  line-height: 1.4;
}

.config-detail-grid {
  grid-template-columns: minmax(96px, 130px) minmax(0, 1fr);
  gap: 9px 14px;
  font-size: 12px;
  line-height: 1.45;
  display: grid;
}

.config-detail-grid-label {
  color: var(--text-dim);
}

.config-detail-grid-value {
  overflow-wrap: anywhere;
  min-width: 0;
}

.config-detail-grid-value.is-muted {
  color: var(--text-muted);
}

.config-detail-grid-value.is-dim {
  color: var(--text-dim);
}

.config-detail-grid-value.is-error {
  color: #ef4444;
}

.config-detail-grid-value.is-mono {
  font-family: var(--font-mono);
}

.config-detail-heading {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.config-detail-heading-note {
  color: var(--text-dim);
  text-align: right;
  font-size: 11px;
}

.config-add-source-heading {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.config-add-source-title-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.config-add-source-catalog {
  color: var(--accent);
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
}

.config-add-source-catalog svg {
  flex-shrink: 0;
}

.config-add-source-location {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
}

.config-add-source-input {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 100%;
  height: 36px;
  color: var(--text);
  font-family: var(--font-mono);
  border-radius: 6px;
  outline: none;
  padding: 0 11px;
  font-size: 12px;
}

.config-add-source-examples {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.config-add-source-examples-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.config-add-source-example-list {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.config-add-source-example {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 100%;
  min-height: 30px;
  color: var(--text-dim);
  cursor: pointer;
  font-family: var(--font-mono);
  text-align: left;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
}

.config-add-source-example:hover {
  background: var(--bg-hover);
  color: var(--text-muted);
}

.config-add-source-error {
  color: #ef4444;
  white-space: pre-wrap;
  font-size: 12px;
}

.config-notice {
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-muted);
  padding: 8px 18px;
  font-size: 12px;
}

.config-notice.has-action {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  display: flex;
}

.config-notice-text {
  min-width: 0;
}

.skill-detail-heading {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.skill-detail-status-row {
  text-align: right;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  min-height: 16px;
  display: flex;
}

.skill-source-link {
  width: fit-content;
  max-width: 100%;
  color: var(--accent);
  align-items: center;
  gap: 8px;
  text-decoration: none;
  display: flex;
}

.skill-source-link-text {
  font-family: var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.skill-version-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.skill-version-value, .skill-name-value {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.skill-version-value.is-update, .skill-update-indicator {
  color: var(--accent);
}

.skill-name-value {
  color: var(--text);
}

.skill-update-status {
  color: var(--text-dim);
  font-size: 12px;
}

.skill-update-status.is-checking {
  color: var(--accent);
}

.skill-update-status.is-success {
  color: #16a34a;
}

.skill-update-status.is-error {
  color: #ef4444;
}

.skill-description {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.skill-update-indicator {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
}

.config-footer {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 9px 14px;
  display: flex;
}

.config-footer-status {
  min-width: 0;
  color: var(--text-dim);
  flex: 1;
  font-size: 11px;
  overflow: hidden;
}

.config-footer-status-summary.is-warning {
  color: #d97706;
}

.config-footer-status-summary.is-error {
  color: #ef4444;
}

.config-footer-status-details summary {
  cursor: pointer;
  width: fit-content;
}

.config-footer-status-list {
  max-height: 8.5em;
  color: var(--text-muted);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  margin: 4px 0 0;
  padding-left: 16px;
  list-style: outside;
  overflow-y: auto;
}

.config-footer-actions {
  flex-shrink: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.config-footer-actions .config-button-default {
  min-width: 96px;
}

.config-button {
  cursor: pointer;
  letter-spacing: 0;
  white-space: nowrap;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  line-height: 1;
  transition: background-color .14s, border-color .14s, color .14s, box-shadow .14s;
  display: inline-flex;
}

.config-button-default {
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

.config-button-small {
  height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.config-button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.config-button-secondary {
  border-color: var(--border);
  color: var(--text-muted);
  background: none;
}

.config-button-danger {
  color: #ef4444;
  background: #ef44440f;
  border-color: #ef444459;
}

.config-button-ghost {
  color: var(--text-muted);
  background: none;
  border-color: #0000;
}

.config-button-primary:not(:disabled):hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.config-button-secondary:not(:disabled):hover, .config-button-ghost:not(:disabled):hover {
  border-color: var(--border);
  background: var(--bg-hover);
  color: var(--text);
}

.config-button-danger:not(:disabled):hover {
  background: #ef44441f;
  border-color: #ef444480;
}

.config-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.config-button:disabled {
  cursor: default;
  opacity: .5;
}

.config-button-primary.is-success {
  background: #16a34a;
  border-color: #16a34a;
  animation: .45s saved-pop;
}

.config-button-success-icon {
  stroke-dasharray: 18;
  flex-shrink: 0;
  animation: .35s forwards saved-check-draw;
}

.config-button.is-pushed-right {
  margin-left: auto;
}

.config-switch {
  border: 1px solid var(--border);
  background: var(--bg-selected);
  cursor: pointer;
  border-radius: 9px;
  flex-shrink: 0;
  width: 32px;
  height: 18px;
  padding: 0;
  transition: background .15s, border-color .15s;
  position: relative;
}

.config-switch[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent);
}

.config-switch:not(:disabled):hover {
  border-color: var(--text-muted);
}

.config-switch[aria-checked="true"]:not(:disabled):hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.config-switch:before {
  content: "";
  position: absolute;
  inset: -5px -3px;
}

.config-switch:disabled {
  cursor: default;
  opacity: .55;
}

.config-switch.is-loading:disabled {
  cursor: wait;
}

.config-switch-knob {
  background: var(--text-muted);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  transition: transform .15s, background .15s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.config-switch[aria-checked="true"] .config-switch-knob {
  background: var(--bg);
  transform: translateX(14px);
}

.config-switch.is-small {
  border-radius: 7px;
  width: 24px;
  height: 14px;
}

.config-switch.is-small .config-switch-knob {
  width: 8px;
  height: 8px;
}

.config-switch.is-small[aria-checked="true"] .config-switch-knob {
  transform: translateX(10px);
}

.config-switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.config-list-action {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding: 8px 6px;
}

.config-list-action-button {
  width: 100%;
  height: 30px;
  min-height: 30px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 12px;
  display: flex;
}

.config-list-action-button:not(:disabled):hover, .config-list-action-button:not(:disabled):focus-visible {
  background: var(--bg-hover);
  color: var(--text-muted);
  outline: none;
}

.config-list-action-button[aria-current="page"] {
  background: var(--bg-selected);
  color: var(--accent);
}

.config-list-action-button:disabled {
  cursor: default;
  opacity: .5;
}

.config-status-dot {
  background: var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
}

.config-status-dot.is-active {
  background: var(--accent);
}

.config-status-dot.is-inactive {
  opacity: .7;
}

.settings-dialog-backdrop {
  z-index: 1000;
  background: #00000061;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.settings-dialog-surface {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 8px;
  flex-direction: column;
  width: 1080px;
  max-width: calc(100vw - 16px);
  height: 84vh;
  max-height: calc(100dvh - 16px);
  display: flex;
  overflow: hidden;
  box-shadow: 0 16px 48px #00000038;
}

.settings-dialog-header {
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  align-items: center;
  min-height: 50px;
  padding: 0 52px 0 18px;
  display: flex;
  position: relative;
}

.settings-dialog-title {
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 15px;
}

.settings-section-tabs {
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  height: 50px;
  margin-left: 22px;
  display: flex;
  overflow: auto hidden;
}

.settings-section-tab {
  width: 96px;
  height: 100%;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  outline: none;
  flex: 0 0 96px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 400;
  transition: color .15s;
  display: flex;
  position: relative;
}

.settings-section-tab:after {
  background: var(--accent);
  content: "";
  opacity: 0;
  border-radius: 2px 2px 0 0;
  width: 24px;
  height: 2px;
  transition: opacity .15s, transform .15s;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(.5);
}

.settings-section-tab[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.settings-section-tab[aria-current="page"]:after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.settings-section-tab:not(:disabled):hover {
  color: var(--text);
}

.settings-section-tab:disabled {
  cursor: default;
  opacity: .38;
}

.settings-section-tab:focus-visible:not([aria-current="page"]) {
  background: var(--bg-hover);
  color: var(--text);
  border-radius: 4px;
}

.settings-section-tab:focus-visible[aria-current="page"] {
  outline: none;
}

.settings-section-icon {
  flex-shrink: 0;
}

.settings-section-icon.is-agent {
  transform: scale(1.25);
}

.settings-mobile-section-picker {
  display: none;
}

.settings-dialog-close {
  position: absolute;
  top: 10px;
  right: 14px;
}

.settings-dialog-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.settings-section-host {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.settings-general {
  width: 100%;
  max-width: 680px;
  max-height: 100%;
  padding: 26px clamp(18px, 4vw, 40px) 40px;
  overflow-y: auto;
}

.settings-general-title {
  color: var(--text);
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.settings-general-section {
  margin-top: 30px;
}

.settings-general-section:first-of-type {
  margin-top: 24px;
}

.settings-general-heading {
  color: var(--text);
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 650;
}

.settings-general-description {
  color: var(--text-dim);
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.5;
}

.settings-theme-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  max-width: 420px;
  padding: 3px;
  display: grid;
}

.settings-theme-option {
  min-width: 0;
  min-height: 44px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 400;
  display: flex;
  position: relative;
}

.settings-theme-option:has(input:checked) {
  background: var(--bg-selected);
  color: var(--accent);
  font-weight: 600;
}

.settings-theme-option:not(:has(input:checked)):hover {
  background: var(--bg-hover);
}

.settings-theme-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.settings-theme-option-label {
  overflow-wrap: anywhere;
  min-width: 0;
}

.settings-font-rows {
  grid-template-columns: max-content minmax(0, 1fr) auto 28px;
  gap: 12px 8px;
  display: grid;
}

.settings-font-rows > .settings-font-row {
  grid-column: 1 / -1;
  grid-template-columns: max-content minmax(0, 1fr) auto 28px;
  grid-template-columns: subgrid;
  row-gap: 0;
  display: grid;
}

.settings-font-rows > .settings-font-row > input[type="range"] {
  grid-column: 1 / -1;
}

.settings-chat-range-header.settings-font-header {
  grid-column: 1 / -1;
  grid-template-columns: max-content minmax(0, 1fr) auto 28px;
  grid-template-columns: subgrid;
}

.settings-chat-range-header.settings-font-header label {
  padding-right: 4px;
}

.settings-chat-range-option .settings-font-input {
  border: 1px solid var(--border);
  background: var(--bg);
  height: 26px;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: var(--font-ui-weight);
  border-radius: 5px;
  margin: 0;
  padding: 0 8px;
  font-size: 12px;
}

.settings-chat-range-option .settings-font-input.is-mono {
  font-family: var(--font-mono);
  font-weight: var(--font-mono-weight);
}

.settings-font-input::placeholder {
  color: var(--text-dim);
}

.settings-font-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

@media (max-width: 640px) {
  .settings-chat-range-option .settings-font-input {
    height: 32px;
  }
}

.settings-chat-options {
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  display: flex;
}

.settings-chat-option {
  width: 100%;
  color: var(--text);
  font-size: 12px;
}

.settings-chat-switch-option {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  display: flex;
}

.settings-chat-range-option {
  padding: 0;
}

.settings-chat-range-header {
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
  display: grid;
}

.settings-chat-range-header output {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.settings-send-mode-options {
  border: 1px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px;
  display: flex;
}

.settings-send-mode-option {
  min-height: 26px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  flex: 1 0 auto;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 400;
  display: flex;
  position: relative;
}

.settings-send-mode-option:has(input:checked) {
  background: var(--bg-selected);
  color: var(--accent);
  font-weight: 600;
}

.settings-send-mode-option:not(:has(input:checked)):hover {
  background: var(--bg-hover);
}

.settings-send-mode-option:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.settings-send-mode-label {
  white-space: nowrap;
}

.settings-chat-reset {
  width: 28px;
  height: 28px;
  padding: 0;
}

.settings-chat-range-option input {
  width: 100%;
  accent-color: var(--accent);
  margin-top: 2px;
  display: block;
}

.settings-language-options {
  flex-direction: column;
  gap: 3px;
  width: 100%;
  max-width: 420px;
  display: flex;
}

.settings-language-option {
  height: 44px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 12px;
  display: flex;
}

.settings-language-option[aria-checked="true"] {
  background: var(--bg-selected);
}

.settings-language-option:not([aria-checked="true"]):hover, .settings-language-option:focus-visible {
  background: var(--bg-hover);
  outline: none;
}

.settings-language-radio {
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 16px;
  height: 16px;
  display: grid;
}

.settings-language-option[aria-checked="true"] .settings-language-radio {
  border-color: var(--accent);
}

.settings-language-radio-dot {
  background: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.settings-language-label {
  flex: 1;
}

.settings-language-code {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.settings-shell-option {
  background: var(--bg-panel);
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  color: var(--text);
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
  font-size: 12px;
  display: flex;
}

.settings-general-error {
  color: #ef4444;
  margin: 8px 0 0;
  font-size: 11px;
}

@media (max-width: 640px) {
  .config-panel-root.is-modal > .config-panel-surface {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
  }

  .config-split-view {
    flex-direction: column;
  }

  .config-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    height: 190px;
  }

  .agents-feature-setting {
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
  }

  .agents-feature-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .config-detail {
    padding: 14px;
  }

  .settings-dialog-surface {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
  }

  .settings-section-tabs {
    display: none;
  }

  .settings-mobile-section-picker {
    border: 1px solid var(--border);
    background: var(--bg-panel);
    width: 100%;
    min-width: 0;
    max-width: 210px;
    height: 32px;
    color: var(--text);
    border-radius: 5px;
    margin-left: 14px;
    padding: 0 9px;
    font-size: 16px;
    display: block;
  }
}

@keyframes saved-pop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 #4ade808c;
  }

  40% {
    transform: scale(1.08);
    box-shadow: 0 0 0 6px #4ade8040;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 #4ade8000;
  }
}

@keyframes saved-check-draw {
  from {
    stroke-dashoffset: 18px;
    opacity: 0;
  }

  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (display-mode: standalone) {
    .settings-dialog-backdrop, .config-panel-root.is-modal {
      padding-top: max(59px, env(safe-area-inset-top));
      padding-right: max(8px, env(safe-area-inset-right));
      padding-bottom: max(24px, env(safe-area-inset-bottom));
      padding-left: max(8px, env(safe-area-inset-left));
    }

    .settings-dialog-surface, .config-panel-root.is-modal > .config-panel-surface {
      max-width: 100%;
      max-height: 100%;
    }
  }

  @media (display-mode: standalone) and (orientation: landscape) {
    .settings-dialog-backdrop, .config-panel-root.is-modal {
      padding-top: max(8px, env(safe-area-inset-top));
      padding-right: max(59px, env(safe-area-inset-right));
      padding-bottom: max(8px, env(safe-area-inset-bottom));
      padding-left: max(59px, env(safe-area-inset-left));
    }
  }
}

.settings-session-filter-rules {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 100%;
  max-width: 420px;
  min-height: 72px;
  color: var(--text);
  font-family: var(--font-mono);
  resize: vertical;
  border-radius: 6px;
  outline: none;
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.5;
}

.settings-session-filter-rules:focus-visible {
  border-color: var(--accent);
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0zlhsugihgl9_._.css.map*/