/* [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/122ae3fd2eb25590-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/bfe1d01af4e99ec2-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/19f01400f4b28c83-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/053481348fc656b8-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/434fa64db183c5f7-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/72c852477dae22c1-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/7da1b2d9318915d2-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;
      --scroll-fade-start: 0px;
      --scroll-fade-end: 0px;
    }
  }
}

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

  .\!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);
  }

  .\!hidden {
    display: none !important;
  }

  .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-\[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-\[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-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .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-\[4px\] {
    border-radius: 4px;
  }

  .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-selected {
    background-color: var(--color-bg-selected);
  }

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

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

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

  .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-\[14px\] {
    --tw-leading: 14px;
    line-height: 14px;
  }

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

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

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

  .backdrop-filter {
    -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);
    }
  }

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

  @media (prefers-reduced-motion: reduce) {
    .motion-reduce\:animate-none {
      animation: none;
    }
  }
}

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

[data-theme="sand"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #faf6ee;
  --bg-panel: #f1ebdf;
  --bg-hover: #ebe3d4;
  --bg-selected: #e4dac8;
  --border: #cdbfa6;
  --text: #2e2a22;
  --text-muted: #5c5243;
  --text-dim: #665b4b;
  --accent: #7a4f10;
  --accent-hover: #613f0b;
  --accent-contrast: #fff;
  --user-bg: #f2e8d5;
  --assistant-bg: #faf6ee;
  --tool-bg: #f5efe4;
  --bg-subtle: #5c461e0a;
}

html[data-theme="slate"], [data-theme="slate"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #161b26;
  --bg-panel: #1d2331;
  --bg-hover: #262d3d;
  --bg-selected: #2f3749;
  --border: #435069;
  --text: #e3e8f2;
  --text-muted: #bcc5d6;
  --text-dim: #a7b1c5;
  --accent: #8ccfe0;
  --accent-hover: #b3e2ec;
  --accent-contrast: #0f2229;
  --user-bg: #232c3f;
  --assistant-bg: #161b26;
  --tool-bg: #1b2130;
  --bg-subtle: #c8d7f50a;
}

html[data-theme="dusk"], [data-theme="dusk"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #1e1a24;
  --bg-panel: #26212e;
  --bg-hover: #302a39;
  --bg-selected: #3a3345;
  --border: #54496a;
  --text: #ebe6f0;
  --text-muted: #c9c0d4;
  --text-dim: #b5abc3;
  --accent: #cdb4f0;
  --accent-hover: #e0d0f7;
  --accent-contrast: #261a38;
  --user-bg: #2e2638;
  --assistant-bg: #1e1a24;
  --tool-bg: #241f2b;
  --bg-subtle: #e1d2f50a;
}

[data-theme="lilac"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f8f6fc;
  --bg-panel: #efebf6;
  --bg-hover: #e8e2f2;
  --bg-selected: #e0d8ed;
  --border: #c4b8d8;
  --text: #2b2635;
  --text-muted: #574d68;
  --text-dim: #625873;
  --accent: #6a43a8;
  --accent-hover: #56348c;
  --accent-contrast: #fff;
  --user-bg: #ece4f7;
  --assistant-bg: #f8f6fc;
  --tool-bg: #f3eff9;
  --bg-subtle: #3c1e6e0a;
}

html[data-theme="ember"], [data-theme="ember"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #1f1a16;
  --bg-panel: #28211c;
  --bg-hover: #322a23;
  --bg-selected: #3d332b;
  --border: #5a4a3d;
  --text: #ede4da;
  --text-muted: #cfc0b0;
  --text-dim: #bba996;
  --accent: #e8b27a;
  --accent-hover: #f2cba0;
  --accent-contrast: #2b1a0c;
  --user-bg: #33291f;
  --assistant-bg: #1f1a16;
  --tool-bg: #251f1a;
  --bg-subtle: #f5dcbe0a;
}

[data-theme="contrast-light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #fff;
  --bg-panel: #f3f3f3;
  --bg-hover: #e6e6e6;
  --bg-selected: #d9d9d9;
  --border: #5c5c5c;
  --text: #000;
  --text-muted: #1f1f1f;
  --text-dim: #2e2e2e;
  --accent: #0034a0;
  --accent-hover: #002678;
  --accent-contrast: #fff;
  --user-bg: #eaf0ff;
  --assistant-bg: #fff;
  --tool-bg: #f7f7f7;
  --bg-subtle: #0000000d;
}

html[data-theme="contrast-dark"], [data-theme="contrast-dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #000;
  --bg-panel: #0f0f0f;
  --bg-hover: #1f1f1f;
  --bg-selected: #2e2e2e;
  --border: #a3a3a3;
  --text: #fff;
  --text-muted: #ebebeb;
  --text-dim: #d6d6d6;
  --accent: #ffd60a;
  --accent-hover: #ffe566;
  --accent-contrast: #000;
  --user-bg: #1a1a1a;
  --assistant-bg: #000;
  --tool-bg: #0d0d0d;
  --bg-subtle: #ffffff0f;
}

html[data-theme="zenburn"], [data-theme="zenburn"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #3f3f3f;
  --bg-panel: #383838;
  --bg-hover: #474747;
  --bg-selected: #4f4f4f;
  --border: #6f6f6f;
  --text: #dcdccc;
  --text-muted: #cfcfbf;
  --text-dim: #c6c6b6;
  --accent: #f0dfaf;
  --accent-hover: #f8eccb;
  --accent-contrast: #3f3f3f;
  --user-bg: #4a4a42;
  --assistant-bg: #3f3f3f;
  --tool-bg: #3a3a3a;
  --bg-subtle: #dcdccc0a;
}

@media (display-mode: standalone) {
  :root {
    --app-viewport-height: 100vh;
  }
}

.document-file-icon {
  background: var(--document-icon-color, #52647a);
  color: #fff;
  font-family: var(--font-ui);
  border-radius: 4px;
  flex: none;
  justify-content: center;
  align-items: center;
  font-weight: 750;
  line-height: 1;
  display: inline-flex;
  position: relative;
}

.document-file-icon:after {
  content: "";
  background: #fff5;
  border-radius: 0 3px 0 2px;
  width: 25%;
  height: 25%;
  position: absolute;
  top: 0;
  right: 0;
}

.document-file-icon.is-word {
  --document-icon-color: #2463c2;
}

.document-file-icon.is-excel {
  --document-icon-color: #16784e;
}

.document-file-icon.is-pdf {
  --document-icon-color: #c73535;
}

.document-file-icon.is-picture {
  --document-icon-color: #8052b6;
}

.document-file-icon.is-slides {
  --document-icon-color: #b65b20;
}

.file-tree-row {
  box-sizing: border-box;
  min-height: 36px;
}

.file-folder-add {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 5px;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: 20px;
  display: inline-flex;
}

.file-folder-add:hover, .file-folder-add:focus-visible {
  background: var(--bg-hover);
  color: var(--accent);
  border-color: var(--border);
}

.file-folder-add:disabled {
  opacity: .35;
  cursor: default;
}

.file-folder-form {
  flex: 1;
  min-width: 0;
}

.file-folder-form-row {
  align-items: center;
  gap: 4px;
  display: flex;
}

.file-folder-form input {
  border: 1px solid var(--accent);
  background: var(--bg);
  width: 100%;
  min-width: 0;
  color: var(--text);
  font: inherit;
  border-radius: 4px;
  flex: 1;
  padding: 5px 7px;
  font-size: 13px;
}

.file-folder-form button {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  width: 26px;
  height: 28px;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  flex: none;
}

.file-folder-form button:disabled {
  opacity: .4;
  cursor: default;
}

.file-folder-error {
  color: var(--text-muted);
  overflow-wrap: anywhere;
  padding-top: 4px;
  font-size: 12px;
}

.file-tree-loading {
  min-height: 36px;
  color: var(--text-dim);
  align-items: center;
  gap: 8px;
  padding-right: 8px;
  font-size: 13px;
  animation: 0s .18s both file-tree-loading-reveal;
  display: flex;
}

.file-tree-loading-spinner {
  box-sizing: border-box;
  border: 2px solid var(--border);
  border-top-color: currentColor;
  border-radius: 50%;
  flex: none;
  width: 14px;
  height: 14px;
  animation: .8s linear infinite spin;
}

@keyframes file-tree-loading-reveal {
  from {
    visibility: hidden;
  }

  to {
    visibility: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .file-tree-loading-spinner {
    animation: none;
  }
}

.file-tree-row[data-selected]:before {
  content: "";
  background: var(--accent);
  border-radius: 3px;
  width: 3px;
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
}

@media (pointer: coarse) {
  .file-tree-row {
    min-height: 44px;
  }
}

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

html.dark {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@property --scroll-fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --scroll-fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@keyframes scroll-fade-start {
  from {
    --scroll-fade-start: 0px;
  }

  to {
    --scroll-fade-start: var(--scroll-fade-size);
  }
}

@keyframes scroll-fade-end {
  from {
    --scroll-fade-end: var(--scroll-fade-size);
  }

  to {
    --scroll-fade-end: 0px;
  }
}

@supports (animation-timeline: scroll()) {
  .session-tree-scroll, .sidebar-files-scroll, .markdown-table-wrap {
    animation-name: scroll-fade-start, scroll-fade-end;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-range: 0px var(--scroll-fade-size), calc(100% - var(--scroll-fade-size)) 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .session-tree-scroll, .sidebar-files-scroll {
    --scroll-fade-size: 20px;
    --scroll-fade-gutter: var(--session-tree-scrollbar, 0px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent),
      linear-gradient(#000, #000);
    mask-image: linear-gradient(to bottom, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent),
      linear-gradient(#000, #000);
    -webkit-mask-size: calc(100% - var(--scroll-fade-gutter)) 100%, var(--scroll-fade-gutter) 100%;
    mask-size: calc(100% - var(--scroll-fade-gutter)) 100%, var(--scroll-fade-gutter) 100%;
    animation-timeline: scroll(self);
    -webkit-mask-position: 0 0, 100% 0;
    mask-position: 0 0, 100% 0;
  }

  .markdown-table-wrap {
    --scroll-fade-size: 28px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--scroll-fade-start), #000 calc(100% - var(--scroll-fade-end)), transparent);
    animation-timeline: scroll(self inline);
  }
}

.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 {
  --terminal-bg: #111318;
  --terminal-header-bg: #181b21;
  --terminal-border: #2f3540;
  --terminal-button-border: #343a46;
  --terminal-hover-bg: #242932;
  --terminal-muted: #9ca3af;
  --terminal-strong: #e5e7eb;
  --terminal-key: #d7dce5;
  --terminal-accent: #60a5fa;
  --terminal-error-border: #5f2424;
  --terminal-error-bg: #321b1b;
  --terminal-error-text: #fca5a5;
  --terminal-scrollbar: 156, 163, 175;
  background: var(--terminal-bg);
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  grid-template-rows: 38px auto minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: grid;
}

.terminal-panel[data-terminal-theme="light"] {
  --terminal-bg: #fbfbfc;
  --terminal-header-bg: #f3f4f6;
  --terminal-border: #e5e7eb;
  --terminal-button-border: #d1d5db;
  --terminal-hover-bg: #e5e7eb;
  --terminal-muted: #6b7280;
  --terminal-strong: #111827;
  --terminal-key: #1f2937;
  --terminal-accent: #2563eb;
  --terminal-error-border: #fecaca;
  --terminal-error-bg: #fef2f2;
  --terminal-error-text: #b91c1c;
  --terminal-scrollbar: 107, 114, 128;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

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

.terminal-panel-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  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 {
  border: 1px solid var(--terminal-button-border);
  height: 27px;
  color: var(--terminal-muted);
  cursor: pointer;
  font: inherit;
  background: none;
  border-radius: 5px;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  display: inline-flex;
}

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

.terminal-panel-header button:hover {
  background: var(--terminal-hover-bg);
  color: var(--terminal-strong);
}

.terminal-panel-error {
  border-bottom: 1px solid var(--terminal-error-border);
  background: var(--terminal-error-bg);
  color: var(--terminal-error-text);
  font-family: var(--font-mono);
  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-extra-keys {
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--terminal-border);
  background: var(--terminal-header-bg);
  grid-row: 4;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 36px;
  display: grid;
}

.terminal-xterm:has( + .terminal-extra-keys) {
  padding-bottom: 6px;
}

html[data-keyboard-open] .terminal-extra-keys {
  padding-bottom: 0;
}

.terminal-extra-keys button {
  min-width: 0;
  color: var(--terminal-key);
  font-family: var(--font-mono);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
}

.terminal-extra-keys button:active {
  background: var(--terminal-hover-bg);
}

.terminal-extra-keys .is-rotated {
  display: inline-block;
  transform: rotate(90deg);
}

.terminal-extra-keys button.is-active {
  color: var(--terminal-accent);
}

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

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

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

.tabbar-scroll {
  scrollbar-width: none;
}

.tabbar-scroll::-webkit-scrollbar {
  display: none;
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb {
  background-color: rgba(var(--terminal-scrollbar), .45);
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb:hover {
  background-color: rgba(var(--terminal-scrollbar), .72);
}

.terminal-xterm .xterm-viewport::-webkit-scrollbar-thumb:active {
  background-color: rgb(var(--terminal-scrollbar));
}

.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-status-row {
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  flex: 100%;
  align-items: stretch;
  min-width: 0;
  display: flex;
  overflow: auto hidden;
}

.extension-widget-triggers {
  flex: none;
  align-items: stretch;
  height: 35px;
  display: flex;
}

.extension-status-shelf.has-widgets.has-status .extension-widget-triggers {
  border-right: 1px solid var(--border);
}

.extension-status-row > .extension-status-line {
  flex: none;
}

.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: 0;
  display: flex;
  overflow: auto;
}

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

.extension-status-item {
  border-right: 1px solid var(--border);
  flex: none;
  align-items: center;
  padding: 8px 12px;
  display: flex;
}

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

.extension-status-item:last-child {
  border-right: 0;
}

.extension-status-command {
  color: var(--text);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  line-height: 1.45;
  transition: background .12s, color .12s;
}

.extension-status-command:hover:not(:disabled) {
  background: var(--bg-hover);
}

.extension-status-command:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.extension-status-command:disabled {
  cursor: not-allowed;
  opacity: .5;
}

@media (pointer: coarse) {
  .extension-status-shelf.has-commands .extension-status-text {
    min-height: 44px;
  }

  .extension-status-shelf.has-commands .extension-widget-triggers, .extension-status-shelf.has-commands .extension-widget-trigger {
    height: 44px;
  }
}

: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, .markdown-body > :last-child, .markdown-body > :is(ul, ol):last-child > li: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 a[role="link"] {
  cursor: pointer;
}

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

.markdown-body audio {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  clip-path: inset(0 round 18px);
  border-radius: 18px;
  width: min(360px, 100%);
  height: 36px;
  margin: 8px 0;
  display: block;
}

.markdown-body audio::-webkit-media-controls-enclosure {
  background: none;
}

.markdown-body video {
  border-radius: 6px;
  max-width: min(640px, 100%);
  max-height: 360px;
  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-frame {
  border: 1px solid var(--border);
  border-radius: 7px;
  width: 100%;
  margin: 8px 0;
  overflow: hidden;
}

.markdown-table-wrap {
  width: 100%;
  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-math-display {
  position: relative;
}

.markdown-math-copy {
  position: absolute;
  top: 2px;
  right: 0;
}

@media (hover: hover) {
  .markdown-math-copy {
    opacity: 0;
    transition: opacity .12s;
  }

  .markdown-math-display:hover .markdown-math-copy, .markdown-math-copy:focus-visible {
    opacity: 1;
  }
}

.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-frame, .markdown-custom-message .markdown-code-block {
  margin: 4px 0;
}

.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-frame, .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-line {
  display: flex;
}

.markdown-code-line-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  flex: 1 1 0;
  min-width: 0;
}

.extension-dialog-measuring .markdown-code-line-text {
  white-space: pre;
}

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

.svg-block-image, .svg-zoom-image {
  height: auto;
  display: block;
}

.svg-block-image {
  width: auto;
  max-width: 100%;
  max-height: min(360px, 50dvh);
}

.svg-block-image.is-unsized {
  width: 100%;
  height: 240px;
}

.svg-zoom-image {
  width: 100%;
}

.svg-zoom-image.is-unsized {
  aspect-ratio: 2;
}

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

.new-session-hero-inner {
  margin: 0 auto;
}

.new-session-brand {
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 20px;
  display: flex;
}

.new-session-logo {
  flex: none;
  width: 40px;
  height: 40px;
}

.new-session-brand-text {
  min-width: 0;
  font-family: var(--font-mono);
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.new-session-brand-name {
  color: var(--text);
  white-space: nowrap;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.new-session-meta {
  min-width: 0;
  color: var(--text-dim);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.4;
  display: flex;
}

.new-session-meta > * {
  flex: none;
}

.new-session-meta > .new-session-meta-pi {
  text-overflow: ellipsis;
  flex: 0 auto;
  min-width: 0;
  overflow: hidden;
}

.new-session-update {
  color: var(--accent);
  border-radius: 5px;
  align-items: center;
  gap: 3px;
  margin: -3px -4px;
  padding: 3px 4px;
  font-weight: 600;
  text-decoration: none;
  transition: background .12s;
  display: inline-flex;
}

.new-session-update:hover, .new-session-update:focus-visible {
  background: var(--bg-hover);
}

.new-session-update:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.new-session-update svg {
  flex: none;
}

.new-session-context {
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  min-height: 28px;
  margin: 0 0 6px -6px;
  display: flex;
}

@media (max-width: 640px) {
  .new-session-brand {
    margin-bottom: 16px;
  }

  .new-session-logo {
    width: 32px;
    height: 32px;
  }

  .new-session-brand-name {
    font-size: 20px;
  }
}

@media (pointer: coarse) {
  .new-session-update {
    margin-top: -8px;
    margin-bottom: -8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

.project-picker {
  box-sizing: border-box;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  display: flex;
}

.project-picker-button {
  border: 1px solid var(--border);
  background: var(--bg-hover);
  min-width: 0;
  height: 29px;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 7px;
  flex: 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  transition: background .12s, color .12s;
  display: inline-flex;
}

.project-picker.is-inline {
  gap: 2px;
  font-size: 12px;
}

.project-picker.is-inline .project-picker-button {
  background: none;
  border: 0;
  border-radius: 6px;
  gap: 4px;
  height: 26px;
  padding: 0 6px;
}

.project-picker.is-inline .project-picker-button.is-project {
  min-width: 56px;
}

.project-picker.is-inline .project-picker-button:not(.is-project) {
  flex-shrink: 1000000;
  min-width: 72px;
}

.project-picker.is-inline .project-picker-button:hover, .project-picker.is-inline .project-picker-button[aria-expanded="true"] {
  background: var(--bg-hover);
}

.project-picker-name {
  min-width: 0;
  max-width: 28ch;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
  display: inline-flex;
  overflow: hidden;
}

.project-picker-parent {
  text-overflow: ellipsis;
  flex: 0 1000000 auto;
  min-width: 0;
  overflow: hidden;
}

.project-picker-leaf {
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  flex: 0 auto;
  overflow: hidden;
}

.project-picker.is-inline .project-picker-path {
  max-width: 32ch;
}

.project-picker-button:hover, .project-picker-button[aria-expanded="true"] {
  background: var(--bg-selected);
  color: var(--text);
}

.project-picker-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.project-picker-icon, .project-picker-chevron {
  flex-shrink: 0;
}

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

.project-picker-button:hover .project-picker-icon, .project-picker-button[aria-expanded="true"] .project-picker-icon {
  color: var(--text-muted);
}

.project-picker-icon.is-linked, .project-picker-button:hover .project-picker-icon.is-linked, .project-picker-button[aria-expanded="true"] .project-picker-icon.is-linked {
  color: var(--accent);
}

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

.project-picker-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.project-picker-label.is-alias {
  color: var(--text);
  font-family: var(--font-mono);
}

.project-picker-path {
  min-width: 0;
  color: var(--text);
  font-family: var(--font-mono);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  direction: rtl;
  flex: 0 auto;
  overflow: hidden;
}

.project-picker-path > span {
  unicode-bidi: plaintext;
}

.project-picker-label, .project-picker-path, .project-picker-name {
  line-height: normal;
}

.project-picker-note {
  color: var(--text-dim);
  flex: none;
  font-size: 10px;
}

.project-picker-activity {
  background: var(--accent);
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
}

.project-picker-button.is-empty {
  border-color: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .project-picker-button.is-empty {
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  }
}

.project-picker-button.is-empty {
  background: var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .project-picker-button.is-empty {
    background: color-mix(in srgb, var(--accent) 6%, transparent);
  }
}

.project-picker-button.is-empty {
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.project-picker-button.is-inactive, .project-picker-button.is-inactive:hover {
  background: var(--bg-hover);
  color: var(--text-dim);
  cursor: default;
  opacity: .82;
}

.project-picker-button.is-inactive:hover .project-picker-icon {
  color: var(--text-dim);
}

.project-picker.is-stacked {
  flex-direction: column;
  flex: none;
  align-items: stretch;
}

.project-picker.is-stacked .project-picker-button {
  width: 100%;
}

.project-picker.is-stacked .project-picker-label, .project-picker.is-stacked .project-picker-path {
  flex: 1 1 0;
}

.project-picker.is-row {
  flex-direction: row;
  flex: none;
}

.project-picker.is-row .project-picker-button {
  height: 26px;
}

.project-picker.is-row .project-picker-button.is-project {
  flex: 1 1 0;
}

.project-picker.is-row .project-picker-button:not(.is-project) {
  flex: 0 auto;
  max-width: 55%;
}

.project-picker.is-row .project-picker-label, .project-picker.is-row .project-picker-path {
  flex: 1 1 0;
}

@media (pointer: coarse) {
  .project-picker-button {
    min-height: 36px;
  }
}

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

@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));
  }
}

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

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

  html[data-keyboard-open] .chat-input-controls:not(:has(.model-selector [role="listbox"])) {
    display: none !important;
  }

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

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

  html[data-keyboard-open] .new-session-context {
    display: none !important;
  }
}

@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);
  min-width: 0;
  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);
}

.model-context-input {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  width: calc(8ch + 16px);
  height: 24px;
  color: var(--text);
  font-family: var(--font-mono);
  text-align: right;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 0 7px;
  font-size: 11px;
}

.model-context-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.model-context-input::placeholder {
  color: var(--text-dim);
}

.model-context-input[aria-invalid="true"] {
  border-color: #ef4444;
}

.model-context-input:disabled {
  opacity: .6;
}

.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);
  font-weight: 600;
}

.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-save-target {
  flex-direction: column;
  flex: auto;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.config-save-target-path {
  min-width: 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  flex: 14em;
  font-size: 12px;
  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: 8px;
  display: flex;
}

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

.config-add-source-catalogs {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 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-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-input.is-multiline {
  resize: vertical;
  white-space: pre;
  height: auto;
  min-height: 96px;
  max-height: 40vh;
  padding: 8px 11px;
  line-height: 1.5;
  overflow: auto;
}

.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;
  overflow-wrap: anywhere;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
}

.config-add-source-example.has-label {
  grid-template-columns: minmax(0, 15em) minmax(0, 1fr);
  align-items: baseline;
  gap: 2px 12px;
  font-family: inherit;
  display: grid;
}

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

.config-add-source-example-value {
  font-family: var(--font-mono);
}

.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-instructions {
  font-size: 13px;
}

.skill-instructions > :first-child {
  margin-top: 0;
}

.skill-instructions > :last-child {
  margin-bottom: 0;
}

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

.skill-instructions-status.is-error {
  color: #ef4444;
  overflow-wrap: anywhere;
}

.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-backdrop:focus {
  outline: none;
}

.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%;
  height: 100%;
  padding: 26px clamp(18px, 4vw, 40px) 40px;
  overflow-y: auto;
}

.settings-general > * {
  max-width: 600px;
  margin-inline: auto;
}

.settings-general-section {
  margin-top: 30px;
}

.settings-general-section:first-of-type {
  margin-top: 0;
}

.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-chat-options + .settings-general-description {
  margin: 6px 0 0;
}

.settings-theme-options {
  grid-template-columns: repeat(15, minmax(0, 1fr));
  grid-auto-rows: 40px;
  gap: 10px;
  max-width: 428px;
  padding: 4px;
  display: grid;
}

.settings-theme-option {
  cursor: pointer;
  border-radius: 9px;
  grid-column: span 3;
  min-width: 0;
  display: flex;
  position: relative;
}

.settings-theme-option[data-system] {
  grid-column: 1 / -1;
}

.settings-theme-option[data-wide] {
  grid-column: span 5;
}

.settings-theme-swatch {
  border: 1px solid var(--border);
  border-radius: 9px;
  flex: 1;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.settings-theme-fill {
  background: var(--bg);
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.settings-theme-name {
  width: 100%;
  color: var(--accent);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
}

.settings-theme-option[data-wide] .settings-theme-name {
  text-align: center;
  white-space: normal;
  font-size: 11px;
  line-height: 1.2;
}

.settings-theme-system {
  background: var(--bg-panel);
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.settings-theme-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 3px;
  width: 12px;
  height: 12px;
}

.settings-theme-system-name {
  color: var(--text);
  white-space: nowrap;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
}

.settings-theme-option:not(:has(input:checked)):hover {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--border);
}

.settings-theme-option:has(input:checked) {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}

.settings-theme-option:has(input:focus-visible) {
  outline: 2px dashed var(--accent);
  outline-offset: 6px;
}

.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-header.settings-font-header output {
  text-align: right;
  min-width: 11ch;
  font-family: inherit;
}

.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-add-source-example.has-label {
    grid-template-columns: minmax(0, 1fr);
  }

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

.mcp-sidebar-badge {
  max-width: 45%;
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 10px;
  overflow: hidden;
}

.mcp-sidebar-badge.is-warning {
  color: #d97706;
}

.mcp-sidebar-badge.is-error {
  color: #ef4444;
}

.mcp-sidebar-group-empty {
  color: var(--text-dim);
  overflow-wrap: anywhere;
  padding: 1px 8px 5px;
  font-size: 11px;
  line-height: 1.4;
}

.mcp-config-notices {
  flex: 0 auto;
  min-height: 0;
  max-height: 40vh;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .mcp-config-notices {
    max-height: 30dvh;
  }

  .mcp-config-notices + .config-split-view > .config-sidebar {
    flex-shrink: 1;
    min-height: 96px;
  }

  .mcp-config-notices + .config-split-view > .config-detail {
    min-height: 120px;
  }
}

.mcp-config-lines {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.mcp-config-line {
  color: var(--text-muted);
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.mcp-config-line.is-warning {
  color: #d97706;
}

.mcp-config-line.is-dim {
  color: var(--text-dim);
}

.mcp-config-line.is-error {
  color: #ef4444;
}

.mcp-config-state {
  color: var(--text);
  font-weight: 600;
}

.mcp-config-state.is-on {
  color: var(--accent);
}

.mcp-config-state.is-off {
  color: var(--text-dim);
}

.mcp-config-state.is-warning {
  color: #d97706;
}

.mcp-config-state.is-error {
  color: #ef4444;
}

.mcp-config-chips {
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.mcp-config-chip {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  max-width: 100%;
  color: var(--text);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  white-space: normal;
  border-radius: 3px;
  padding: 0 5px;
  font-size: 11px;
}

.mcp-test-output {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  max-width: 100%;
  max-height: 160px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border-radius: 4px;
  margin: 0;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.45;
  overflow: auto;
}

.config-detail-grid-value.mcp-config-code {
  font-size: 11px;
}

.mcp-test-tools {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.mcp-test-tool {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.mcp-test-tool-tag {
  color: var(--text-dim);
  white-space: nowrap;
  font-size: 11px;
  line-height: 18px;
}

.mcp-sign-in-actions {
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.mcp-codemode-budget {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.mcp-add-input.mcp-codemode-budget-input {
  flex-shrink: 0;
  width: 96px;
}

.mcp-exposure-choice {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.mcp-add-input.mcp-exposure-select {
  width: auto;
  max-width: 100%;
  font-family: inherit;
}

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

select.mcp-add-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 40%, var(--text-dim) 40%, var(--text-dim) 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, var(--text-dim) 40%, var(--text-dim) 60%, transparent 60%);
  background-position: right 15px center, right 10px center;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 30px;
}

.mcp-add-toggle {
  cursor: pointer;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.mcp-add-toggle input {
  flex-shrink: 0;
  margin-top: 3px;
}

.mcp-add-notes {
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}

.mcp-add-note {
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

.mcp-add-note.is-warning {
  color: #d97706;
}

.mcp-add-note.is-error {
  color: #ef4444;
}

.mcp-add-field {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.mcp-add-failure {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.project-trust-backdrop {
  z-index: 1100;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #0006;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.project-trust-dialog {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  border-radius: 8px;
  flex-direction: column;
  width: 480px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  overflow: hidden;
  box-shadow: 0 12px 36px #0000003d;
}

.project-trust-dialog:focus {
  outline: none;
}

.project-trust-body {
  overscroll-behavior: contain;
  flex: auto;
  gap: 12px;
  min-height: 0;
  padding: 18px 18px 14px;
  display: flex;
  overflow: auto;
}

.project-trust-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.project-trust-content {
  flex: 1;
  min-width: 0;
}

.project-trust-title {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.project-trust-text {
  color: var(--text-muted);
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.6;
}

.project-trust-path {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  border-radius: 5px;
  margin-top: 10px;
  padding: 8px 10px;
  font-size: 11px;
  display: block;
}

.project-trust-notice {
  color: var(--text);
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.project-trust-error {
  color: #ef4444;
  flex-shrink: 0;
  max-height: 30vh;
  padding: 0 18px 10px;
  font-size: 12px;
  line-height: 1.5;
  overflow: auto;
}

.project-trust-error-detail {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.project-trust-footer {
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 18px;
  display: flex;
}

.project-trust-button {
  border: 1px solid var(--border);
  height: 32px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border-radius: 5px;
  padding: 0 12px;
  font-size: 12px;
}

.project-trust-button:disabled {
  cursor: not-allowed;
}

.project-trust-button.is-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.project-trust-button.is-primary:disabled {
  opacity: .7;
}

.project-trust-button.is-primary[aria-busy="true"] {
  cursor: wait;
}

.project-trust-mcp {
  margin-top: 14px;
}

.project-trust-mcp-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.project-trust-mcp-intro, .project-trust-mcp-line, .project-trust-mcp-status {
  color: var(--text-muted);
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.project-trust-mcp-status, .project-trust-mcp-failed {
  margin-top: 12px;
}

.project-trust-mcp-status {
  color: var(--text-dim);
}

.project-trust-mcp-line.is-warning {
  color: #d97706;
}

.project-trust-mcp-line.is-dim {
  color: var(--text-dim);
  font-size: 11px;
}

.project-trust-mcp-detail {
  color: var(--text-dim);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  white-space: normal;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.project-trust-mcp-list {
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.project-trust-mcp-server {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 5px;
  min-width: 0;
  padding: 8px 10px;
}

.project-trust-mcp-server-head {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.project-trust-mcp-server-name {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 12px;
  font-weight: 600;
}

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

.project-trust-mcp-target {
  color: var(--text);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  white-space: normal;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.5;
  display: block;
}

.project-trust-mcp-chip {
  background: var(--bg-hover);
  color: var(--text);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
  border-radius: 3px;
  margin: 2px 4px 0 0;
  padding: 0 4px;
  font-size: 11px;
  display: inline-block;
}

@supports (-webkit-touch-callout: none) {
  @media (display-mode: standalone) {
    .settings-dialog-backdrop, .project-trust-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, .project-trust-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));
    }
  }
}

/* [project]/app/sidebar.css [app-client] (css) */
.session-tree {
  flex-direction: column;
  flex: auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  position: relative;
}

.session-tree-message {
  color: var(--text-muted);
  flex: none;
  padding: 16px 14px;
  font-size: 12px;
}

.session-tree-message.is-error {
  color: #f87171;
  padding: 12px 14px;
}

.session-tree-scroll {
  --session-tree-inset-left: 6px;
  --session-tree-inset-right: max(0px, calc(6px - var(--session-tree-scrollbar, 0px)));
  scrollbar-gutter: stable;
  box-sizing: border-box;
  flex: auto;
  min-height: 0;
  padding-bottom: 6px;
  position: relative;
  overflow: hidden auto;
}

@supports not (scrollbar-gutter: stable) {
  .session-tree-scroll {
    overflow-y: scroll;
  }
}

.session-tree-inner {
  position: relative;
}

.session-tree-row {
  box-sizing: border-box;
  align-items: center;
  min-width: 0;
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
}

:where(.session-tree button) {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  margin: 0;
}

.session-tree button:focus, .session-tree a.session-tree-main:focus {
  outline: none;
}

.session-tree button:focus-visible, .session-tree a.session-tree-main:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.session-tree-chevron {
  color: var(--text-dim);
  flex: none;
  transition: transform .15s;
}

.session-tree-chevron.is-open {
  transform: rotate(90deg);
}

.session-tree-group:hover .session-tree-chevron, .session-tree-pinned-toggle:hover .session-tree-chevron, .sidebar-files-section-toggle:hover .session-tree-chevron {
  color: var(--text-muted);
}

.session-tree-pinned-header {
  align-items: stretch;
}

.session-tree-pinned-toggle {
  min-width: 0;
  padding: 0 8px 0 calc(var(--session-tree-inset-left) + 5px);
  color: var(--text-muted);
  text-align: left;
  flex: 1;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  display: flex;
}

.session-tree-pinned-toggle:hover {
  color: var(--text);
}

.session-tree-pinned-label {
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
}

.session-tree-pinned-count {
  color: var(--text-dim);
  font-weight: 400;
}

.session-tree-pinned-dot {
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  margin-left: 2px;
}

.session-tree-pinned-dot.is-running {
  background: var(--accent);
}

.session-tree-pinned-dot.is-unread {
  background: #0891b2;
}

.session-tree-pinned-dot.is-awaiting {
  background: #d97706;
}

.session-tree-session {
  right: var(--session-tree-inset-right);
  left: var(--session-tree-inset-left);
  cursor: pointer;
  border-radius: 7px;
  padding: 0 4px 0 20px;
  overflow: hidden;
}

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

.session-tree-session.is-selected {
  background: var(--bg-selected);
}

.session-tree-session.is-selected:not(.is-confirming):before {
  content: "";
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  width: 3px;
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
}

.session-tree.is-mobile .session-tree-session.is-selected:not(.is-confirming):before {
  top: 12px;
  bottom: 12px;
}

.session-tree-session.is-confirming {
  cursor: default;
  background: #ef44440f;
  gap: 5px;
  box-shadow: inset 0 0 0 1px #ef444459;
}

.session-tree-session.is-renaming {
  cursor: default;
}

.session-tree-main {
  text-align: left;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 100%;
  padding: 0;
  display: flex;
}

a.session-tree-main {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.session-tree-unread {
  background: #0891b2;
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  position: relative;
}

.session-tree-unread:after {
  content: "";
  opacity: .35;
  border: 1.4px solid #0891b2;
  border-radius: 50%;
  animation: 1.6s ease-in-out infinite session-tree-status-pulse;
  position: absolute;
  inset: -3px;
}

.session-tree-awaiting {
  background: #d97706;
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
  position: relative;
}

.session-tree-awaiting:after {
  content: "";
  opacity: .35;
  border: 1.4px solid #d97706;
  border-radius: 50%;
  animation: 1.6s ease-in-out infinite session-tree-status-pulse;
  position: absolute;
  inset: -3px;
}

@keyframes session-tree-status-pulse {
  50% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.session-tree-title {
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: auto;
  font-size: 12px;
  overflow: hidden;
}

.session-tree-session.is-selected .session-tree-title {
  font-weight: 500;
}

.session-tree-session.is-archived .session-tree-title {
  color: var(--text-muted);
}

.session-tree-title.has-fork-suffix {
  display: flex;
}

.session-tree-title-base {
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}

.session-tree-title-suffix {
  white-space: pre;
  flex: none;
}

.session-tree-branch {
  max-width: 78px;
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: none;
  font-size: 11px;
  overflow: hidden;
}

.session-tree-branch-icon {
  vertical-align: -1px;
  margin-right: 3px;
  display: inline-block;
}

.session-tree-meta {
  min-width: 26px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  flex: none;
  justify-content: flex-end;
  align-items: center;
  font-size: 11px;
  display: flex;
}

.session-tree-project {
  text-overflow: ellipsis;
  vertical-align: bottom;
  max-width: 70px;
  display: inline-block;
  overflow: hidden;
}

.session-tree-actions {
  flex: none;
  align-items: center;
  display: flex;
}

.session-tree-action {
  width: 24px;
  height: 24px;
  color: var(--text-dim);
  border-radius: 6px;
  flex: none;
  justify-content: center;
  align-items: center;
  margin-left: 2px;
  padding: 0;
  display: none;
}

.session-tree .session-tree-action:hover, .session-tree .session-tree-action.is-active {
  background: var(--bg-selected);
  color: var(--text);
}

.session-tree .session-tree-session.is-selected .session-tree-action:hover, .session-tree .session-tree-session.is-selected .session-tree-action.is-active {
  background: var(--bg-hover);
}

.session-tree-session:hover .session-tree-action, .session-tree-session.is-selected .session-tree-more-action, .session-tree-session.is-menu-open .session-tree-more-action {
  display: flex;
}

.session-tree-meta.is-running {
  color: var(--accent);
}

.session-tree-session:hover .session-tree-meta {
  display: none;
}

.session-tree-session.is-running:hover .session-tree-meta {
  display: flex;
}

.session-tree-session:has(:focus-visible) .session-tree-action {
  display: flex;
}

.session-tree-session:has(:focus-visible) .session-tree-meta {
  display: none;
}

.session-tree-session.is-running:has(:focus-visible) .session-tree-meta {
  display: flex;
}

.session-tree-rename {
  box-sizing: border-box;
  border: 1px solid var(--accent);
  background: var(--bg);
  min-width: 0;
  height: 24px;
  color: var(--text);
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
  border-radius: 5px;
  outline: none;
  flex: 1;
  padding: 0 8px;
  font-size: 12px;
}

.session-tree-confirm-text {
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 12px;
  overflow: hidden;
}

.session-tree .session-tree-confirm-delete, .session-tree .session-tree-confirm-cancel {
  white-space: nowrap;
  border-radius: 6px;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
  display: flex;
}

.session-tree .session-tree-confirm-delete {
  color: #fff;
  background: #ef4444;
  border: 1px solid #ef4444;
  font-weight: 600;
}

.session-tree .session-tree-confirm-cancel {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 500;
}

.session-tree .session-tree-confirm-cancel:hover {
  background: var(--bg-hover);
}

.session-tree-group {
  right: var(--session-tree-inset-right);
  left: var(--session-tree-inset-left);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  border-radius: 7px;
  gap: 2px;
  padding: 0 4px 0 0;
}

.session-tree-group:hover {
  background: var(--bg-hover);
}

.session-tree-group.is-renaming {
  padding-left: 4px;
}

.session-tree-group.is-drag-armed {
  background: var(--bg-selected);
  box-shadow: 0 2px 8px #0000002e;
}

.session-tree-drag-source {
  right: var(--session-tree-inset-right);
  left: var(--session-tree-inset-left);
  background: color-mix(in srgb, var(--bg-panel) 55%, transparent);
  pointer-events: none;
  border-radius: 7px;
  position: absolute;
}

.session-tree-drop-line {
  right: var(--session-tree-inset-right);
  left: var(--session-tree-inset-left);
  background: var(--accent);
  pointer-events: none;
  border-radius: 1px;
  height: 2px;
  margin-top: -1px;
  position: absolute;
}

.session-tree-drop-line:before {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: -2px;
  left: 0;
}

.session-tree-drag-ghost {
  z-index: 2;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  min-width: 0;
  max-width: 70%;
  height: 22px;
  color: var(--text);
  white-space: nowrap;
  opacity: .92;
  pointer-events: none;
  border-radius: 11px;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  position: absolute;
  box-shadow: 0 4px 12px #0000002e;
}

.session-tree.is-group-dragging, .session-tree.is-group-dragging * {
  cursor: grabbing;
}

.session-tree-group-toggle {
  min-width: 0;
  height: 100%;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  flex: 1;
  align-items: center;
  gap: 3px;
  padding: 0 0 0 5px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.session-tree-group.is-current .session-tree-group-toggle, .session-tree-group:hover .session-tree-group-toggle {
  color: var(--text);
}

.session-tree-group-name {
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}

.session-tree-group-pin {
  color: var(--text-dim);
  flex: none;
  margin-left: 2px;
}

.session-tree-summary {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  flex: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 400;
  display: flex;
}

.session-tree-summary-running, .session-tree-summary-awaiting, .session-tree-summary-unread {
  align-items: center;
  gap: 3px;
  display: inline-flex;
}

.session-tree-summary-running svg {
  color: var(--accent);
}

.session-tree-summary-dot {
  background: #0891b2;
  border-radius: 50%;
  flex: none;
  width: 6px;
  height: 6px;
}

.session-tree-summary-dot.is-awaiting {
  background: #d97706;
}

.session-tree-group-actions {
  flex: none;
  align-items: center;
  gap: 2px;
  display: none;
}

.session-tree-group:hover .session-tree-group-actions, .session-tree-group.is-active .session-tree-group-actions {
  display: flex;
}

.session-tree-group:hover .session-tree-summary, .session-tree-group.is-active .session-tree-summary {
  display: none;
}

.session-tree-group:has(:focus-visible) .session-tree-group-actions {
  display: flex;
}

.session-tree-group:has(:focus-visible) .session-tree-summary {
  display: none;
}

@supports not selector(:has(*)) {
  .session-tree-session:focus-within .session-tree-action, .session-tree-group:focus-within .session-tree-group-actions {
    display: flex;
  }

  .session-tree-session:focus-within .session-tree-meta, .session-tree-group:focus-within .session-tree-summary {
    display: none;
  }

  .session-tree.is-mobile .session-tree-session:focus-within .session-tree-meta, .session-tree-session.is-running:focus-within .session-tree-meta, .session-tree.is-mobile .session-tree-group:focus-within .session-tree-summary {
    display: flex;
  }
}

.session-tree .session-tree-group-action {
  width: 22px;
  height: 22px;
  color: var(--text-dim);
  border-radius: 6px;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.session-tree .session-tree-group-action:hover, .session-tree .session-tree-group-action.is-active {
  background: var(--bg-selected);
  color: var(--text);
}

.session-tree-group-empty, .session-tree-more {
  padding-left: calc(var(--session-tree-inset-left) + 20px);
  color: var(--text-dim);
  font-size: 11px;
}

.session-tree-more-toggle {
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  font-size: 11px;
  overflow: hidden;
}

.session-tree-more-toggle:only-child {
  flex: 1;
}

.session-tree-more-toggle + .session-tree-more-toggle {
  flex: none;
  margin-left: 14px;
}

.session-tree-more-toggle:hover {
  color: var(--text);
}

.session-tree-footer {
  right: var(--session-tree-inset-right);
  left: var(--session-tree-inset-left);
  align-items: stretch;
}

.session-tree-footer-button {
  min-width: 0;
  color: var(--text-dim);
  text-align: left;
  border-radius: 7px;
  flex: 1;
  align-items: center;
  gap: 3px;
  padding: 0 4px 0 5px;
  font-size: 12px;
  display: flex;
}

.session-tree-footer-button:hover {
  background: var(--bg-hover);
  color: var(--text-muted);
}

.session-tree-footer-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.session-tree-footer-chevron {
  flex: none;
}

.session-tree-archive-group-count {
  color: var(--text-dim);
  flex: none;
  margin-left: 2px;
  font-weight: 400;
}

.session-tree.is-mobile .session-tree-title, .session-tree.is-mobile .session-tree-group-toggle {
  font-size: 13px;
}

.session-tree.is-mobile .session-tree-more-action {
  width: 32px;
  height: 32px;
  display: flex;
}

.session-tree.is-mobile .session-tree-session:hover .session-tree-meta {
  display: flex;
}

.session-tree.is-mobile .session-tree-session:has(:focus-visible) .session-tree-meta {
  display: flex;
}

.session-tree.is-mobile .session-tree-group-actions, .session-tree.is-mobile .session-tree-group .session-tree-summary {
  display: flex;
}

.session-tree.is-mobile .session-tree-group-action {
  width: 32px;
  height: 32px;
}

.session-tree.is-mobile .session-tree-rename, .session-tree.is-mobile .session-tree-confirm-delete, .session-tree.is-mobile .session-tree-confirm-cancel {
  height: 32px;
}

@media (hover: none) {
  .session-tree-more-action {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .session-tree-unread:after, .session-tree-awaiting:after {
    animation: none;
  }

  .session-tree-chevron {
    transition: none;
  }
}

.session-sidebar {
  flex-direction: column;
  height: 100%;
  min-height: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.session-sidebar.has-toast .session-tree-scroll {
  padding-bottom: 56px;
}

.session-sidebar.is-files-below .sidebar-toast-region {
  bottom: calc(var(--sidebar-files-height, 320px) + 8px);
}

.session-sidebar.is-files-below.is-files-collapsed .sidebar-toast-region {
  bottom: 37px;
}

.sidebar-header {
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  flex: none;
  align-items: stretch;
  height: 36px;
  display: flex;
}

.sidebar-tabs-list {
  flex: none;
  align-items: stretch;
  display: flex;
}

.sidebar-tab, .sidebar-new-button, .sidebar-search-toggle {
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  border-top: 2px solid #0000;
  border-radius: 0;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 12px;
  transition: background .12s, color .12s;
  display: flex;
}

.sidebar-tab, .sidebar-new-button {
  border-right: 1px solid var(--border);
}

.sidebar-new-button {
  border-left: 1px solid var(--border);
  margin-left: -1px;
}

.sidebar-tab-icon {
  color: var(--text-dim);
  flex: none;
}

.sidebar-tab:hover, .sidebar-new-button:not(:disabled):hover, .sidebar-search-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-tab.is-selected, .sidebar-search-toggle.is-active {
  border-top-color: var(--accent);
  background: var(--bg-selected);
  color: var(--text);
}

.sidebar-tab.is-selected {
  font-weight: 500;
}

.sidebar-tab.is-selected .sidebar-tab-icon {
  color: var(--accent);
}

.sidebar-tab-count {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 400;
}

.sidebar-brand {
  min-width: 6ch;
  color: var(--text);
  font-family: var(--font-mono);
  letter-spacing: -.01em;
  text-align: left;
  white-space: nowrap;
  cursor: default;
  background: none;
  border: 0;
  border-radius: 6px;
  flex: none;
  align-self: center;
  margin: 0 0 0 7px;
  padding: 2px 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
}

.sidebar-brand.is-version {
  color: var(--accent);
}

.sidebar-brand:focus {
  outline: none;
}

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

.sidebar-header-spacer {
  flex: 1;
  min-width: 0;
}

.sidebar-new-button {
  font-weight: 500;
}

.sidebar-search-toggle {
  width: 36px;
  padding: 0;
}

.sidebar-new-button:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
}

.sidebar-header[data-fit="1"] .sidebar-new-button, .sidebar-header[data-fit="2"] .sidebar-new-button {
  width: 36px;
  padding: 0;
}

.sidebar-header[data-fit="2"] .sidebar-tab {
  padding: 0 11px;
}

.sidebar-header[data-fit="2"] .sidebar-brand {
  font-size: 11px;
}

.sidebar-header[data-fit="1"] .sidebar-new-label, .sidebar-header[data-fit="2"] .sidebar-new-label, .sidebar-header[data-fit="2"] .sidebar-tab-label {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.sidebar-new-button:focus-visible, .sidebar-search-toggle:focus-visible, .sidebar-tab:focus-visible, .sidebar-archive-back:focus-visible, .sidebar-archive-menu-button:focus-visible, .sidebar-tool-button:focus-visible, .sidebar-files-section-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.sidebar-panel {
  flex-direction: column;
  flex: auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.session-sidebar.is-files-below .sidebar-sessions-panel {
  flex-basis: 0;
  min-height: 120px;
}

.session-sidebar.is-files-below .sidebar-files-panel {
  height: var(--sidebar-files-height, 320px);
  border-top: 1px solid var(--border);
  flex: 0 auto;
  min-height: 29px;
}

.session-sidebar.is-files-below.is-files-collapsed .sidebar-files-panel {
  height: 29px;
}

.session-sidebar.is-files-below.is-files-folding .sidebar-files-panel {
  transition: height .18s ease-out;
}

.session-sidebar.is-files-below.is-files-folding .sidebar-toast-region {
  transition: bottom .18s ease-out;
}

.panel-resize-handle.sidebar-files-resize-handle {
  cursor: row-resize;
  flex: 0 0 12px;
  width: auto;
  height: 12px;
  margin: -6px 0;
}

.panel-resize-handle.sidebar-files-resize-handle:after {
  width: auto;
  height: 2px;
  inset: 5px 0 auto;
}

.session-sidebar.is-files-below {
  --sidebar-files-inset-right: max(10px, calc(var(--session-tree-scrollbar, 0px) + 4px));
}

.sidebar-files-section {
  height: 28px;
  padding: 0 var(--sidebar-files-inset-right) 0 6px;
  flex: none;
  align-items: center;
  gap: 2px;
  display: flex;
}

.sidebar-files-section-toggle {
  min-width: 17px;
  height: 100%;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  flex-wrap: wrap;
  flex: auto;
  align-items: center;
  gap: 3px;
  padding: 0 5px;
  font-size: 11px;
  display: flex;
  overflow: hidden;
}

.sidebar-files-section-toggle:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-files-section-toggle > .session-tree-chevron {
  height: 100%;
}

.sidebar-files-section-label {
  min-width: 0;
  color: var(--text);
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}

.sidebar-files-section-count {
  color: var(--text-dim);
  flex: none;
  font-weight: 400;
}

.sidebar-files-keys {
  flex: 1000 0 126px;
  align-items: center;
  max-width: 182px;
  display: flex;
}

.sidebar-files-keys .sidebar-tool-button {
  border-radius: 6px;
  flex: 1 1 0;
  min-width: 18px;
  max-width: 26px;
  height: 26px;
}

.sidebar-files-body {
  flex-direction: column;
  flex: auto;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.sidebar-search {
  flex: none;
  padding: 8px 8px 4px;
}

.sidebar-search-input {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  min-width: 0;
  height: 29px;
  color: var(--text);
  font: inherit;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 12px;
  display: block;
}

.sidebar-search-input:focus {
  outline: 2px solid var(--accent);
}

.sidebar-sessions-views {
  flex: auto;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  display: grid;
}

.sidebar-sessions-view {
  flex-direction: column;
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.sidebar-archive-view {
  z-index: 1;
  background: var(--bg-panel);
  position: relative;
}

.sidebar-archive-view.is-entering {
  animation: .18s ease-out sidebar-archive-in;
}

.sidebar-archive-view.is-leaving {
  pointer-events: none;
  animation: .18s ease-in forwards sidebar-archive-out;
}

@keyframes sidebar-archive-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
}

@keyframes sidebar-archive-out {
  to {
    opacity: 0;
    transform: translateX(14px);
  }
}

.sidebar-archive-bar {
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
  flex: none;
  align-items: center;
  height: 34px;
  padding: 0 6px;
  display: flex;
}

.sidebar-archive-back {
  height: 26px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.sidebar-archive-back:hover {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-archive-count {
  color: var(--text-dim);
  font-weight: 400;
}

.sidebar-archive-menu-button {
  width: 26px;
  height: 26px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  padding: 0;
  display: flex;
}

.sidebar-archive-menu-button:hover, .sidebar-archive-menu-button.is-active {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-icon-back {
  transform: rotate(180deg);
}

.sidebar-icon-down {
  transform: rotate(90deg);
}

.sidebar-icon-up {
  transform: rotate(-90deg);
}

.sidebar-files-head {
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  flex: none;
  padding: 10px 10px 4px;
  display: flex;
}

.session-sidebar.is-files-below .sidebar-files-head {
  padding: 2px var(--sidebar-files-inset-right) 2px 15px;
  border-bottom: 0;
}

.session-sidebar.is-files-below .sidebar-files-scroll {
  padding-top: 0;
}

.session-sidebar.is-files-below .sidebar-files-error {
  padding: 2px var(--sidebar-files-inset-right) 4px 15px;
}

.sidebar-files-actions {
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  display: flex;
}

.sidebar-files-views-start {
  margin-left: auto;
}

.sidebar-tool-button {
  min-width: 21px;
  height: 32px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  flex: 0 32px;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: color .12s, background .12s;
  display: flex;
}

.sidebar-tool-button:not(:disabled):hover {
  background: var(--bg-selected);
  color: var(--text);
}

.sidebar-tool-button.is-active, .sidebar-tool-button.is-active:not(:disabled):hover {
  background: var(--bg-selected);
  color: var(--accent);
}

.sidebar-tool-button.is-done, .sidebar-tool-button.is-done:not(:disabled):hover {
  color: var(--accent);
  background: none;
}

.sidebar-tool-button:disabled {
  cursor: default;
  opacity: .6;
}

.sidebar-files-error {
  color: #f87171;
  flex: none;
  align-items: flex-start;
  gap: 6px;
  padding: 6px 10px 0;
  font-size: 10px;
  line-height: 1.35;
  display: flex;
}

.sidebar-files-error-text {
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
}

.sidebar-files-scroll {
  flex: auto;
  min-height: 0;
  padding-top: 2px;
  overflow: hidden auto;
}

@media (pointer: coarse) {
  .sidebar-tool-button {
    flex-basis: 36px;
    height: 36px;
  }

  .sidebar-files-section {
    height: 36px;
  }

  .sidebar-files-section-toggle {
    flex: 1 1 0;
  }

  .sidebar-files-keys {
    flex: 0 auto;
    min-width: 0;
    max-width: none;
  }

  .sidebar-files-keys .sidebar-tool-button {
    flex: 0 32px;
    width: 32px;
    min-width: 15px;
    max-width: none;
    height: 32px;
  }

  .session-sidebar.is-files-below .sidebar-files-panel {
    min-height: 37px;
  }

  .session-sidebar.is-files-below.is-files-collapsed .sidebar-files-panel {
    height: 37px;
  }

  .session-sidebar.is-files-below.is-files-collapsed .sidebar-toast-region {
    bottom: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-tab, .sidebar-new-button, .sidebar-search-toggle, .sidebar-tool-button, .session-sidebar.is-files-below.is-files-folding .sidebar-files-panel, .session-sidebar.is-files-below.is-files-folding .sidebar-toast-region {
    transition: none;
  }

  .sidebar-archive-view.is-entering, .sidebar-archive-view.is-leaving {
    animation: none;
  }
}

/* [project]/app/sidebar-menu.css [app-client] (css) */
.sidebar-spin {
  transform-origin: 50%;
  flex-shrink: 0;
  animation: .9s linear infinite spin;
}

.sidebar-menu {
  z-index: 400;
  box-sizing: border-box;
  max-width: calc(100vw - 16px);
  max-height: min(calc(var(--app-viewport-height, 100dvh) - 16px), 480px);
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 8px;
  padding: 4px;
  font-size: 12px;
  animation: .12s ease-out sidebar-menu-in;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  box-shadow: 0 6px 20px #0000001a;
}

.sidebar-menu:focus {
  outline: none;
}

@keyframes sidebar-menu-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

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

.sidebar-menu-item {
  box-sizing: border-box;
  width: 100%;
  height: 28px;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  font-size: 12px;
  display: flex;
}

.sidebar-menu-item:focus {
  outline: none;
}

.sidebar-menu-item:not([aria-disabled="true"]):hover, .sidebar-menu-item:focus-visible {
  background: var(--bg-hover);
}

.sidebar-menu-item[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .45;
}

.sidebar-menu-item.is-danger, .sidebar-menu-item.is-danger .sidebar-menu-icon {
  color: #ef4444;
}

.sidebar-menu-item.is-danger:not([aria-disabled="true"]):hover, .sidebar-menu-item.is-danger:focus-visible {
  background: #ef444414;
}

.sidebar-menu-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex: 0 0 14px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.sidebar-menu-item.is-checked .sidebar-menu-icon {
  color: var(--accent);
}

.sidebar-menu-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sidebar-menu-label.is-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.sidebar-menu-note {
  max-width: 45%;
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
  overflow: hidden;
}

.sidebar-menu-shortcut {
  color: var(--text-dim);
  font-family: var(--font-mono);
  flex-shrink: 0;
  font-size: 10.5px;
}

.sidebar-menu-separator {
  background: var(--border);
  height: 1px;
  margin: 4px 2px;
}

.sidebar-menu-header {
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 8px 4px;
  font-size: 11px;
  overflow: hidden;
}

.sidebar-menu-row {
  align-items: center;
  gap: 2px;
  display: flex;
}

.sidebar-menu-row > .sidebar-menu-item {
  flex: 1;
  min-width: 0;
}

.sidebar-menu-secondary {
  width: 28px;
  height: 28px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.sidebar-menu-secondary:focus {
  outline: none;
}

.sidebar-menu-secondary:not([aria-disabled="true"]):hover, .sidebar-menu-secondary:focus-visible {
  background: var(--bg-hover);
  color: var(--text);
}

.sidebar-menu-secondary.is-danger:not([aria-disabled="true"]):hover, .sidebar-menu-secondary.is-danger:focus-visible {
  color: #ef4444;
  background: #ef444414;
}

.sidebar-menu-secondary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .45;
}

.sidebar-menu-filter {
  z-index: 1;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  margin: -4px -4px 4px;
  padding: 4px;
  position: sticky;
  top: -4px;
}

.sidebar-menu-filter-input {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  height: 28px;
  color: var(--text);
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
  border-radius: 5px;
  outline: none;
  padding: 0 8px;
  font-size: 12px;
  display: block;
}

.sidebar-menu-filter-input:focus {
  border-color: var(--accent);
}

.sidebar-menu-empty {
  color: var(--text-dim);
  padding: 6px 8px;
  font-size: 12px;
}

.sidebar-menu-label.is-path {
  text-align: left;
  direction: rtl;
}

.sidebar-menu-label.is-path > span {
  unicode-bidi: plaintext;
}

.sidebar-menu.is-classic {
  padding: 0;
}

.sidebar-menu.is-classic .sidebar-menu-item {
  height: auto;
  color: var(--text-muted);
  border-radius: 0;
  gap: 7px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.35;
}

.sidebar-menu.is-classic .sidebar-menu-item.is-choice, .sidebar-menu.is-classic .sidebar-menu-row.is-choice {
  border-bottom: 1px solid var(--border);
}

.sidebar-menu.is-classic .sidebar-menu-row.is-choice > .sidebar-menu-item {
  border-bottom: 0;
}

.sidebar-menu.is-classic .sidebar-menu-item.is-checked {
  color: var(--text);
}

.sidebar-menu.is-classic .sidebar-menu-icon {
  width: 10px;
  height: 10px;
  color: inherit;
  flex-basis: 10px;
}

.sidebar-menu.is-classic .sidebar-menu-item.is-checked .sidebar-menu-icon {
  color: var(--accent);
}

.sidebar-menu.is-classic .sidebar-menu-icon svg {
  width: 10px;
  height: 10px;
}

.sidebar-menu.is-classic .sidebar-menu-label.is-mono {
  font-size: 11px;
}

.sidebar-menu.is-classic .sidebar-menu-note {
  font-size: 10px;
}

.sidebar-menu.is-classic .sidebar-menu-separator {
  margin: 0;
}

.sidebar-menu.is-classic .sidebar-menu-secondary {
  width: 34px;
  height: 28px;
  margin-right: 4px;
}

.sidebar-menu.is-classic .sidebar-menu-filter {
  margin: 0;
  padding: 6px 8px;
  top: 0;
}

.sidebar-menu.is-classic .sidebar-menu-filter-input {
  height: auto;
  font-family: var(--font-mono);
  padding: 5px 8px;
  font-size: 11px;
}

.sidebar-menu.is-classic .sidebar-menu-empty {
  padding: 8px 10px;
  font-size: 11px;
}

.sidebar-menu.is-classic .sidebar-worktree-form {
  padding: 6px 8px;
}

.sidebar-menu.is-classic .sidebar-worktree-input {
  height: auto;
  padding: 5px 8px;
  font-size: 11px;
}

.sidebar-menu.is-classic .sidebar-worktree-form-buttons {
  gap: 5px;
  margin-top: 5px;
}

.sidebar-menu.is-classic .sidebar-worktree-create, .sidebar-menu.is-classic .sidebar-worktree-cancel {
  border-radius: 5px;
  height: auto;
  padding: 4px 0;
  font-size: 11px;
}

.sidebar-menu.is-classic .sidebar-worktree-cancel {
  background: var(--bg-hover);
}

.sidebar-menu.is-classic .sidebar-worktree-error {
  margin-top: 5px;
}

.sidebar-menu.is-classic > .sidebar-worktree-error {
  margin: 0;
  padding: 5px 10px 8px;
}

.sidebar-worktree-confirm {
  border-bottom: 1px solid var(--border);
  background: #ef44440f;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  display: flex;
}

.sidebar-worktree-confirm-text {
  min-width: 0;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 11px;
  overflow: hidden;
}

.sidebar-worktree-confirm .sidebar-worktree-force, .sidebar-worktree-confirm .sidebar-worktree-cancel {
  border-radius: 5px;
  flex: none;
  height: auto;
  padding: 3px 9px;
  font-size: 11px;
}

.sidebar-worktree-confirm .sidebar-worktree-cancel {
  background: var(--bg-hover);
}

.sidebar-worktree-confirm .sidebar-worktree-force[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .65;
}

.sidebar-sheet-layer {
  z-index: 410;
  height: var(--app-viewport-height, 100dvh);
  flex-direction: column;
  justify-content: flex-end;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.sidebar-sheet-backdrop {
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  background: #00000059;
  animation: .12s ease-out sidebar-sheet-fade;
  position: fixed;
  inset: 0;
}

.sidebar-sheet {
  z-index: 1;
  box-sizing: border-box;
  max-height: calc(var(--app-viewport-height, 100dvh) - 48px);
  overscroll-behavior: contain;
  padding: 4px 0 max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px 12px 0 0;
  font-size: 15px;
  animation: .12s ease-out sidebar-sheet-in;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 -6px 20px #0000001f;
}

.sidebar-sheet:focus {
  outline: none;
}

html[data-keyboard-open] .sidebar-sheet {
  padding-bottom: 8px;
}

@keyframes sidebar-sheet-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes sidebar-sheet-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.sidebar-sheet-title {
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px 16px 9px;
  font-size: 12px;
  overflow: hidden;
}

.sidebar-sheet-body {
  padding: 4px 0;
}

.sidebar-sheet .sidebar-menu-item {
  border-radius: 0;
  gap: 12px;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
}

.sidebar-sheet .sidebar-menu-label.is-mono {
  font-size: 14px;
}

.sidebar-sheet .sidebar-menu-note {
  font-size: 13px;
}

.sidebar-sheet .sidebar-menu-shortcut {
  display: none;
}

.sidebar-sheet .sidebar-menu-separator {
  margin: 4px 0;
}

.sidebar-sheet .sidebar-menu-header {
  padding: 8px 16px 4px;
  font-size: 12px;
}

.sidebar-sheet .sidebar-menu-secondary {
  border-radius: 0;
  width: 48px;
  height: 48px;
}

.sidebar-sheet .sidebar-menu-filter {
  margin: -4px 0 4px;
  padding: 8px 16px;
}

.sidebar-sheet .sidebar-menu-filter-input {
  height: 40px;
  font-size: 14px;
}

.sidebar-sheet .sidebar-menu-empty {
  padding: 12px 16px;
  font-size: 15px;
}

.sidebar-sheet-cancel {
  border: 0;
  border-top: 1px solid var(--border);
  width: 100%;
  height: 48px;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  background: none;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  font-size: 15px;
  display: flex;
}

.sidebar-sheet-cancel:hover {
  background: var(--bg-hover);
}

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

.sidebar-toast-region {
  z-index: 30;
  pointer-events: none;
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
}

.sidebar-toast {
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--bg);
  height: 36px;
  color: var(--text);
  pointer-events: auto;
  border-radius: 8px;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 12px;
  font-size: 12px;
  animation: .16s ease-out sidebar-toast-in;
  display: flex;
  box-shadow: 0 4px 12px #00000014;
}

@keyframes sidebar-toast-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

.sidebar-toast-message {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sidebar-toast-message.has-tail {
  display: flex;
}

.sidebar-toast-message-head {
  text-overflow: ellipsis;
  min-width: 0;
  overflow: hidden;
}

.sidebar-toast-message-tail {
  white-space: pre;
  flex: none;
}

.sidebar-toast-action {
  height: 26px;
  color: var(--accent);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: none;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 600;
}

.sidebar-toast-action:hover {
  background: var(--bg-hover);
}

.sidebar-toast-dismiss {
  width: 24px;
  height: 24px;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: flex;
}

.sidebar-toast-dismiss:hover {
  background: var(--bg-hover);
  color: var(--text-muted);
}

.sidebar-toast-action:focus-visible, .sidebar-toast-dismiss:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

@media (pointer: coarse) {
  .sidebar-menu-item {
    height: 40px;
  }

  .sidebar-menu.is-classic .sidebar-menu-item {
    min-height: 36px;
  }

  .sidebar-menu-secondary {
    width: 40px;
    height: 40px;
  }

  .sidebar-toast {
    height: 44px;
  }

  .sidebar-toast-action {
    height: 36px;
  }

  .sidebar-toast-dismiss {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar-spin, .sidebar-menu, .sidebar-sheet, .sidebar-sheet-backdrop, .sidebar-toast {
    animation: none;
  }
}

.sidebar-worktree-form {
  padding: 2px 4px 4px;
}

.sidebar-worktree-input {
  box-sizing: border-box;
  border: 1px solid var(--accent);
  background: var(--bg);
  width: 100%;
  height: 28px;
  color: var(--text);
  font: inherit;
  font-family: var(--font-mono);
  -webkit-user-select: text;
  user-select: text;
  border-radius: 5px;
  outline: none;
  padding: 0 8px;
  font-size: 11.5px;
  display: block;
}

.sidebar-worktree-form-buttons {
  gap: 6px;
  margin-top: 6px;
  display: flex;
}

.sidebar-worktree-create, .sidebar-worktree-force, .sidebar-worktree-cancel {
  border: 1px solid var(--border);
  background: var(--bg);
  height: 26px;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  border-radius: 6px;
  flex: 1;
  font-size: 12px;
}

.sidebar-worktree-cancel:hover {
  background: var(--bg-hover);
}

.sidebar-worktree-create {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
}

.sidebar-worktree-force {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
  font-weight: 600;
}

.sidebar-worktree-create:disabled, .sidebar-worktree-force:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.sidebar-worktree-create:focus-visible, .sidebar-worktree-force:focus-visible, .sidebar-worktree-cancel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.sidebar-worktree-message {
  color: var(--text);
  padding: 2px 4px 0;
  font-size: 12px;
  line-height: 1.4;
}

.sidebar-worktree-error {
  color: #ef4444;
  overflow-wrap: anywhere;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
}

.sidebar-sheet .sidebar-worktree-form {
  padding: 10px 16px 4px;
}

.sidebar-sheet .sidebar-worktree-input, .sidebar-sheet .sidebar-worktree-create, .sidebar-sheet .sidebar-worktree-force, .sidebar-sheet .sidebar-worktree-cancel {
  height: 40px;
  font-size: 14px;
}

.sidebar-menu-question {
  padding: 2px 4px 4px;
}

.sidebar-menu-question .sidebar-menu-header {
  padding-left: 4px;
  padding-right: 4px;
}

.sidebar-menu-question-text {
  color: var(--text);
  margin: 0;
  padding: 2px 4px 0;
  font-size: 12px;
  line-height: 1.4;
}

.sidebar-menu-question-buttons {
  gap: 6px;
  margin-top: 8px;
  display: flex;
}

.sidebar-menu-question-confirm, .sidebar-menu-question-cancel {
  border: 1px solid var(--border);
  background: var(--bg);
  min-width: 0;
  height: 26px;
  color: var(--text-muted);
  font: inherit;
  cursor: pointer;
  border-radius: 6px;
  flex: 1;
  font-size: 12px;
}

.sidebar-menu-question-cancel:hover {
  background: var(--bg-hover);
}

.sidebar-menu-question-confirm {
  color: #fff;
  background: #ef4444;
  border-color: #ef4444;
  font-weight: 600;
}

.sidebar-menu-question-confirm:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.sidebar-menu-question-confirm:focus-visible, .sidebar-menu-question-cancel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.sidebar-sheet .sidebar-menu-question {
  padding: 4px 16px;
}

.sidebar-sheet .sidebar-menu-question-text {
  font-size: 14px;
}

.sidebar-sheet .sidebar-menu-question-confirm {
  height: 40px;
  font-size: 14px;
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0nhgqla._.css.map*/