/* Faunder UI core 0.6.14 */
@layer core, theme, utility;
@layer core {
/* library/utilities/color.css */

/* An unknown name uses zinc. Each color file maps its own name and loads after this file. */
:where([ui-color]) {
  --ui-color-50: var(--ui-zinc-50);
  --ui-color-100: var(--ui-zinc-100);
  --ui-color-200: var(--ui-zinc-200);
  --ui-color-300: var(--ui-zinc-300);
  --ui-color-400: var(--ui-zinc-400);
  --ui-color-500: var(--ui-zinc-500);
  --ui-color-600: var(--ui-zinc-600);
  --ui-color-700: var(--ui-zinc-700);
  --ui-color-800: var(--ui-zinc-800);
  --ui-color-900: var(--ui-zinc-900);
  --ui-color-950: var(--ui-zinc-950);
}


}
@layer core {
/* Faunder UI palette: every color scale, the default chroma rate, white and black. Components use the scales directly. */
/* library/colors/red.css */
/* Red color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 18%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-red-50: oklch(97.1% calc(0.013 * (0.18 + 0.82 * var(--ui-chroma))) 17.38);
  --ui-red-100: oklch(93.6% calc(0.032 * (0.18 + 0.82 * var(--ui-chroma))) 17.717);
  --ui-red-200: oklch(88.5% calc(0.062 * (0.18 + 0.82 * var(--ui-chroma))) 18.334);
  --ui-red-300: oklch(80.8% calc(0.114 * (0.18 + 0.82 * var(--ui-chroma))) 19.571);
  --ui-red-400: oklch(70.4% calc(0.191 * (0.18 + 0.82 * var(--ui-chroma))) 22.216);
  --ui-red-500: oklch(63.7% calc(0.237 * (0.18 + 0.82 * var(--ui-chroma))) 25.331);
  --ui-red-600: oklch(57.7% calc(0.245 * (0.18 + 0.82 * var(--ui-chroma))) 27.325);
  --ui-red-700: oklch(50.5% calc(0.213 * (0.18 + 0.82 * var(--ui-chroma))) 27.518);
  --ui-red-800: oklch(44.4% calc(0.177 * (0.18 + 0.82 * var(--ui-chroma))) 26.899);
  --ui-red-900: oklch(39.6% calc(0.141 * (0.18 + 0.82 * var(--ui-chroma))) 25.723);
  --ui-red-950: oklch(25.8% calc(0.092 * (0.18 + 0.82 * var(--ui-chroma))) 26.042);
}

:where([ui-color="red"]) {
  --ui-color-50: var(--ui-red-50);
  --ui-color-100: var(--ui-red-100);
  --ui-color-200: var(--ui-red-200);
  --ui-color-300: var(--ui-red-300);
  --ui-color-400: var(--ui-red-400);
  --ui-color-500: var(--ui-red-500);
  --ui-color-600: var(--ui-red-600);
  --ui-color-700: var(--ui-red-700);
  --ui-color-800: var(--ui-red-800);
  --ui-color-900: var(--ui-red-900);
  --ui-color-950: var(--ui-red-950);
}

/* library/colors/orange.css */
/* Orange color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 28%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-orange-50: oklch(98% calc(0.016 * (0.28 + 0.72 * var(--ui-chroma))) 73.684);
  --ui-orange-100: oklch(95.4% calc(0.038 * (0.28 + 0.72 * var(--ui-chroma))) 75.164);
  --ui-orange-200: oklch(90.1% calc(0.076 * (0.28 + 0.72 * var(--ui-chroma))) 70.697);
  --ui-orange-300: oklch(83.7% calc(0.128 * (0.28 + 0.72 * var(--ui-chroma))) 66.29);
  --ui-orange-400: oklch(75% calc(0.183 * (0.28 + 0.72 * var(--ui-chroma))) 55.934);
  --ui-orange-500: oklch(70.5% calc(0.213 * (0.28 + 0.72 * var(--ui-chroma))) 47.604);
  --ui-orange-600: oklch(64.6% calc(0.222 * (0.28 + 0.72 * var(--ui-chroma))) 41.116);
  --ui-orange-700: oklch(55.3% calc(0.195 * (0.28 + 0.72 * var(--ui-chroma))) 38.402);
  --ui-orange-800: oklch(47% calc(0.157 * (0.28 + 0.72 * var(--ui-chroma))) 37.304);
  --ui-orange-900: oklch(40.8% calc(0.123 * (0.28 + 0.72 * var(--ui-chroma))) 38.172);
  --ui-orange-950: oklch(26.6% calc(0.079 * (0.28 + 0.72 * var(--ui-chroma))) 36.259);
}

:where([ui-color="orange"]) {
  --ui-color-50: var(--ui-orange-50);
  --ui-color-100: var(--ui-orange-100);
  --ui-color-200: var(--ui-orange-200);
  --ui-color-300: var(--ui-orange-300);
  --ui-color-400: var(--ui-orange-400);
  --ui-color-500: var(--ui-orange-500);
  --ui-color-600: var(--ui-orange-600);
  --ui-color-700: var(--ui-orange-700);
  --ui-color-800: var(--ui-orange-800);
  --ui-color-900: var(--ui-orange-900);
  --ui-color-950: var(--ui-orange-950);
}

/* library/colors/amber.css */
/* Amber color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 32%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-amber-50: oklch(98.7% calc(0.022 * (0.32 + 0.68 * var(--ui-chroma))) 95.277);
  --ui-amber-100: oklch(96.2% calc(0.059 * (0.32 + 0.68 * var(--ui-chroma))) 95.617);
  --ui-amber-200: oklch(92.4% calc(0.12 * (0.32 + 0.68 * var(--ui-chroma))) 95.746);
  --ui-amber-300: oklch(87.9% calc(0.169 * (0.32 + 0.68 * var(--ui-chroma))) 91.605);
  --ui-amber-400: oklch(82.8% calc(0.189 * (0.32 + 0.68 * var(--ui-chroma))) 84.429);
  --ui-amber-500: oklch(76.9% calc(0.188 * (0.32 + 0.68 * var(--ui-chroma))) 70.08);
  --ui-amber-600: oklch(66.6% calc(0.179 * (0.32 + 0.68 * var(--ui-chroma))) 58.318);
  --ui-amber-700: oklch(55.5% calc(0.163 * (0.32 + 0.68 * var(--ui-chroma))) 48.998);
  --ui-amber-800: oklch(47.3% calc(0.137 * (0.32 + 0.68 * var(--ui-chroma))) 46.201);
  --ui-amber-900: oklch(41.4% calc(0.112 * (0.32 + 0.68 * var(--ui-chroma))) 45.904);
  --ui-amber-950: oklch(27.9% calc(0.077 * (0.32 + 0.68 * var(--ui-chroma))) 45.635);
}

:where([ui-color="amber"]) {
  --ui-color-50: var(--ui-amber-50);
  --ui-color-100: var(--ui-amber-100);
  --ui-color-200: var(--ui-amber-200);
  --ui-color-300: var(--ui-amber-300);
  --ui-color-400: var(--ui-amber-400);
  --ui-color-500: var(--ui-amber-500);
  --ui-color-600: var(--ui-amber-600);
  --ui-color-700: var(--ui-amber-700);
  --ui-color-800: var(--ui-amber-800);
  --ui-color-900: var(--ui-amber-900);
  --ui-color-950: var(--ui-amber-950);
}

/* library/colors/yellow.css */
/* Yellow color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 40%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-yellow-50: oklch(98.7% calc(0.026 * (0.4 + 0.6 * var(--ui-chroma))) 102.212);
  --ui-yellow-100: oklch(97.3% calc(0.071 * (0.4 + 0.6 * var(--ui-chroma))) 103.193);
  --ui-yellow-200: oklch(94.5% calc(0.129 * (0.4 + 0.6 * var(--ui-chroma))) 101.54);
  --ui-yellow-300: oklch(90.5% calc(0.182 * (0.4 + 0.6 * var(--ui-chroma))) 98.111);
  --ui-yellow-400: oklch(85.2% calc(0.199 * (0.4 + 0.6 * var(--ui-chroma))) 91.936);
  --ui-yellow-500: oklch(79.5% calc(0.184 * (0.4 + 0.6 * var(--ui-chroma))) 86.047);
  --ui-yellow-600: oklch(68.1% calc(0.162 * (0.4 + 0.6 * var(--ui-chroma))) 75.834);
  --ui-yellow-700: oklch(55.4% calc(0.135 * (0.4 + 0.6 * var(--ui-chroma))) 66.442);
  --ui-yellow-800: oklch(47.6% calc(0.114 * (0.4 + 0.6 * var(--ui-chroma))) 61.907);
  --ui-yellow-900: oklch(42.1% calc(0.095 * (0.4 + 0.6 * var(--ui-chroma))) 57.708);
  --ui-yellow-950: oklch(28.6% calc(0.066 * (0.4 + 0.6 * var(--ui-chroma))) 53.813);
}

:where([ui-color="yellow"]) {
  --ui-color-50: var(--ui-yellow-50);
  --ui-color-100: var(--ui-yellow-100);
  --ui-color-200: var(--ui-yellow-200);
  --ui-color-300: var(--ui-yellow-300);
  --ui-color-400: var(--ui-yellow-400);
  --ui-color-500: var(--ui-yellow-500);
  --ui-color-600: var(--ui-yellow-600);
  --ui-color-700: var(--ui-yellow-700);
  --ui-color-800: var(--ui-yellow-800);
  --ui-color-900: var(--ui-yellow-900);
  --ui-color-950: var(--ui-yellow-950);
}

/* library/colors/lime.css */
/* Lime color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 28%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-lime-50: oklch(98.6% calc(0.031 * (0.28 + 0.72 * var(--ui-chroma))) 120.757);
  --ui-lime-100: oklch(96.7% calc(0.067 * (0.28 + 0.72 * var(--ui-chroma))) 122.328);
  --ui-lime-200: oklch(93.8% calc(0.127 * (0.28 + 0.72 * var(--ui-chroma))) 124.321);
  --ui-lime-300: oklch(89.7% calc(0.196 * (0.28 + 0.72 * var(--ui-chroma))) 126.665);
  --ui-lime-400: oklch(84.1% calc(0.238 * (0.28 + 0.72 * var(--ui-chroma))) 128.85);
  --ui-lime-500: oklch(76.8% calc(0.233 * (0.28 + 0.72 * var(--ui-chroma))) 130.85);
  --ui-lime-600: oklch(64.8% calc(0.2 * (0.28 + 0.72 * var(--ui-chroma))) 131.684);
  --ui-lime-700: oklch(53.2% calc(0.157 * (0.28 + 0.72 * var(--ui-chroma))) 131.589);
  --ui-lime-800: oklch(45.3% calc(0.124 * (0.28 + 0.72 * var(--ui-chroma))) 130.933);
  --ui-lime-900: oklch(40.5% calc(0.101 * (0.28 + 0.72 * var(--ui-chroma))) 131.063);
  --ui-lime-950: oklch(27.4% calc(0.072 * (0.28 + 0.72 * var(--ui-chroma))) 132.109);
}

:where([ui-color="lime"]) {
  --ui-color-50: var(--ui-lime-50);
  --ui-color-100: var(--ui-lime-100);
  --ui-color-200: var(--ui-lime-200);
  --ui-color-300: var(--ui-lime-300);
  --ui-color-400: var(--ui-lime-400);
  --ui-color-500: var(--ui-lime-500);
  --ui-color-600: var(--ui-lime-600);
  --ui-color-700: var(--ui-lime-700);
  --ui-color-800: var(--ui-lime-800);
  --ui-color-900: var(--ui-lime-900);
  --ui-color-950: var(--ui-lime-950);
}

/* library/colors/green.css */
/* Green color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 20%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-green-50: oklch(98.2% calc(0.018 * (0.2 + 0.8 * var(--ui-chroma))) 155.826);
  --ui-green-100: oklch(96.2% calc(0.044 * (0.2 + 0.8 * var(--ui-chroma))) 156.743);
  --ui-green-200: oklch(92.5% calc(0.084 * (0.2 + 0.8 * var(--ui-chroma))) 155.995);
  --ui-green-300: oklch(87.1% calc(0.15 * (0.2 + 0.8 * var(--ui-chroma))) 154.449);
  --ui-green-400: oklch(79.2% calc(0.209 * (0.2 + 0.8 * var(--ui-chroma))) 151.711);
  --ui-green-500: oklch(72.3% calc(0.219 * (0.2 + 0.8 * var(--ui-chroma))) 149.579);
  --ui-green-600: oklch(62.7% calc(0.194 * (0.2 + 0.8 * var(--ui-chroma))) 149.214);
  --ui-green-700: oklch(52.7% calc(0.154 * (0.2 + 0.8 * var(--ui-chroma))) 150.069);
  --ui-green-800: oklch(44.8% calc(0.119 * (0.2 + 0.8 * var(--ui-chroma))) 151.328);
  --ui-green-900: oklch(39.3% calc(0.095 * (0.2 + 0.8 * var(--ui-chroma))) 152.535);
  --ui-green-950: oklch(26.6% calc(0.065 * (0.2 + 0.8 * var(--ui-chroma))) 152.934);
}

:where([ui-color="green"]) {
  --ui-color-50: var(--ui-green-50);
  --ui-color-100: var(--ui-green-100);
  --ui-color-200: var(--ui-green-200);
  --ui-color-300: var(--ui-green-300);
  --ui-color-400: var(--ui-green-400);
  --ui-color-500: var(--ui-green-500);
  --ui-color-600: var(--ui-green-600);
  --ui-color-700: var(--ui-green-700);
  --ui-color-800: var(--ui-green-800);
  --ui-color-900: var(--ui-green-900);
  --ui-color-950: var(--ui-green-950);
}

/* library/colors/emerald.css */
/* Emerald color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 20%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-emerald-50: oklch(97.9% calc(0.021 * (0.2 + 0.8 * var(--ui-chroma))) 166.113);
  --ui-emerald-100: oklch(95% calc(0.052 * (0.2 + 0.8 * var(--ui-chroma))) 163.051);
  --ui-emerald-200: oklch(90.5% calc(0.093 * (0.2 + 0.8 * var(--ui-chroma))) 164.15);
  --ui-emerald-300: oklch(84.5% calc(0.143 * (0.2 + 0.8 * var(--ui-chroma))) 164.978);
  --ui-emerald-400: oklch(76.5% calc(0.177 * (0.2 + 0.8 * var(--ui-chroma))) 163.223);
  --ui-emerald-500: oklch(69.6% calc(0.17 * (0.2 + 0.8 * var(--ui-chroma))) 162.48);
  --ui-emerald-600: oklch(59.6% calc(0.145 * (0.2 + 0.8 * var(--ui-chroma))) 163.225);
  --ui-emerald-700: oklch(50.8% calc(0.118 * (0.2 + 0.8 * var(--ui-chroma))) 165.612);
  --ui-emerald-800: oklch(43.2% calc(0.095 * (0.2 + 0.8 * var(--ui-chroma))) 166.913);
  --ui-emerald-900: oklch(37.8% calc(0.077 * (0.2 + 0.8 * var(--ui-chroma))) 168.94);
  --ui-emerald-950: oklch(26.2% calc(0.051 * (0.2 + 0.8 * var(--ui-chroma))) 172.552);
}

:where([ui-color="emerald"]) {
  --ui-color-50: var(--ui-emerald-50);
  --ui-color-100: var(--ui-emerald-100);
  --ui-color-200: var(--ui-emerald-200);
  --ui-color-300: var(--ui-emerald-300);
  --ui-color-400: var(--ui-emerald-400);
  --ui-color-500: var(--ui-emerald-500);
  --ui-color-600: var(--ui-emerald-600);
  --ui-color-700: var(--ui-emerald-700);
  --ui-color-800: var(--ui-emerald-800);
  --ui-color-900: var(--ui-emerald-900);
  --ui-color-950: var(--ui-emerald-950);
}

/* library/colors/teal.css */
/* Teal color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 20%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-teal-50: oklch(98.4% calc(0.014 * (0.2 + 0.8 * var(--ui-chroma))) 180.72);
  --ui-teal-100: oklch(95.3% calc(0.051 * (0.2 + 0.8 * var(--ui-chroma))) 180.801);
  --ui-teal-200: oklch(91% calc(0.096 * (0.2 + 0.8 * var(--ui-chroma))) 180.426);
  --ui-teal-300: oklch(85.5% calc(0.138 * (0.2 + 0.8 * var(--ui-chroma))) 181.071);
  --ui-teal-400: oklch(77.7% calc(0.152 * (0.2 + 0.8 * var(--ui-chroma))) 181.912);
  --ui-teal-500: oklch(70.4% calc(0.14 * (0.2 + 0.8 * var(--ui-chroma))) 182.503);
  --ui-teal-600: oklch(60% calc(0.118 * (0.2 + 0.8 * var(--ui-chroma))) 184.704);
  --ui-teal-700: oklch(51.1% calc(0.096 * (0.2 + 0.8 * var(--ui-chroma))) 186.391);
  --ui-teal-800: oklch(43.7% calc(0.078 * (0.2 + 0.8 * var(--ui-chroma))) 188.216);
  --ui-teal-900: oklch(38.6% calc(0.063 * (0.2 + 0.8 * var(--ui-chroma))) 188.416);
  --ui-teal-950: oklch(27.7% calc(0.046 * (0.2 + 0.8 * var(--ui-chroma))) 192.524);
}

:where([ui-color="teal"]) {
  --ui-color-50: var(--ui-teal-50);
  --ui-color-100: var(--ui-teal-100);
  --ui-color-200: var(--ui-teal-200);
  --ui-color-300: var(--ui-teal-300);
  --ui-color-400: var(--ui-teal-400);
  --ui-color-500: var(--ui-teal-500);
  --ui-color-600: var(--ui-teal-600);
  --ui-color-700: var(--ui-teal-700);
  --ui-color-800: var(--ui-teal-800);
  --ui-color-900: var(--ui-teal-900);
  --ui-color-950: var(--ui-teal-950);
}

/* library/colors/cyan.css */
/* Cyan color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 20%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-cyan-50: oklch(98.4% calc(0.019 * (0.2 + 0.8 * var(--ui-chroma))) 200.873);
  --ui-cyan-100: oklch(95.6% calc(0.045 * (0.2 + 0.8 * var(--ui-chroma))) 203.388);
  --ui-cyan-200: oklch(91.7% calc(0.08 * (0.2 + 0.8 * var(--ui-chroma))) 205.041);
  --ui-cyan-300: oklch(86.5% calc(0.127 * (0.2 + 0.8 * var(--ui-chroma))) 207.078);
  --ui-cyan-400: oklch(78.9% calc(0.154 * (0.2 + 0.8 * var(--ui-chroma))) 211.53);
  --ui-cyan-500: oklch(71.5% calc(0.143 * (0.2 + 0.8 * var(--ui-chroma))) 215.221);
  --ui-cyan-600: oklch(60.9% calc(0.126 * (0.2 + 0.8 * var(--ui-chroma))) 221.723);
  --ui-cyan-700: oklch(52% calc(0.105 * (0.2 + 0.8 * var(--ui-chroma))) 223.128);
  --ui-cyan-800: oklch(45% calc(0.085 * (0.2 + 0.8 * var(--ui-chroma))) 224.283);
  --ui-cyan-900: oklch(39.8% calc(0.07 * (0.2 + 0.8 * var(--ui-chroma))) 227.392);
  --ui-cyan-950: oklch(30.2% calc(0.056 * (0.2 + 0.8 * var(--ui-chroma))) 229.695);
}

:where([ui-color="cyan"]) {
  --ui-color-50: var(--ui-cyan-50);
  --ui-color-100: var(--ui-cyan-100);
  --ui-color-200: var(--ui-cyan-200);
  --ui-color-300: var(--ui-cyan-300);
  --ui-color-400: var(--ui-cyan-400);
  --ui-color-500: var(--ui-cyan-500);
  --ui-color-600: var(--ui-cyan-600);
  --ui-color-700: var(--ui-cyan-700);
  --ui-color-800: var(--ui-cyan-800);
  --ui-color-900: var(--ui-cyan-900);
  --ui-color-950: var(--ui-cyan-950);
}

/* library/colors/sky.css */
/* Sky color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 20%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-sky-50: oklch(97.7% calc(0.013 * (0.2 + 0.8 * var(--ui-chroma))) 236.62);
  --ui-sky-100: oklch(95.1% calc(0.026 * (0.2 + 0.8 * var(--ui-chroma))) 236.824);
  --ui-sky-200: oklch(90.1% calc(0.058 * (0.2 + 0.8 * var(--ui-chroma))) 230.902);
  --ui-sky-300: oklch(82.8% calc(0.111 * (0.2 + 0.8 * var(--ui-chroma))) 230.318);
  --ui-sky-400: oklch(74.6% calc(0.16 * (0.2 + 0.8 * var(--ui-chroma))) 232.661);
  --ui-sky-500: oklch(68.5% calc(0.169 * (0.2 + 0.8 * var(--ui-chroma))) 237.323);
  --ui-sky-600: oklch(58.8% calc(0.158 * (0.2 + 0.8 * var(--ui-chroma))) 241.966);
  --ui-sky-700: oklch(50% calc(0.134 * (0.2 + 0.8 * var(--ui-chroma))) 242.749);
  --ui-sky-800: oklch(44.3% calc(0.11 * (0.2 + 0.8 * var(--ui-chroma))) 240.79);
  --ui-sky-900: oklch(39.1% calc(0.09 * (0.2 + 0.8 * var(--ui-chroma))) 240.876);
  --ui-sky-950: oklch(29.3% calc(0.066 * (0.2 + 0.8 * var(--ui-chroma))) 243.157);
}

:where([ui-color="sky"]) {
  --ui-color-50: var(--ui-sky-50);
  --ui-color-100: var(--ui-sky-100);
  --ui-color-200: var(--ui-sky-200);
  --ui-color-300: var(--ui-sky-300);
  --ui-color-400: var(--ui-sky-400);
  --ui-color-500: var(--ui-sky-500);
  --ui-color-600: var(--ui-sky-600);
  --ui-color-700: var(--ui-sky-700);
  --ui-color-800: var(--ui-sky-800);
  --ui-color-900: var(--ui-sky-900);
  --ui-color-950: var(--ui-sky-950);
}

/* library/colors/blue.css */
/* Blue color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 15%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-blue-50: oklch(97% calc(0.014 * (0.15 + 0.85 * var(--ui-chroma))) 254.604);
  --ui-blue-100: oklch(93.2% calc(0.032 * (0.15 + 0.85 * var(--ui-chroma))) 255.585);
  --ui-blue-200: oklch(88.2% calc(0.059 * (0.15 + 0.85 * var(--ui-chroma))) 254.128);
  --ui-blue-300: oklch(80.9% calc(0.105 * (0.15 + 0.85 * var(--ui-chroma))) 251.813);
  --ui-blue-400: oklch(70.7% calc(0.165 * (0.15 + 0.85 * var(--ui-chroma))) 254.624);
  --ui-blue-500: oklch(62.3% calc(0.214 * (0.15 + 0.85 * var(--ui-chroma))) 259.815);
  --ui-blue-600: oklch(54.6% calc(0.245 * (0.15 + 0.85 * var(--ui-chroma))) 262.881);
  --ui-blue-700: oklch(48.8% calc(0.243 * (0.15 + 0.85 * var(--ui-chroma))) 264.376);
  --ui-blue-800: oklch(42.4% calc(0.199 * (0.15 + 0.85 * var(--ui-chroma))) 265.638);
  --ui-blue-900: oklch(37.9% calc(0.146 * (0.15 + 0.85 * var(--ui-chroma))) 265.522);
  --ui-blue-950: oklch(28.2% calc(0.091 * (0.15 + 0.85 * var(--ui-chroma))) 267.935);
}

:where([ui-color="blue"]) {
  --ui-color-50: var(--ui-blue-50);
  --ui-color-100: var(--ui-blue-100);
  --ui-color-200: var(--ui-blue-200);
  --ui-color-300: var(--ui-blue-300);
  --ui-color-400: var(--ui-blue-400);
  --ui-color-500: var(--ui-blue-500);
  --ui-color-600: var(--ui-blue-600);
  --ui-color-700: var(--ui-blue-700);
  --ui-color-800: var(--ui-blue-800);
  --ui-color-900: var(--ui-blue-900);
  --ui-color-950: var(--ui-blue-950);
}

/* library/colors/indigo.css */
/* Indigo color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 15%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-indigo-50: oklch(96.2% calc(0.018 * (0.15 + 0.85 * var(--ui-chroma))) 272.314);
  --ui-indigo-100: oklch(93% calc(0.034 * (0.15 + 0.85 * var(--ui-chroma))) 272.788);
  --ui-indigo-200: oklch(87% calc(0.065 * (0.15 + 0.85 * var(--ui-chroma))) 274.039);
  --ui-indigo-300: oklch(78.5% calc(0.115 * (0.15 + 0.85 * var(--ui-chroma))) 274.713);
  --ui-indigo-400: oklch(67.3% calc(0.182 * (0.15 + 0.85 * var(--ui-chroma))) 276.935);
  --ui-indigo-500: oklch(58.5% calc(0.233 * (0.15 + 0.85 * var(--ui-chroma))) 277.117);
  --ui-indigo-600: oklch(51.1% calc(0.262 * (0.15 + 0.85 * var(--ui-chroma))) 276.966);
  --ui-indigo-700: oklch(45.7% calc(0.24 * (0.15 + 0.85 * var(--ui-chroma))) 277.023);
  --ui-indigo-800: oklch(39.8% calc(0.195 * (0.15 + 0.85 * var(--ui-chroma))) 277.366);
  --ui-indigo-900: oklch(35.9% calc(0.144 * (0.15 + 0.85 * var(--ui-chroma))) 278.697);
  --ui-indigo-950: oklch(25.7% calc(0.09 * (0.15 + 0.85 * var(--ui-chroma))) 281.288);
}

:where([ui-color="indigo"]) {
  --ui-color-50: var(--ui-indigo-50);
  --ui-color-100: var(--ui-indigo-100);
  --ui-color-200: var(--ui-indigo-200);
  --ui-color-300: var(--ui-indigo-300);
  --ui-color-400: var(--ui-indigo-400);
  --ui-color-500: var(--ui-indigo-500);
  --ui-color-600: var(--ui-indigo-600);
  --ui-color-700: var(--ui-indigo-700);
  --ui-color-800: var(--ui-indigo-800);
  --ui-color-900: var(--ui-indigo-900);
  --ui-color-950: var(--ui-indigo-950);
}

/* library/colors/violet.css */
/* Violet color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 15%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-violet-50: oklch(96.9% calc(0.016 * (0.15 + 0.85 * var(--ui-chroma))) 293.756);
  --ui-violet-100: oklch(94.3% calc(0.029 * (0.15 + 0.85 * var(--ui-chroma))) 294.588);
  --ui-violet-200: oklch(89.4% calc(0.057 * (0.15 + 0.85 * var(--ui-chroma))) 293.283);
  --ui-violet-300: oklch(81.1% calc(0.111 * (0.15 + 0.85 * var(--ui-chroma))) 293.571);
  --ui-violet-400: oklch(70.2% calc(0.183 * (0.15 + 0.85 * var(--ui-chroma))) 293.541);
  --ui-violet-500: oklch(60.6% calc(0.25 * (0.15 + 0.85 * var(--ui-chroma))) 292.717);
  --ui-violet-600: oklch(54.1% calc(0.281 * (0.15 + 0.85 * var(--ui-chroma))) 293.009);
  --ui-violet-700: oklch(49.1% calc(0.27 * (0.15 + 0.85 * var(--ui-chroma))) 292.581);
  --ui-violet-800: oklch(43.2% calc(0.232 * (0.15 + 0.85 * var(--ui-chroma))) 292.759);
  --ui-violet-900: oklch(38% calc(0.189 * (0.15 + 0.85 * var(--ui-chroma))) 293.745);
  --ui-violet-950: oklch(28.3% calc(0.141 * (0.15 + 0.85 * var(--ui-chroma))) 291.089);
}

:where([ui-color="violet"]) {
  --ui-color-50: var(--ui-violet-50);
  --ui-color-100: var(--ui-violet-100);
  --ui-color-200: var(--ui-violet-200);
  --ui-color-300: var(--ui-violet-300);
  --ui-color-400: var(--ui-violet-400);
  --ui-color-500: var(--ui-violet-500);
  --ui-color-600: var(--ui-violet-600);
  --ui-color-700: var(--ui-violet-700);
  --ui-color-800: var(--ui-violet-800);
  --ui-color-900: var(--ui-violet-900);
  --ui-color-950: var(--ui-violet-950);
}

/* library/colors/purple.css */
/* Purple color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 15%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-purple-50: oklch(97.7% calc(0.014 * (0.15 + 0.85 * var(--ui-chroma))) 308.299);
  --ui-purple-100: oklch(94.6% calc(0.033 * (0.15 + 0.85 * var(--ui-chroma))) 307.174);
  --ui-purple-200: oklch(90.2% calc(0.063 * (0.15 + 0.85 * var(--ui-chroma))) 306.703);
  --ui-purple-300: oklch(82.7% calc(0.119 * (0.15 + 0.85 * var(--ui-chroma))) 306.383);
  --ui-purple-400: oklch(71.4% calc(0.203 * (0.15 + 0.85 * var(--ui-chroma))) 305.504);
  --ui-purple-500: oklch(62.7% calc(0.265 * (0.15 + 0.85 * var(--ui-chroma))) 303.9);
  --ui-purple-600: oklch(55.8% calc(0.288 * (0.15 + 0.85 * var(--ui-chroma))) 302.321);
  --ui-purple-700: oklch(49.6% calc(0.265 * (0.15 + 0.85 * var(--ui-chroma))) 301.924);
  --ui-purple-800: oklch(43.8% calc(0.218 * (0.15 + 0.85 * var(--ui-chroma))) 303.724);
  --ui-purple-900: oklch(38.1% calc(0.176 * (0.15 + 0.85 * var(--ui-chroma))) 304.987);
  --ui-purple-950: oklch(29.1% calc(0.149 * (0.15 + 0.85 * var(--ui-chroma))) 302.717);
}

:where([ui-color="purple"]) {
  --ui-color-50: var(--ui-purple-50);
  --ui-color-100: var(--ui-purple-100);
  --ui-color-200: var(--ui-purple-200);
  --ui-color-300: var(--ui-purple-300);
  --ui-color-400: var(--ui-purple-400);
  --ui-color-500: var(--ui-purple-500);
  --ui-color-600: var(--ui-purple-600);
  --ui-color-700: var(--ui-purple-700);
  --ui-color-800: var(--ui-purple-800);
  --ui-color-900: var(--ui-purple-900);
  --ui-color-950: var(--ui-purple-950);
}

/* library/colors/fuchsia.css */
/* Fuchsia color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 18%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-fuchsia-50: oklch(97.7% calc(0.017 * (0.18 + 0.82 * var(--ui-chroma))) 320.058);
  --ui-fuchsia-100: oklch(95.2% calc(0.037 * (0.18 + 0.82 * var(--ui-chroma))) 318.852);
  --ui-fuchsia-200: oklch(90.3% calc(0.076 * (0.18 + 0.82 * var(--ui-chroma))) 319.62);
  --ui-fuchsia-300: oklch(83.3% calc(0.145 * (0.18 + 0.82 * var(--ui-chroma))) 321.434);
  --ui-fuchsia-400: oklch(74% calc(0.238 * (0.18 + 0.82 * var(--ui-chroma))) 322.16);
  --ui-fuchsia-500: oklch(66.7% calc(0.295 * (0.18 + 0.82 * var(--ui-chroma))) 322.15);
  --ui-fuchsia-600: oklch(59.1% calc(0.293 * (0.18 + 0.82 * var(--ui-chroma))) 322.896);
  --ui-fuchsia-700: oklch(51.8% calc(0.253 * (0.18 + 0.82 * var(--ui-chroma))) 323.949);
  --ui-fuchsia-800: oklch(45.2% calc(0.211 * (0.18 + 0.82 * var(--ui-chroma))) 324.591);
  --ui-fuchsia-900: oklch(40.1% calc(0.17 * (0.18 + 0.82 * var(--ui-chroma))) 325.612);
  --ui-fuchsia-950: oklch(29.3% calc(0.136 * (0.18 + 0.82 * var(--ui-chroma))) 325.661);
}

:where([ui-color="fuchsia"]) {
  --ui-color-50: var(--ui-fuchsia-50);
  --ui-color-100: var(--ui-fuchsia-100);
  --ui-color-200: var(--ui-fuchsia-200);
  --ui-color-300: var(--ui-fuchsia-300);
  --ui-color-400: var(--ui-fuchsia-400);
  --ui-color-500: var(--ui-fuchsia-500);
  --ui-color-600: var(--ui-fuchsia-600);
  --ui-color-700: var(--ui-fuchsia-700);
  --ui-color-800: var(--ui-fuchsia-800);
  --ui-color-900: var(--ui-fuchsia-900);
  --ui-color-950: var(--ui-fuchsia-950);
}

/* library/colors/pink.css */
/* Pink color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 18%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-pink-50: oklch(97.1% calc(0.014 * (0.18 + 0.82 * var(--ui-chroma))) 343.198);
  --ui-pink-100: oklch(94.8% calc(0.028 * (0.18 + 0.82 * var(--ui-chroma))) 342.258);
  --ui-pink-200: oklch(89.9% calc(0.061 * (0.18 + 0.82 * var(--ui-chroma))) 343.231);
  --ui-pink-300: oklch(82.3% calc(0.12 * (0.18 + 0.82 * var(--ui-chroma))) 346.018);
  --ui-pink-400: oklch(71.8% calc(0.202 * (0.18 + 0.82 * var(--ui-chroma))) 349.761);
  --ui-pink-500: oklch(65.6% calc(0.241 * (0.18 + 0.82 * var(--ui-chroma))) 354.308);
  --ui-pink-600: oklch(59.2% calc(0.249 * (0.18 + 0.82 * var(--ui-chroma))) 0.584);
  --ui-pink-700: oklch(52.5% calc(0.223 * (0.18 + 0.82 * var(--ui-chroma))) 3.958);
  --ui-pink-800: oklch(45.9% calc(0.187 * (0.18 + 0.82 * var(--ui-chroma))) 3.815);
  --ui-pink-900: oklch(40.8% calc(0.153 * (0.18 + 0.82 * var(--ui-chroma))) 2.432);
  --ui-pink-950: oklch(28.4% calc(0.109 * (0.18 + 0.82 * var(--ui-chroma))) 3.907);
}

:where([ui-color="pink"]) {
  --ui-color-50: var(--ui-pink-50);
  --ui-color-100: var(--ui-pink-100);
  --ui-color-200: var(--ui-pink-200);
  --ui-color-300: var(--ui-pink-300);
  --ui-color-400: var(--ui-pink-400);
  --ui-color-500: var(--ui-pink-500);
  --ui-color-600: var(--ui-pink-600);
  --ui-color-700: var(--ui-pink-700);
  --ui-color-800: var(--ui-pink-800);
  --ui-color-900: var(--ui-pink-900);
  --ui-color-950: var(--ui-pink-950);
}

/* library/colors/rose.css */
/* Rose color scale from Tailwind CSS. ui-chroma="100" keeps its chroma; ui-chroma="0" lowers it to 18%. */
:where(:root, [ui-chroma], [ui-theme]) {
  --ui-rose-50: oklch(96.9% calc(0.015 * (0.18 + 0.82 * var(--ui-chroma))) 12.422);
  --ui-rose-100: oklch(94.1% calc(0.03 * (0.18 + 0.82 * var(--ui-chroma))) 12.58);
  --ui-rose-200: oklch(89.2% calc(0.058 * (0.18 + 0.82 * var(--ui-chroma))) 10.001);
  --ui-rose-300: oklch(81% calc(0.117 * (0.18 + 0.82 * var(--ui-chroma))) 11.638);
  --ui-rose-400: oklch(71.2% calc(0.194 * (0.18 + 0.82 * var(--ui-chroma))) 13.428);
  --ui-rose-500: oklch(64.5% calc(0.246 * (0.18 + 0.82 * var(--ui-chroma))) 16.439);
  --ui-rose-600: oklch(58.6% calc(0.253 * (0.18 + 0.82 * var(--ui-chroma))) 17.585);
  --ui-rose-700: oklch(51.4% calc(0.222 * (0.18 + 0.82 * var(--ui-chroma))) 16.935);
  --ui-rose-800: oklch(45.5% calc(0.188 * (0.18 + 0.82 * var(--ui-chroma))) 13.697);
  --ui-rose-900: oklch(41% calc(0.159 * (0.18 + 0.82 * var(--ui-chroma))) 10.272);
  --ui-rose-950: oklch(27.1% calc(0.105 * (0.18 + 0.82 * var(--ui-chroma))) 12.094);
}

:where([ui-color="rose"]) {
  --ui-color-50: var(--ui-rose-50);
  --ui-color-100: var(--ui-rose-100);
  --ui-color-200: var(--ui-rose-200);
  --ui-color-300: var(--ui-rose-300);
  --ui-color-400: var(--ui-rose-400);
  --ui-color-500: var(--ui-rose-500);
  --ui-color-600: var(--ui-rose-600);
  --ui-color-700: var(--ui-rose-700);
  --ui-color-800: var(--ui-rose-800);
  --ui-color-900: var(--ui-rose-900);
  --ui-color-950: var(--ui-rose-950);
}

/* library/colors/slate.css */
/* Slate gray scale from Tailwind CSS. ui-chroma does not change it. */
:root {
  --ui-slate-50: oklch(98.4% 0.003 247.858);
  --ui-slate-100: oklch(96.8% 0.007 247.896);
  --ui-slate-200: oklch(92.9% 0.013 255.508);
  --ui-slate-300: oklch(86.9% 0.022 252.894);
  --ui-slate-400: oklch(70.4% 0.04 256.788);
  --ui-slate-500: oklch(55.4% 0.046 257.417);
  --ui-slate-600: oklch(44.6% 0.043 257.281);
  --ui-slate-700: oklch(37.2% 0.044 257.287);
  --ui-slate-800: oklch(27.9% 0.041 260.031);
  --ui-slate-900: oklch(20.8% 0.042 265.755);
  --ui-slate-950: oklch(12.9% 0.042 264.695);
}

:where([ui-color="slate"]) {
  --ui-color-50: var(--ui-slate-50);
  --ui-color-100: var(--ui-slate-100);
  --ui-color-200: var(--ui-slate-200);
  --ui-color-300: var(--ui-slate-300);
  --ui-color-400: var(--ui-slate-400);
  --ui-color-500: var(--ui-slate-500);
  --ui-color-600: var(--ui-slate-600);
  --ui-color-700: var(--ui-slate-700);
  --ui-color-800: var(--ui-slate-800);
  --ui-color-900: var(--ui-slate-900);
  --ui-color-950: var(--ui-slate-950);
}

/* library/colors/gray.css */
/* Gray gray scale from Tailwind CSS. ui-chroma does not change it. */
:root {
  --ui-gray-50: oklch(98.5% 0.002 247.839);
  --ui-gray-100: oklch(96.7% 0.003 264.542);
  --ui-gray-200: oklch(92.8% 0.006 264.531);
  --ui-gray-300: oklch(87.2% 0.01 258.338);
  --ui-gray-400: oklch(70.7% 0.022 261.325);
  --ui-gray-500: oklch(55.1% 0.027 264.364);
  --ui-gray-600: oklch(44.6% 0.03 256.802);
  --ui-gray-700: oklch(37.3% 0.034 259.733);
  --ui-gray-800: oklch(27.8% 0.033 256.848);
  --ui-gray-900: oklch(21% 0.034 264.665);
  --ui-gray-950: oklch(13% 0.028 261.692);
}

:where([ui-color="gray"]) {
  --ui-color-50: var(--ui-gray-50);
  --ui-color-100: var(--ui-gray-100);
  --ui-color-200: var(--ui-gray-200);
  --ui-color-300: var(--ui-gray-300);
  --ui-color-400: var(--ui-gray-400);
  --ui-color-500: var(--ui-gray-500);
  --ui-color-600: var(--ui-gray-600);
  --ui-color-700: var(--ui-gray-700);
  --ui-color-800: var(--ui-gray-800);
  --ui-color-900: var(--ui-gray-900);
  --ui-color-950: var(--ui-gray-950);
}

/* library/colors/zinc.css */
/* Zinc gray scale from Tailwind CSS. ui-chroma does not change it. */
:root {
  --ui-zinc-50: oklch(98.5% 0 0);
  --ui-zinc-100: oklch(96.7% 0.001 286.375);
  --ui-zinc-200: oklch(92% 0.004 286.32);
  --ui-zinc-300: oklch(87.1% 0.006 286.286);
  --ui-zinc-400: oklch(70.5% 0.015 286.067);
  --ui-zinc-500: oklch(55.2% 0.016 285.938);
  --ui-zinc-600: oklch(44.2% 0.017 285.786);
  --ui-zinc-700: oklch(37% 0.013 285.805);
  --ui-zinc-800: oklch(27.4% 0.006 286.033);
  --ui-zinc-900: oklch(21% 0.006 285.885);
  --ui-zinc-950: oklch(14.1% 0.005 285.823);
}

:where([ui-color="zinc"]) {
  --ui-color-50: var(--ui-zinc-50);
  --ui-color-100: var(--ui-zinc-100);
  --ui-color-200: var(--ui-zinc-200);
  --ui-color-300: var(--ui-zinc-300);
  --ui-color-400: var(--ui-zinc-400);
  --ui-color-500: var(--ui-zinc-500);
  --ui-color-600: var(--ui-zinc-600);
  --ui-color-700: var(--ui-zinc-700);
  --ui-color-800: var(--ui-zinc-800);
  --ui-color-900: var(--ui-zinc-900);
  --ui-color-950: var(--ui-zinc-950);
}

/* library/colors/stone.css */
/* Stone gray scale from Tailwind CSS. ui-chroma does not change it. */
:root {
  --ui-stone-50: oklch(98.5% 0.001 106.423);
  --ui-stone-100: oklch(97% 0.001 106.424);
  --ui-stone-200: oklch(92.3% 0.003 48.717);
  --ui-stone-300: oklch(86.9% 0.005 56.366);
  --ui-stone-400: oklch(70.9% 0.01 56.259);
  --ui-stone-500: oklch(55.3% 0.013 58.071);
  --ui-stone-600: oklch(44.4% 0.011 73.639);
  --ui-stone-700: oklch(37.4% 0.01 67.558);
  --ui-stone-800: oklch(26.8% 0.007 34.298);
  --ui-stone-900: oklch(21.6% 0.006 56.043);
  --ui-stone-950: oklch(14.7% 0.004 49.25);
}

:where([ui-color="stone"]) {
  --ui-color-50: var(--ui-stone-50);
  --ui-color-100: var(--ui-stone-100);
  --ui-color-200: var(--ui-stone-200);
  --ui-color-300: var(--ui-stone-300);
  --ui-color-400: var(--ui-stone-400);
  --ui-color-500: var(--ui-stone-500);
  --ui-color-600: var(--ui-stone-600);
  --ui-color-700: var(--ui-stone-700);
  --ui-color-800: var(--ui-stone-800);
  --ui-color-900: var(--ui-stone-900);
  --ui-color-950: var(--ui-stone-950);
}


/* White, black and the default chroma rate for the hue scales; the ui-chroma attribute changes the rate for an element and its descendants. */
:where(:root) {
  --ui-chroma: 1;
  --ui-white: oklch(100% 0 0);
  --ui-black: oklch(0% 0 0);
}

}
@layer core {
/* library/reset.css */
/* Faunder UI reset, page surface and focus outline. */
:where(*, *::before, *::after) {
  box-sizing: border-box;
  margin: 0;
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

:where(*:not(h1, h2, h3, h4, h5, h6), [ui-off], *::before, *::after) {
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

/* Component display rules must not reveal content hidden by native HTML. */
:where([hidden]:not([hidden="until-found" i])) {
  display: none !important;
}

:where(body) {
  background: light-dark(var(--ui-white), var(--ui-black));
  color: light-dark(var(--ui-black), var(--ui-white));
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Focus outline for keyboard focus. */
:where(:focus-visible:not([ui-off])) {
  outline: 2px solid light-dark(var(--ui-black), var(--ui-white));
  outline-offset: 2px;
}

}
@layer core {
/* library/utilities/theme.css */

/* The root follows the system preference; a mode token changes the inherited color scheme. */
:where(:root, [ui-theme~="system"]) {
  color-scheme: light dark;
}

:where([ui-theme~="light"]) {
  color-scheme: light;
}

:where([ui-theme~="dark"]) {
  color-scheme: dark;
}

:where([ui-theme~="system-invert"]) {
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :where([ui-theme~="system-invert"]) {
    color-scheme: light;
  }
}

/* Each theme or mode boundary gets its surface and font; theme stylesheets replace them within their scope. */
:where([ui-theme]) {
  background: light-dark(var(--ui-white), var(--ui-black));
  color: light-dark(var(--ui-black), var(--ui-white));
  font-family: system-ui, sans-serif;
}

}
@layer core {
/* library/utilities/chroma.css */

/* ui-chroma sets the chroma rate that the color scales in colors/ and palette.css read. */
:where([ui-chroma="0"]) { --ui-chroma: 0; }
:where([ui-chroma="10"]) { --ui-chroma: 0.1; }
:where([ui-chroma="20"]) { --ui-chroma: 0.2; }
:where([ui-chroma="30"]) { --ui-chroma: 0.3; }
:where([ui-chroma="40"]) { --ui-chroma: 0.4; }
:where([ui-chroma="50"]) { --ui-chroma: 0.5; }
:where([ui-chroma="60"]) { --ui-chroma: 0.6; }
:where([ui-chroma="70"]) { --ui-chroma: 0.7; }
:where([ui-chroma="80"]) { --ui-chroma: 0.8; }
:where([ui-chroma="90"]) { --ui-chroma: 0.9; }
:where([ui-chroma="100"]) { --ui-chroma: 1; }

}
@layer core {
/* library/components/seperator.css */

/* Faunder UI separators: zinc colors with light/dark pairs. */
:where(hr:not([ui-off])) {
  border: none;
  background: light-dark(var(--ui-zinc-300), var(--ui-zinc-600));
  height: 1px;
}

:where([ui-seperator][role="separator"][aria-orientation="horizontal"]:not([ui-off])) {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 1.25rem;
  margin-block: -0.5rem;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;

  &::before, &::after {
    flex: 1 1 0;
    border-block-start: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 15%, transparent));
    content: "";
  }

  &:where(:not(:has(> span)))::after {
    display: none;
  }

  & > :where(span) {
    padding-inline: 0.5rem;
  }
}

:where([ui-seperator][role="separator"][aria-orientation="vertical"]:not([ui-off])) {
  align-self: stretch;
  flex: 0 0 1px;
  width: 1px;
  min-height: 1rem;
  margin-inline: 0.25rem;
  background: light-dark(var(--ui-zinc-300), var(--ui-zinc-600));
}

}
@layer core {
/* library/components/icon.css */



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  UI-ICON (mask-image based icons)
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* Nimetyt core-ikonit. */
:where([ui-icon~="spinner"]) {
  --ui-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22%23000000%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M136%2C32V64a8%2C8%2C0%2C0%2C1-16%2C0V32a8%2C8%2C0%2C0%2C1%2C16%2C0Zm37.25%2C58.75a8%2C8%2C0%2C0%2C0%2C5.66-2.35l22.63-22.62a8%2C8%2C0%2C0%2C0-11.32-11.32L167.6%2C77.09a8%2C8%2C0%2C0%2C0%2C5.65%2C13.66ZM224%2C120H192a8%2C8%2C0%2C0%2C0%2C0%2C16h32a8%2C8%2C0%2C0%2C0%2C0-16Zm-45.09%2C47.6a8%2C8%2C0%2C0%2C0-11.31%2C11.31l22.62%2C22.63a8%2C8%2C0%2C0%2C0%2C11.32-11.32ZM128%2C184a8%2C8%2C0%2C0%2C0-8%2C8v32a8%2C8%2C0%2C0%2C0%2C16%2C0V192A8%2C8%2C0%2C0%2C0%2C128%2C184ZM77.09%2C167.6%2C54.46%2C190.22a8%2C8%2C0%2C0%2C0%2C11.32%2C11.32L88.4%2C178.91A8%2C8%2C0%2C0%2C0%2C77.09%2C167.6ZM72%2C128a8%2C8%2C0%2C0%2C0-8-8H32a8%2C8%2C0%2C0%2C0%2C0%2C16H64A8%2C8%2C0%2C0%2C0%2C72%2C128ZM65.78%2C54.46A8%2C8%2C0%2C0%2C0%2C54.46%2C65.78L77.09%2C88.4A8%2C8%2C0%2C0%2C0%2C88.4%2C77.09Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
}
:where([ui-icon~="caret-down"]) {
  --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E");
}
:where([ui-icon~="checkmark"]) {
  --ui-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m20%206-11%2011-5-5%22%2F%3E%3C%2Fsvg%3E");
}
:where([ui-icon~="star"]) {
  --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M239.18,97.26A16.38,16.38,0,0,0,224.92,86l-59-4.76L143.14,26.15a16.36,16.36,0,0,0-30.27,0L90.11,81.23,31.08,86a16.46,16.46,0,0,0-9.37,28.86l45,38.83L53,211.75a16.38,16.38,0,0,0,24.5,17.82L128,198.49l50.53,31.08A16.4,16.4,0,0,0,203,211.75l-13.76-58.07,45-38.83A16.43,16.43,0,0,0,239.18,97.26Zm-15.34,5.47-48.7,42a8,8,0,0,0-2.56,7.91l14.88,62.8a.37.37,0,0,1-.17.48c-.18.14-.23.11-.38,0l-54.72-33.65a8,8,0,0,0-8.38,0L69.09,215.94c-.15.09-.19.12-.38,0a.37.37,0,0,1-.17-.48l14.88-62.8a8,8,0,0,0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16A8,8,0,0,0,103,91.86l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153,91.86a8,8,0,0,0,6.75,4.92l63.92,5.16c.15,0,.24,0,.33.29S224,102.63,223.84,102.73Z'%3E%3C/path%3E%3C/svg%3E");
}
:where([ui-icon~="x"]) {
  --ui-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z'%3E%3C/path%3E%3C/svg%3E");
}
:where(svg[ui-icon~="spinner"], img[ui-icon~="spinner"], span[ui-icon~="spinner"]) {
  animation: ui-loading 1s linear infinite;
}
:where(i[ui-icon~="spinner"]) {
  animation: ui-loading 1s linear infinite;
}
:where(i[ui-icon~="spinner"])::before {
  transform: rotate(0deg);
}
:where(button[ui-icon~="spinner"], a[ui-icon~="spinner"], [ui-button][ui-icon~="spinner"])::before {
  animation: ui-loading 1s linear infinite;
}

@keyframes ui-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

:where([ui-icon]) {
  /* <i ui-icon> – mask icon (empty, icon name in attribute) */
  &:where(i) {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    line-height: 0;
    vertical-align: middle;
    font-size: 20px;
    width: calc(1em + 2px);
    height: calc(1em + 2px);
    margin: -1px;
    padding: 1px;
    overflow: hidden;
    border-radius: 0.01px;
    &::before {
      position: absolute;
      inset: 1px;
      mask: var(--ui-icon, none) center / contain no-repeat;
      background-color: currentColor;
      box-shadow: 0 0 1px transparent;
      content: "";
    }
  }

  /* <svg ui-icon> */
  &:where(svg) {
    fill: currentColor;
    font-size: 20px;
    width: 1em;
    height: 1em;
  }

  /* <img ui-icon> */
  &:where(img) {
    font-size: 20px;
    width: 1em;
    height: 1em;
    object-fit: contain;
  }

  /* <span ui-icon> – text/emoji icon (element has content) */
  &:where(span) {
    font-size: 20px;
    width: 1em;
    height: 1em;
    line-height: 1;
  }

  /* Button; a ui-button select draws its icon with ::picker-icon in select.css. */
  &:where([ui-button]:not(select), button, input[type="button"], input[type="submit"], input[type="reset"]) {
    &::before {
      display: inline-block;
      flex-shrink: 0;
      box-sizing: content-box;
      padding: 1px;
      margin-inline: -1px;
      mask: var(--ui-icon, none) center / contain no-repeat;
      mask-origin: content-box;
      mask-clip: content-box;
      background-color: currentColor;
      box-shadow: 0 0 1px transparent;
      font-size: 16px;
      width: 1em;
      height: 1em;
      content: "";
    }

    &:where([ui-icon~="-"])::before {
      background-color: transparent;
    }

    &[ui-icon~="trailing"]::before {
      order: 1;
    }

  }

  /* Sizes: icon elements use font-size; buttons size the ::before icon so their text is unchanged. */
  &:where([ui-icon~="xs"]):where(i, svg, img, span),
  &:where([ui-icon~="xs"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 14px; }
  &:where([ui-icon~="sm"]):where(i, svg, img, span),
  &:where([ui-icon~="sm"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 18px; }
  &:where([ui-icon~="lg"]):where(i, svg, img, span),
  &:where([ui-icon~="lg"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 24px; }
  &:where([ui-icon~="xl"]):where(i, svg, img, span),
  &:where([ui-icon~="xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 32px; }
  &:where([ui-icon~="2xl"]):where(i, svg, img, span),
  &:where([ui-icon~="2xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 40px; }
  &:where([ui-icon~="3xl"]):where(i, svg, img, span),
  &:where([ui-icon~="3xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 48px; }
  &:where([ui-icon~="4xl"]):where(i, svg, img, span),
  &:where([ui-icon~="4xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 56px; }
  &:where([ui-icon~="5xl"]):where(i, svg, img, span),
  &:where([ui-icon~="5xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 64px; }
  &:where([ui-icon~="6xl"]):where(i, svg, img, span),
  &:where([ui-icon~="6xl"]):where([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"])::before { font-size: 80px; }

}

@media (prefers-reduced-motion: reduce) {
  :where(svg[ui-icon~="spinner"], img[ui-icon~="spinner"], span[ui-icon~="spinner"]) {
    animation: none;
  }
  :where(i[ui-icon~="spinner"]) { animation: none; }
  :where(button[ui-icon~="spinner"], a[ui-icon~="spinner"], [ui-button][ui-icon~="spinner"])::before {
    animation: none;
  }
}

}
@layer core {
/* library/utilities/inline.css */

/* Faunder UI inline elements: zinc colors with light/dark pairs. */
:where(strong:not([ui-off])), :where(b:not([ui-off])) {
  font-weight: 600;
}
:where(em:not([ui-off])), :where(i:not([ui-off])) {
  font-style: italic;
}
:where(small:not([ui-off])) {
  font-size: 0.875rem;
}
:where(mark:not([ui-off])) {
  background-color: light-dark(var(--ui-zinc-200), var(--ui-zinc-600));
  padding: 2px 4px;
}
:where(del:not([ui-off])), :where(s:not([ui-off])) {
  text-decoration: line-through;
}
:where(ins:not([ui-off])), :where(u:not([ui-off])) {
  text-decoration: underline;
}
:where(sub:not([ui-off])) {
  vertical-align: sub;
  font-size: 0.75em;
  line-height: 0;
}
:where(sup:not([ui-off])) {
  vertical-align: super;
  font-size: 0.75em;
  line-height: 0;
}
:where(abbr:not([ui-off])) {
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
}
:where(cite:not([ui-off])) {
  font-style: italic;
}
:where(samp:not([ui-off])) {
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
}
:where(var:not([ui-off])) {
  font-style: italic;
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
}

}
@layer core {
/* library/components/code.css */

/* Faunder UI code: muted code surfaces and CSS-only block composition. */
:where(code:not([ui-off]):not(pre > code), pre:not([ui-off]):has(> code)) {
  font-size: 0.875em;
  font-family: ui-monospace, monospace;
}

:where(code:not([ui-off]):not(pre > code)) {
  border-radius: 0.25rem;
  background-color: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-800), var(--ui-zinc-100));
  padding: 2px 6px;
}

:where(pre:not([ui-off]):has(> code)) {
  /* Never wider than its container, also as a flex item aligned to the start, so long lines scroll or wrap inside it. */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.625rem;
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-100) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-800) 50%, transparent)
  );
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;

  & > :where(code) {
    display: block;
  }

  &:where([ui-code-block~="scroll"]) {
    overflow: auto;
    white-space: pre;
    overflow-wrap: normal;
  }

  &:where([ui-code-block~="wrap"]) {
    overflow: hidden;
    white-space: pre-wrap;
    overflow-wrap: break-word;
  }
}

:where(pre[ui-code-block~="outline"]:not([ui-off]):has(> code)) {
  border: 1px solid light-dark(color-mix(in oklch, var(--ui-zinc-200) 78%, var(--ui-white) 22%), color-mix(in oklch, var(--ui-white) 10%, transparent));
}

/* A figure supplies an optional filename/header and footer around a code block. */
:where(figure[ui-code-block]) {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.625rem;
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-100) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-800) 50%, transparent)
  );
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
}

:where(figure[ui-code-block~="outline"]) {
  border: 1px solid light-dark(color-mix(in oklch, var(--ui-zinc-200) 78%, var(--ui-white) 22%), color-mix(in oklch, var(--ui-white) 10%, transparent));
}

:where(figure[ui-code-block] > figcaption) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-block-end: 1px solid light-dark(color-mix(in oklch, var(--ui-zinc-200) 78%, var(--ui-white) 22%), color-mix(in oklch, var(--ui-white) 10%, transparent));
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

:where(figure[ui-code-block] > figcaption label) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.75rem;
  font-weight: 400;
  cursor: pointer;
}

:where(figure[ui-code-block] > figcaption input[type="checkbox"]) {
  margin: 0;
}

:where(figure[ui-code-block] > pre:not([ui-off]):has(> code)) {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1rem;
}

:where(figure[ui-code-block] > pre:not([ui-off])[ui-code-block~="scroll"]) {
  overflow: auto;
  white-space: pre;
  overflow-wrap: normal;
}

:where(figure[ui-code-block] > pre:not([ui-off])[ui-code-block~="wrap"]) {
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

:where(figure[ui-code-block] > footer) {
  border-block-start: 1px solid light-dark(color-mix(in oklch, var(--ui-zinc-200) 78%, var(--ui-white) 22%), color-mix(in oklch, var(--ui-white) 10%, transparent));
  padding: 0.75rem 1rem;
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.75rem;
}

/* A checked native control wraps the block; an unchecked one scrolls it. */
:where(figure[ui-code-block]:has(> figcaption input[type="checkbox"]:checked) > pre:not([ui-off], [ui-code-block~="scroll"])) {
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

:where(figure[ui-code-block]:has(> figcaption input[type="checkbox"]:not(:checked)) > pre:not([ui-off], [ui-code-block~="wrap"])) {
  overflow: auto;
  white-space: pre;
  overflow-wrap: normal;
}

:where(figure[ui-code-block]:has(> figcaption input[type="checkbox"]:not(:checked)) > pre > code:not([ui-off])) {
  width: max-content;
  min-width: 100%;
}

/* Lines: one span, mark, ins or del per line inside code. */
:where(pre:is([ui-code-block~="numbers"], :has(> code > :is(mark, ins, del))):not([ui-off]) > code:not([ui-off])) {
  white-space: normal;
}

:where(pre:is([ui-code-block~="numbers"], :has(> code > :is(mark, ins, del))):not([ui-off]) > code:not([ui-off]) > :is(span:not(.token), mark, ins, del)) {
  position: relative;
  display: block;
  white-space: pre-wrap;
}

:where(pre:is([ui-code-block~="numbers"], :has(> code > :is(mark, ins, del))):not([ui-off])[ui-code-block~="scroll"] > code:not([ui-off]) > :is(span:not(.token), mark, ins, del)) {
  white-space: pre;
}

:where(pre:not([ui-off]) > code:not([ui-off]) > mark) {
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-500) 8%, transparent),
    color-mix(in oklch, var(--ui-zinc-400) 14%, transparent)
  );
  box-shadow: inset 2px 0 light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  color: inherit;
}

:where(pre:not([ui-off]) > code:not([ui-off]) > :is(ins, del)) {
  padding-inline-start: 1.5em;
  text-decoration: none;
}

:where(pre:not([ui-off]) > code:not([ui-off]) > ins) {
  background-color: light-dark(
    color-mix(in oklch, var(--ui-green-600) 9%, transparent),
    color-mix(in oklch, var(--ui-green-400) 14%, transparent)
  );
}

:where(pre:not([ui-off]) > code:not([ui-off]) > del) {
  background-color: light-dark(
    color-mix(in oklch, var(--ui-red-600) 8%, transparent),
    color-mix(in oklch, var(--ui-red-400) 14%, transparent)
  );
}

:where(pre:not([ui-off]) > code:not([ui-off]) > :is(ins, del))::after {
  position: absolute;
  inset-inline-start: 0;
  color: light-dark(var(--ui-green-700), var(--ui-green-400));
  content: "+";
}

:where(pre:not([ui-off]) > code:not([ui-off]) > del)::after {
  color: light-dark(var(--ui-red-600), var(--ui-red-400));
  content: "−";
}

/* Line numbers come from a CSS counter, so they are not copied with the code. */
:where(pre[ui-code-block~="numbers"]:not([ui-off]) > code:not([ui-off])) {
  counter-reset: code-line;
}

:where(pre[ui-code-block~="numbers"]:not([ui-off]) > code:not([ui-off]) > :is(span:not(.token), mark, ins, del)) {
  counter-increment: code-line;
  padding-inline-start: 4.25em;
}

:where(pre[ui-code-block~="numbers"]:not([ui-off]) > code:not([ui-off]) > :is(span:not(.token), mark, ins, del))::before {
  position: absolute;
  inset-inline-start: 0;
  width: 2.5em;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  text-align: end;
  user-select: none;
  content: counter(code-line);
}

:where(pre[ui-code-block~="numbers"]:not([ui-off]) > code:not([ui-off]) > :is(ins, del))::after {
  inset-inline-start: 3em;
}

/* Syntax colors for PrismJS token classes; tokenizing stays external. */
:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.keyword, .token.atrule, .token.important)) {
  color: light-dark(var(--ui-red-600), var(--ui-red-300));
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.string, .token.char, .token.attr-value, .token.url, .token.regex, .token.inserted)) {
  color: light-dark(var(--ui-green-700), var(--ui-green-300));
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.function, .token.class-name, .token.builtin)) {
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-weight: 600;
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.number, .token.boolean, .token.constant, .token.symbol)) {
  color: light-dark(var(--ui-amber-700), var(--ui-amber-300));
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.property, .token.tag, .token.attr-name, .token.selector, .token.variable)) {
  color: light-dark(var(--ui-blue-600), var(--ui-blue-300));
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.comment, .token.prolog, .token.doctype, .token.cdata)) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-style: italic;
}

:where(pre:not([ui-off]) > code:not([ui-off]) .token.deleted) {
  color: light-dark(var(--ui-red-600), var(--ui-red-400));
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.operator, .token.punctuation, .token.entity)) {
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-300));
}

:where(pre:not([ui-off]) > code:not([ui-off]) .token.url) {
  text-decoration: underline;
}

:where(pre:not([ui-off]) > code:not([ui-off]) .token.namespace) {
  opacity: 0.7;
}

:where(pre:not([ui-off]) > code:not([ui-off]) :is(.token.bold, .token.important)) {
  font-weight: 700;
}

:where(pre:not([ui-off]) > code:not([ui-off]) .token.italic) {
  font-style: italic;
}

}
@layer core {
/* library/components/kbd.css */

/* The native kbd element represents a key or key combination. */
:where(kbd:not([ui-off])) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  border-radius: 0.375rem;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  padding: 0.125rem 0.375rem;
  color: light-dark(var(--ui-zinc-800), var(--ui-zinc-100));
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  box-shadow: 0 1px 0 color-mix(in oklch, var(--ui-black) 8%, transparent);
}

}
@layer core {
/* library/components/link.css */

/* Faunder UI links: black/white light/dark color pairs. */
:where( a:not([ui-off]):not([ui-button]):not([ui-card]),
  [ui-link]:not([ui-off]):not([ui-button]):not([ui-card]) ) {
  color: light-dark(var(--ui-black), var(--ui-white));
  text-decoration: underline;
  &:where([ui-link~="inherit"]) {
    color: inherit;
  }
  &:where(:hover) {
    color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  }
  &:where(:active) {
    color: var(--ui-zinc-500);
  }
}

}
@layer core {
/* library/components/list.css */

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  LISTS
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

:where(ul:not([ui-off]), ol:not([ui-off])) {
  padding-inline-start: 40px;
}

:where(ul[ui-off], ol[ui-off]) {
  padding: 0;
  list-style: none;
}

}
@layer core {
/* library/components/input.css */

/* Faunder UI input: field styling with Faunder's attribute API. */
:where(:not([ui-button]):not([ui-off])):where(input:not([type]),
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="url"],
  input[type="tel"],
  input[type="search"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="month"],
  input[type="week"],
  input[type="time"],
  input[type="file"],
  input[list],
  textarea,
  select) {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 0.5rem;
  background: light-dark(transparent, color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  padding: 4px 10px;
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 color-mix(in oklch, var(--ui-black) 5%, transparent);
  transition: color 150ms, box-shadow 150ms;
  outline: none;

  &:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select) {
    height: 40px;
  }
  /* A size or cols attribute gives the control its native character width. */
  &:where(input[size], textarea[cols]) {
    width: fit-content;
  }
  &:where(textarea) {
    min-height: 4rem;
    padding-block: 8px;
    resize: none;
  }
  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }
  &:where(:user-invalid, [aria-invalid="true"]) {
    border-color: light-dark(
      var(--ui-red-600),
      var(--ui-red-400)
    );
    &:where(:focus-visible) {
      box-shadow: 0 0 0 3px light-dark(
        color-mix(in oklch, var(--ui-red-600) 20%, transparent),
        color-mix(in oklch, var(--ui-red-400) 40%, transparent)
      );
    }
  }
  &:where(:disabled) {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
  }
  &::placeholder {
    color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    opacity: 1;
  }
  &::file-selector-button {
    display: inline-flex;
    align-items: center;
    height: 24px;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25rem;
    cursor: pointer;
  }
}

/* Width tokens take precedence over the full width and a size attribute. */
:where(input[ui-input]:not([ui-off])) {
  &:where([ui-input~="sm-width"]) {
    width: 10rem;
  }
  &:where([ui-input~="md-width"]) {
    width: 16rem;
  }
  &:where([ui-input~="lg-width"]) {
    width: 24rem;
  }
  /* Grows with the text from the size width, plus 20px padding and 2px border. */
  &:where([ui-input~="auto-width"]) {
    width: fit-content;
    min-width: calc(attr(size type(<number>), 0) * 1ch + 22px);
    field-sizing: content;
  }
}

@supports (-webkit-touch-callout: none) {
  /* Avoid iOS WebKit's intrinsic sizing; the native picker still opens. */
  :where(
    input[type="date"]:not([ui-off]),
    input[type="datetime-local"]:not([ui-off]),
    input[type="month"]:not([ui-off]),
    input[type="week"]:not([ui-off]),
    input[type="time"]:not([ui-off])
  ) {
    -webkit-appearance: none;
    appearance: none;
  }
}

@media (min-width: 48rem) {
  :where(:not([ui-button]):not([ui-off])):where(input:not([type]),
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    input[type="time"],
    input[type="file"],
    input[list],
    textarea,
    select) {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(:not([ui-button]):not([ui-off])):where(input:not([type]),
    input[type="text"], input[type="email"], input[type="password"], input[type="number"],
    input[type="url"], input[type="tel"], input[type="search"], input[type="date"],
    input[type="datetime-local"], input[type="month"],
    input[type="week"], input[type="time"], input[type="file"], input[list], textarea, select) {
    transition: none;
  }
}

}
@layer core {
/* library/components/textarea.css */

/* On a textarea, ui-textarea only adds tokens; on another element it frames a textarea with optional header and footer content. */
:where([ui-textarea]:not(textarea)) {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 0.5rem;
  background: light-dark(transparent, color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  box-shadow: 0 1px 2px 0 color-mix(in oklch, var(--ui-black) 5%, transparent);
  transition: border-color 150ms, box-shadow 150ms, background-color 150ms;
}

:where([ui-textarea] > textarea) {
  flex: 1 1 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 4rem;
  margin: 0;
  padding: 0.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  outline: none;
  resize: none;
}

:where([ui-textarea] > textarea)::placeholder {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
}

:where([ui-textarea] > header, [ui-textarea] > footer) {
  flex: 0 0 auto;
  min-width: 0;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  user-select: none;
}

:where([ui-textarea]:has(> textarea:focus-visible)) {
  border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
  );
}

:where([ui-textarea]:has(> textarea:is(:user-invalid, [aria-invalid="true"]))) {
  border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
}

:where([ui-textarea]:has(> textarea:focus-visible:is(:user-invalid, [aria-invalid="true"]))) {
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-red-600) 20%, transparent),
    color-mix(in oklch, var(--ui-red-400) 40%, transparent)
  );
}

:where([ui-textarea]:has(> textarea:disabled)) {
  cursor: not-allowed;
}

/* A cols attribute sizes the frame unless the textarea grows with its content. */
:where([ui-textarea]:not([ui-textarea~="auto-height"]):has(> textarea[cols])) {
  width: fit-content;
}

/* Grows from the rows height plus block padding and border, ignoring cols. */
:where([ui-textarea~="auto-height"] > textarea) {
  min-height: max(4rem, calc(attr(rows type(<number>), 0) * 1lh + 1rem));
  field-sizing: content;
}

:where(textarea[ui-textarea~="auto-height"]:not([ui-off])) {
  width: 100%;
  min-height: max(4rem, calc(attr(rows type(<number>), 0) * 1lh + 18px));
  field-sizing: content;
}

:where([ui-textarea~="sm-width"]) {
  width: 10rem;
}

:where([ui-textarea~="md-width"]) {
  width: 16rem;
}

:where([ui-textarea~="lg-width"]) {
  width: 24rem;
}

:where([ui-textarea~="resize"], [ui-textarea~="resize-x"], [ui-textarea~="resize-y"]) {
  overflow: auto;
}

:where([ui-textarea~="resize"]) {
  resize: both;
}

:where([ui-textarea~="resize-x"]) {
  resize: horizontal;
}

:where([ui-textarea~="resize-y"]) {
  resize: vertical;
}

}
@layer core {
/* library/components/select.css */

/* Keep the browser's native arrow unless the customizable trigger is supported. */
:where(select:not([ui-button], [ui-off])) {
  appearance: auto;
  max-width: 100%;
  cursor: pointer;
  border-radius: 0.625rem;
  padding-block: 4px;
  padding-inline: 10px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
}

@supports (appearance: base-select) and selector(select::picker-icon) {
  :where(select:not([ui-button], [ui-off])) {
    appearance: base-select;
    align-items: center;
    gap: 8px;
  }

  :where(select:not([ui-button], [ui-off]))::picker-icon {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    margin-inline-start: auto;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='%23000000' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
    content: "";
  }

  :where(select[ui-icon]:not([ui-button], [ui-off]))::picker-icon {
    mask-image: var(--ui-icon, none);
  }
}

:where(select[ui-button]:not([ui-off], [ui-link], [ui-badge])) {
  appearance: none;
  max-width: 100%;
  text-align: center;
}

/* Selects do not render ::before, so the button's ui-icon uses ::picker-icon; without ui-icon there is no icon. */
@supports (appearance: base-select) and selector(select::picker-icon) {
  :where(select[ui-button]:not([ui-off], [ui-link], [ui-badge])) {
    appearance: base-select;
  }

  :where(select[ui-button]:not([ui-off], [ui-link], [ui-badge]))::picker-icon {
    display: none;
  }

  :where(select[ui-button][ui-icon]:not([ui-off], [ui-link], [ui-badge]))::picker-icon {
    display: inline-block;
    flex-shrink: 0;
    box-sizing: content-box;
    order: -1;
    padding: 1px;
    margin-inline: -1px;
    mask: var(--ui-icon, none) center / contain no-repeat;
    mask-origin: content-box;
    mask-clip: content-box;
    background-color: currentColor;
    font-size: 16px;
    width: 1em;
    height: 1em;
    content: "";
  }

  :where(select[ui-button][ui-icon]:not([ui-off], [ui-link], [ui-badge])) {
    &:where([ui-icon~="trailing"])::picker-icon { order: 1; }
    &:where([ui-icon~="xs"])::picker-icon { font-size: 14px; }
    &:where([ui-icon~="sm"])::picker-icon { font-size: 18px; }
    &:where([ui-icon~="lg"])::picker-icon { font-size: 24px; }
    &:where([ui-icon~="xl"])::picker-icon { font-size: 32px; }
  }
}

/* Width tokens; auto-width follows the selected option in both select modes. */
:where(select[ui-select]:not([ui-off])) {
  &:where([ui-select~="sm-width"]) {
    width: 10rem;
  }
  &:where([ui-select~="md-width"]) {
    width: 16rem;
  }
  &:where([ui-select~="lg-width"]) {
    width: 24rem;
  }
  &:where([ui-select~="auto-width"]) {
    width: fit-content;
    field-sizing: content;
  }
}

:where(select:not([ui-off]):hover:not(:disabled)) {
  background-color: light-dark(
    transparent,
    color-mix(in oklch, var(--ui-white) 7.5%, transparent)
  );
}

:where(select:not([ui-off]):has(> option:checked[value=""])) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
}

}
@layer core {
/* library/components/accordion.css */

/* Faunder UI accordion: groups ui-collapsible disclosures. */
:where([ui-accordion]) {
  display: flex;
  flex-direction: column;
  width: 100%;
}

:where([ui-accordion]:not([ui-off]) > details:not([hidden], [ui-off]):not(:nth-last-child(1 of details:not([hidden], [ui-off])))) {
  border-block-end: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
}

:where([ui-accordion~="bordered"]:not([ui-off])) {
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 0.5rem;
}

:where([ui-accordion~="bordered"]:not([ui-off]) > details:not([ui-off])) {
  padding-inline: 0.75rem;
}

}
@layer core {
/* library/components/collapsible.css */

/* Collapsible styles one native details/summary disclosure without runtime code. */
:where(details[ui-collapsible]:not([ui-off])) {
  width: 100%;
}

:where(details[ui-collapsible]:not([ui-off]) > summary:not([ui-off])) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding-block: 0.625rem;
  text-align: start;
  cursor: pointer;
  list-style: none;

  &::-webkit-details-marker {
    display: none;
  }

  &:where(:hover) {
    text-decoration: underline;
  }

  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    outline: none;
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &::after {
    flex: 0 0 1rem;
    margin-inline-start: auto;
    mask-image: var(
      --ui-icon,
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    );
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    background-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    width: 1rem;
    height: 1rem;
    content: "";
  }
}

:where(details[ui-collapsible~="leading-icon"]:not([ui-off]) > summary:not([ui-off]))::after {
  order: -1;
  margin-inline: 0 0.5rem;
}

:where(details[ui-collapsible][open]:not([ui-off]) > summary:not([ui-off], [ui-icon]))::after {
  rotate: 180deg;
}

:where(details[ui-collapsible][inert]:not([ui-off]) > summary:not([ui-off])) {
  opacity: 0.5;
}

:where(details[ui-collapsible]:not([ui-off]) > :not(summary, [ui-off]):last-child) {
  padding-block-end: 0.625rem;
}

:where(details[ui-collapsible]:not([ui-off]))::details-content {
  block-size: 0;
  overflow-y: clip;
  opacity: 0;
}

:where(details[ui-collapsible][open]:not([ui-off]))::details-content {
  block-size: auto;
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  :where(details[ui-collapsible]:not([ui-off])) {
    interpolate-size: allow-keywords;
  }

  :where(details[ui-collapsible]:not([ui-off]))::details-content {
    transition: block-size 200ms ease, opacity 200ms ease;
  }

  :where(details[ui-collapsible]:not([ui-off]) > summary:not([ui-off]))::after {
    transition: rotate 200ms ease;
  }
}

}
@layer core {
/* library/components/alert.css */

/* Alert callout structure adapted to native HTML. Status colors come from ui-text; no JavaScript required. */
:where([ui-alert]) {
  display: grid;
  grid-template-columns: 0 minmax(0, 1fr);
  align-items: start;
  gap: 0.125rem 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
  border-radius: 0.625rem;
  background-color: light-dark(var(--ui-white), var(--ui-zinc-900));
  padding: 0.75rem 1rem;
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}

/* Also handle a simple text-only alert without a wrapper. */
:where([ui-alert]:not(:has(> *))) {
  display: block;
}

:where([ui-alert]:has(> :is(svg, i[ui-icon]):not([ui-off]))) {
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: 0.75rem;
}

/* A direct link or button is the action; it takes a third column beside the text. */
:where([ui-alert]:has(> :is(a, button):not([ui-off]))) {
  grid-template-columns: 0 minmax(0, 1fr) auto;
}

:where([ui-alert]:has(> :is(svg, i[ui-icon]):not([ui-off])):has(> :is(a, button):not([ui-off]))) {
  grid-template-columns: 1rem minmax(0, 1fr) auto;
}

:where([ui-alert] > :is(a, button):not([ui-off])) {
  grid-column: 3;
  grid-row: 1 / span 2;
  margin-block-start: -0.375rem;
  margin-inline: 0.75rem -0.5rem;
}

:where([ui-alert] > :is(svg, i[ui-icon]):not([ui-off])) {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 1rem;
  height: 1rem;
  transform: translateY(0.125rem);
}

/* A strong title or explicitly composed ui-heading replaces AlertTitle's data slot. */
:where([ui-alert] > :is(strong, [ui-heading]):not([ui-off])) {
  grid-column: 2;
  min-width: 0;
  min-height: 1rem;
}

:where([ui-alert] > strong:not([ui-off])) {
  font-weight: 500;
}

/* Native p or div replaces AlertDescription's data slot. */
:where([ui-alert] > :is(p, div):not([ui-off])) {
  grid-column: 2;
  display: grid;
  justify-items: start;
  gap: 0.25rem;
  min-width: 0;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-weight: 400;
}

:where([ui-alert] > p:not([ui-off]), [ui-alert] > div:not([ui-off]) > p:not([ui-off])) {
  line-height: 1.625;
}

}
@layer core {
/* library/components/item.css */

/* Item: compact row dimensions with semantic HTML.
   Only the item root has ui-item. Children use native HTML elements. */
:where([ui-item]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  background: transparent;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: start;
  text-decoration: none;
  outline: none;
  transition: background-color 100ms, border-color 100ms, box-shadow 100ms;
}
:where([ui-item~="outline"]) {
  border-color: light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 15%, transparent));
}
:where([ui-item~="muted"]) {
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-100) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-800) 50%, transparent)
  );
}
/* Faunder UI adds xs alongside sm and the default size. */
:where([ui-item~="sm"]) {
  gap: 0.625rem;
  padding: 0.75rem 1rem;
}
:where([ui-item~="xs"]) {
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

/* Rendering Item as an anchor replaces asChild/render without JS. */
:where(a[ui-item]) {
  cursor: pointer;
  text-decoration: none;
}
@media (hover: hover) {
  :where(a[ui-item]:hover) {
    background-color: light-dark(
      color-mix(in oklch, var(--ui-zinc-100) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-800) 50%, transparent)
    );
  }
}
:where([ui-item]:focus-visible) {
  border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
  );
}
:where([ui-item][aria-disabled="true"]) {
  opacity: 0.5;
  pointer-events: none;
}

/* ItemMedia: direct SVG (default), framed icon, image, avatar or avatar group. */
:where([ui-item] > :is(svg, i[ui-icon]):first-child) {
  display: block;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}
:where([ui-item~="icon"] > :is(svg, i[ui-icon]):first-child) {
  width: 2rem;
  height: 2rem;
  border: 1px solid light-dark(var(--ui-zinc-200), var(--ui-zinc-700));
  border-radius: 0.375rem;
  padding: 0.4375rem;
  background-color: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
}
:where([ui-item] > :is(img, picture, figure):first-child) {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  overflow: hidden;
  border-radius: 0.375rem;
}
:where([ui-item] > img:first-child, [ui-item] > picture:first-child > img, [ui-item] > figure:first-child > img) {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
}
:where([ui-item~="avatar"] > :is(img, picture, figure, abbr):first-child, [ui-item~="avatar"] > picture:first-child > img, [ui-item~="avatar"] > figure:first-child > img) {
  border-radius: 50%;
}
:where([ui-item] > abbr:first-child) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
:where([ui-item] > ul:first-child) {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  list-style: none;
}
:where([ui-item] > ul:first-child > li) {
  padding: 0;
  margin: 0;
  list-style: none;
}
:where([ui-item] > ul:first-child > li + li) {
  margin-inline-start: -0.5rem;
}
:where([ui-item] > ul:first-child > li > :is(img, abbr)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border: 2px solid light-dark(var(--ui-white), var(--ui-zinc-900));
  border-radius: 50%;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  font-size: 0.75rem;
  text-decoration: none;
  position: relative;
}

/* Media is top-aligned and nudged 2px when a description is present. */
:where([ui-item]:has(> div > p) > :is(svg, i[ui-icon], img, picture, figure, abbr, ul):first-child) {
  align-self: flex-start;
  transform: translateY(0.125rem);
}

/* ItemContent, title and two-line description. */
:where([ui-item] > div) {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
:where([ui-item] > div + div) {
  flex: 0 0 auto;
}
:where([ui-item] > div > p) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  text-wrap: balance;
}
:where([ui-item] > div > p > a) {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
@media (hover: hover) {
  :where([ui-item] > div > p > a:hover) {
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  }
}

/* ItemActions: one direct action or a semantic list of commands. */
:where([ui-item] > :is(button, time, output)) {
  flex: 0 0 auto;
}
:where([ui-item] > :is(time, output)) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
}
:where([ui-item] > menu) {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
:where([ui-item] > menu > li) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where([ui-item] > :is(svg, i[ui-icon]):last-child:not(:first-child)) {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

/* ItemHeader / ItemFooter: full-width regions. */
:where([ui-item] > :is(header, footer)) {
  display: flex;
  flex: 1 0 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}
:where([ui-item] > header > img) {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.375rem;
  object-fit: cover;
}
:where([ui-item] > footer) {
  margin-block-start: 0;
}

/* Item groups use a valid native ul/li with li > hr. */
:where(ul:has(> li[ui-item])) {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(ul:has(> li[ui-item]) > li) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(ul:has(> li[ui-item]) > li[role="presentation"] > hr:not([ui-off])) {
  margin: 0;
  border: 0;
  border-block-start: 1px solid light-dark(var(--ui-zinc-200), var(--ui-zinc-700));
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-item]) { transition: none; }
}

}
@layer core {
/* library/components/breadcrumb.css */

/* Breadcrumb geometry using semantic nav > ol > li.
   Only the root gets a ui-* attribute. Decorative separators are generated in CSS. */
:where([ui-breadcrumb]) {
  display: block;
  min-width: 0;
}
:where([ui-breadcrumb] > ol) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.25rem;
  overflow-wrap: break-word;
}
@media (min-width: 40rem) {
  :where([ui-breadcrumb] > ol) { gap: 0.625rem; }
  /* Original has a 10px list gap on desktop on both sides of a separator. */
  :where([ui-breadcrumb] > ol > li + li:not([role="presentation"]))::before {
    margin-inline-end: 0.25rem;
  }
}

:where([ui-breadcrumb] > ol > li) {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Automatically generate the default 14px Lucide ChevronRight separators. */
:where([ui-breadcrumb] > ol > li + li:not([role="presentation"]))::before {
  display: inline-block;
  flex: 0 0 0.875rem;
  width: 0.875rem;
  height: 0.875rem;
  content: "";
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}
:where([ui-breadcrumb] > ol > li[role="presentation"] + li)::before {
  display: none;
}
/* If an explicit separator is used, it is a decorative li, not an item. */
:where([ui-breadcrumb] > ol > li[role="presentation"]) {
  flex: 0 0 auto;
  pointer-events: none;
}
:where([ui-breadcrumb] > ol > li[role="presentation"] > svg) {
  display: block;
  flex: 0 0 0.875rem;
  width: 0.875rem;
  height: 0.875rem;
}
:where([ui-breadcrumb] > ol > li[role="presentation"] + li) {
  gap: 0;
}

/* Optional slash root token uses exactly the same list anatomy. */
:where([ui-breadcrumb~="slash"] > ol > li + li:not([role="presentation"]))::before {
  flex-basis: auto;
  width: auto;
  height: auto;
  mask-image: none;
  background: transparent;
  content: "/";
}

/* A native anchor is the equivalent of BreadcrumbLink, including asChild. */
:where([ui-breadcrumb] > ol > li > a) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  text-decoration: none;
  transition: color 150ms ease;
}
@media (hover: hover) {
  :where([ui-breadcrumb] > ol > li > a:hover) {
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    text-decoration: none;
  }
}
:where([ui-breadcrumb] > ol > li > a:focus-visible) {
  border-radius: 0.125rem;
  outline: 2px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: 3px;
}

/* Current page is not a link. Both placements of aria-current are valid. */
:where([ui-breadcrumb] > ol > li[aria-current="page"],
       [ui-breadcrumb] > ol > li > [aria-current="page"]) {
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-weight: 400;
}

/* Ellipsis, equivalent to BreadcrumbEllipsis, is decorative unless it opens details. */
:where([ui-breadcrumb] > ol > li > span[aria-hidden="true"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  line-height: 1;
  font-size: 1.25rem;
  letter-spacing: 0;
}

/* Native details + summary replaces the optional collapsed-pages dropdown.
   The disclosure is keyboard-accessible and works without a JS runtime. */
:where([ui-breadcrumb] > ol > li > details) {
  position: relative;
  flex: 0 0 auto;
}
:where([ui-breadcrumb] > ol > li > details > summary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 1.25rem;
  border-radius: 0.25rem;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
:where([ui-breadcrumb] > ol > li > details > summary)::-webkit-details-marker {
  display: none;
}
:where([ui-breadcrumb] > ol > li > details > summary > svg) {
  display: block;
  width: 0.875rem;
  height: 0.875rem;
  flex: 0 0 auto;
}
:where([ui-breadcrumb] > ol > li > details > summary > span[aria-hidden="true"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  line-height: 1;
}
:where([ui-breadcrumb] > ol > li > details > summary:hover) {
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}
:where([ui-breadcrumb] > ol > li > details > summary:focus-visible) {
  outline: 2px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: 3px;
}
:where([ui-breadcrumb] > ol > li > details > ul) {
  position: absolute;
  z-index: 20;
  inset-block-start: calc(100% + 0.5rem);
  inset-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-sizing: border-box;
  min-width: 12rem;
  max-width: min(20rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.375rem;
  border: 1px solid light-dark(var(--ui-zinc-200), var(--ui-zinc-700));
  border-radius: 0.5rem;
  background: light-dark(var(--ui-white), var(--ui-zinc-900));
  box-shadow: 0 6px 16px color-mix(in oklch, var(--ui-black) 12%, transparent);
  list-style: none;
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  text-align: start;
}
:where([ui-breadcrumb] > ol > li > details:not([open]) > ul) {
  display: none;
}
:where([ui-breadcrumb] > ol > li > details > ul > li) {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where([ui-breadcrumb] > ol > li > details > ul > li > a) {
  display: block;
  padding: 0.375rem 0.5rem;
  border-radius: 0.25rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
:where([ui-breadcrumb] > ol > li > details > ul > li > a:hover,
       [ui-breadcrumb] > ol > li > details > ul > li > a:focus-visible) {
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-950), var(--ui-zinc-50));
  outline: none;
}

/* The responsive recipe shows intermediate links on desktop and a disclosure
   of those same links below 768px. This avoids any app-specific JS. */
@media (min-width: 48rem) {
  :where([ui-breadcrumb~="responsive"] > ol > li:has(> details)) {
    display: none;
  }
}
@media (max-width: 47.999rem) {
  :where([ui-breadcrumb~="responsive"] > ol > li:not(:first-child):not(:has(> details)):not(:nth-last-child(-n+2))) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-breadcrumb] > ol > li > a) { transition: none; }
}

}
@layer core {
/* library/components/card.css */

/* Faunder UI card: semantic layout with Faunder's attribute API. */
:where([ui-card]) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  padding-block: 1rem;
  background-color: light-dark(var(--ui-white), var(--ui-zinc-900));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  box-shadow: 0 0 0 1px light-dark(
    color-mix(in oklch, var(--ui-zinc-900) 10%, transparent),
    color-mix(in oklch, var(--ui-zinc-50) 10%, transparent)
  );

  &:where([ui-card~="sm"]) {
    gap: 0.75rem;
    padding-block: 0.75rem;
  }

  &:where(:has(> footer)) {
    padding-block-end: 0;
  }

  &:where(:has(> :is(img, picture, video, figure):first-child)) {
    padding-block-start: 0;
  }

  &:where(a) {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
  }

  &:where(a[href]) {
    transition: background-color 150ms ease;

    @media (hover: hover) {
      &:where(:hover) {
        background-color: light-dark(
          var(--ui-zinc-50),
          color-mix(in oklch, var(--ui-zinc-900) 96%, var(--ui-white))
        );
      }
    }

    &:where(:active) {
      background-color: light-dark(
        var(--ui-zinc-100),
        color-mix(in oklch, var(--ui-zinc-900) 92%, var(--ui-white))
      );
    }
  }
}

:where([ui-card] > header) {
  container-name: card-header;
  container-type: inline-size;
  display: grid;
  grid-auto-rows: min-content;
  align-items: start;
  gap: 0.25rem;
  border-start-start-radius: 0.75rem;
  border-start-end-radius: 0.75rem;
  padding-inline: 1rem;

  &:where(:has(> p)) {
    grid-template-rows: auto auto;
  }

  &:where(:has(> button, > a)) {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

:where([ui-card~="sm"] > header) {
  padding-inline: 0.75rem;
}

:where([ui-card] > header > :is(button, a)) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: end;
}

:where([ui-card] > :not(header, footer, img, picture, video, figure)) {
  padding-inline: 1rem;
}

:where([ui-card~="sm"] > :not(header, footer, img, picture, video, figure)) {
  padding-inline: 0.75rem;
}

:where([ui-card] > footer) {
  display: flex;
  align-items: center;
  border-block-start: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 10%, transparent)
  );
  border-end-start-radius: 0.75rem;
  border-end-end-radius: 0.75rem;
  padding: 1rem;
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-100) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-700) 50%, transparent)
  );
}

:where([ui-card~="sm"] > footer) {
  padding: 0.75rem;
}

:where([ui-card] > img, [ui-card] > picture, [ui-card] > video, [ui-card] > figure) {
  display: block;
  width: 100%;
  max-width: 100%;
}

:where([ui-card] > figure) {
  margin: 0;
}

:where([ui-card] > img:first-child, [ui-card] > picture:first-child > img, [ui-card] > figure:first-child > img) {
  border-start-start-radius: 0.75rem;
  border-start-end-radius: 0.75rem;
}

:where([ui-card] > img:last-child, [ui-card] > picture:last-child > img, [ui-card] > figure:last-child > img) {
  border-end-start-radius: 0.75rem;
  border-end-end-radius: 0.75rem;
}

:where([ui-card] > img, [ui-card] > picture > img, [ui-card] > figure > img, [ui-card] > video) {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-card] a[href]) { transition: none; }
}

}
@layer core {
/* library/components/button.css */

/* Faunder UI buttons: attribute-based variants and sizes. */
:where(:not([ui-off]):not([ui-link]):not([ui-badge])):where([ui-button]:not(input[type="checkbox"], input[type="radio"]),
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition: all 150ms;

  &:where(:focus-visible) {
    outline: none;
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }
  &:where(:disabled) { opacity: 0.5; pointer-events: none; }
  &:where(:active:not([aria-haspopup])) { transform: translateY(1px); }

  &:where(:has(> svg)) { padding-inline: 12px; }
  & > svg { flex-shrink: 0; pointer-events: none; }
  & > svg:where(:not([ui-icon])) { width: 16px; height: 16px; }

  &:where([aria-busy="true"]:not(input[type="button"], input[type="submit"], input[type="reset"])) {
    position: relative;
    /* Keep child text in the accessibility tree while hiding it visually. */
    & > * { opacity: 0; }
    &::before { opacity: 0; }
    &::after {
      position: absolute;
      inset: 0;
      width: 1.25em;
      height: 1.25em;
      box-sizing: content-box;
      padding: 1px;
      overflow: hidden;
      border-radius: 0.01px;
      aspect-ratio: 1;
      margin: auto;
      background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
      mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20fill%3D%22%23000000%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20d%3D%22M136%2C32V64a8%2C8%2C0%2C0%2C1-16%2C0V32a8%2C8%2C0%2C0%2C1%2C16%2C0Zm37.25%2C58.75a8%2C8%2C0%2C0%2C0%2C5.66-2.35l22.63-22.62a8%2C8%2C0%2C0%2C0-11.32-11.32L167.6%2C77.09a8%2C8%2C0%2C0%2C0%2C5.65%2C13.66ZM224%2C120H192a8%2C8%2C0%2C0%2C0%2C0%2C16h32a8%2C8%2C0%2C0%2C0%2C0-16Zm-45.09%2C47.6a8%2C8%2C0%2C0%2C0-11.31%2C11.31l22.62%2C22.63a8%2C8%2C0%2C0%2C0%2C11.32-11.32ZM128%2C184a8%2C8%2C0%2C0%2C0-8%2C8v32a8%2C8%2C0%2C0%2C0%2C16%2C0V192A8%2C8%2C0%2C0%2C0%2C128%2C184ZM77.09%2C167.6%2C54.46%2C190.22a8%2C8%2C0%2C0%2C0%2C11.32%2C11.32L88.4%2C178.91A8%2C8%2C0%2C0%2C0%2C77.09%2C167.6ZM72%2C128a8%2C8%2C0%2C0%2C0-8-8H32a8%2C8%2C0%2C0%2C0%2C0%2C16H64A8%2C8%2C0%2C0%2C0%2C72%2C128ZM65.78%2C54.46A8%2C8%2C0%2C0%2C0%2C54.46%2C65.78L77.09%2C88.4A8%2C8%2C0%2C0%2C0%2C88.4%2C77.09Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") center / contain no-repeat;
      mask-origin: content-box;
      mask-clip: content-box;
      box-shadow: 0 0 1px transparent;
      animation: ui-loading 1s linear infinite;
      content: "";
    }
  }

  &:where([ui-button~="primary"]) {
    background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    color: light-dark(var(--ui-zinc-50), var(--ui-zinc-900));
    &:where([aria-busy="true"])::after { background: light-dark(var(--ui-zinc-50), var(--ui-zinc-900)); }
    @media (hover: hover) {
      &:where(:hover) {
        background: light-dark(
          var(--ui-zinc-800),
          var(--ui-zinc-200)
        );
      }
    }
  }

  &:where([ui-button~="outline"], label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="outline"]:not([ui-off]))) {
    border-color: light-dark(var(--ui-zinc-300), color-mix(in oklch, var(--ui-white) 15%, transparent));
    background: light-dark(var(--ui-white), color-mix(in oklch, var(--ui-white) 4.5%, transparent));
    color: light-dark(var(--ui-zinc-950), var(--ui-zinc-50));
    @media (hover: hover) {
      &:where(:hover) {
        background: light-dark(var(--ui-zinc-100), color-mix(in oklch, var(--ui-white) 7.5%, transparent));
      }
    }
  }

  &:where([ui-button~="secondary"]),
  &:where(:not([ui-button~="primary"], [ui-button~="ghost"], [ui-button~="outline"], [ui-button~="inline"], [ui-button~="link"], [aria-busy="true"])):not(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="outline"]:not([ui-off]))):not(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="ghost"]:not([ui-off]))) {
    background: light-dark(var(--ui-color-100, var(--ui-zinc-100)), var(--ui-color-800, var(--ui-zinc-800)));
    color: light-dark(var(--ui-color-900, var(--ui-zinc-900)), var(--ui-color-50, var(--ui-zinc-50)));
    @media (hover: hover) {
      &:where(:hover) {
        background: light-dark(
          color-mix(in oklch, var(--ui-color-100, var(--ui-zinc-100)), var(--ui-color-900, var(--ui-zinc-900)) 5%),
          color-mix(in oklch, var(--ui-color-800, var(--ui-zinc-800)), var(--ui-color-50, var(--ui-zinc-50)) 5%)
        );
      }
    }
    &:where([aria-expanded="true"]) { background: light-dark(var(--ui-color-100, var(--ui-zinc-100)), var(--ui-color-800, var(--ui-zinc-800))); }
  }

  &:where([ui-button~="ghost"], label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="ghost"]:not([ui-off]))) {
    background: transparent;
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    @media (hover: hover) {
      &:where(:hover) {
        background: light-dark(var(--ui-zinc-100), color-mix(in oklch, var(--ui-zinc-800) 50%, transparent));
      }
    }
    &:where([aria-expanded="true"]) { background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800)); }
    &:where([aria-busy="true"])::after { background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50)); }
  }

  &:where([ui-button~="link"]) {
    background: transparent;
    padding-inline: 0;
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    text-underline-offset: 4px;
    @media (hover: hover) { &:where(:hover) { text-decoration: underline; } }
  }

  &:where([ui-button~="inline"]) {
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    color: inherit;
    @media (hover: hover) {
      &:where(:hover) {
        background: transparent;
        color: light-dark(var(--ui-zinc-800), var(--ui-zinc-200));
      }
    }
    &:where(:active) {
      background: transparent;
      color: light-dark(var(--ui-zinc-700), var(--ui-zinc-300));
    }
    &:where(:disabled, [aria-busy="true"]) {
      background: transparent;
    }
  }

  &:where([aria-busy="true"]:not(input[type="button"], input[type="submit"], input[type="reset"])) {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  &:where([ui-button~="xs"]) { height: 24px; min-height: 24px; padding: 2px 8px; font-size: 0.75rem; line-height: 1rem; gap: 4px; }
  &:where([ui-button~="sm"]) { height: 36px; min-height: 36px; padding: 4px 12px; font-size: 0.875rem; gap: 6px; }
  &:where([ui-button~="lg"]) { height: 44px; min-height: 44px; padding: 8px 24px; }
  &:where([ui-button~="block"]) { width: 100%; }
  &:where([ui-button~="wide"]) { padding-inline: 32px; }
  &:where([ui-button~="wide"][ui-button~="xs"]) { padding-inline: 16px; }
  &:where([ui-button~="wide"][ui-button~="sm"]) { padding-inline: 20px; }
  &:where([ui-button~="wide"][ui-button~="lg"]) { padding-inline: 40px; }

  &:where([ui-button~="circle"]) {
    width: 40px;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 50%;
  }
  &:where([ui-button~="square"]) { border-radius: 4px; }
  &:where([ui-button~="circle"][ui-button~="xs"]) { width: 24px; }
  &:where([ui-button~="circle"][ui-button~="sm"]) { width: 36px; }
  &:where([ui-button~="circle"][ui-button~="lg"]) { width: 44px; }
  &:where([ui-button~="rounded"]) { border-radius: 9999px; }

  &:where([ui-icon]:empty) {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }
  &:where([ui-button~="xs"][ui-icon]:empty) { width: 24px; min-width: 24px; height: 24px; min-height: 24px; }
  &:where([ui-button~="sm"][ui-icon]:empty) { width: 36px; min-width: 36px; height: 36px; min-height: 36px; }
  &:where([ui-button~="lg"][ui-icon]:empty) { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
  &:where([ui-button~="xs"]:has(> svg)) { padding-inline: 6px; }
  &:where([ui-button~="sm"]:has(> svg)) { padding-inline: 10px; }
  &:where([ui-button~="lg"]:has(> svg)) { padding-inline: 16px; }
  &:where([ui-button~="link"]:not([ui-button~="wide"])) { padding-inline: 0; }
}

/* A named palette colors the button while its variant controls the treatment. */
/* A button takes ui-color only from its own attribute, not from a colored ancestor. */
:where(:is([ui-button], button, input[type="button"], input[type="submit"], input[type="reset"], label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle])):not([ui-color])) {
  --ui-color-50: initial;
  --ui-color-100: initial;
  --ui-color-200: initial;
  --ui-color-300: initial;
  --ui-color-400: initial;
  --ui-color-500: initial;
  --ui-color-600: initial;
  --ui-color-700: initial;
  --ui-color-800: initial;
  --ui-color-900: initial;
  --ui-color-950: initial;
}

:where([ui-color]:is([ui-button]:not(input[type="checkbox"], input[type="radio"]), button, input[type="button"], input[type="submit"], input[type="reset"]):not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  background: light-dark(var(--ui-color-100), var(--ui-color-900));
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-color-500), var(--ui-color-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-color-500) 35%, transparent),
      color-mix(in oklch, var(--ui-color-400) 40%, transparent)
    );
  }
  @media (hover: hover) {
    &:where(:hover) {
      background: light-dark(
        color-mix(in oklch, var(--ui-color-100), var(--ui-color-900) 5%),
        color-mix(in oklch, var(--ui-color-900), var(--ui-color-50) 5%)
      );
    }
  }
  &:where([aria-expanded="true"]) { background: light-dark(var(--ui-color-100), var(--ui-color-900)); }
}

:where([ui-color][ui-button~="primary"]:not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  background: light-dark(var(--ui-color-900), var(--ui-color-600));
  color: var(--ui-color-50);
  @media (hover: hover) {
    &:where(:hover) { background: light-dark(var(--ui-color-800), var(--ui-color-700)); }
  }
}

:where([ui-color][ui-button~="outline"]:not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  border-color: light-dark(var(--ui-color-300), var(--ui-color-700));
  background: light-dark(var(--ui-white), color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
  @media (hover: hover) {
    &:where(:hover) { background: light-dark(var(--ui-color-100), color-mix(in oklch, var(--ui-white) 7.5%, transparent)); }
  }
}

:where([ui-color][ui-button~="ghost"]:not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  background: transparent;
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
  @media (hover: hover) {
    &:where(:hover) { background: light-dark(var(--ui-color-100), color-mix(in oklch, var(--ui-color-900) 50%, transparent)); }
  }
  &:where([aria-expanded="true"]) { background: light-dark(var(--ui-color-100), var(--ui-color-900)); }
}

:where([ui-color][ui-button~="link"]:not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  background: transparent;
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
}

:where([ui-color][ui-button~="inline"]:not([ui-off], [ui-link], :disabled, [aria-busy="true"])) {
  background: transparent;
  color: inherit;
  @media (hover: hover) {
    &:where(:hover) { color: light-dark(var(--ui-color-800), var(--ui-color-200)); }
  }
  &:where(:active) { color: light-dark(var(--ui-color-700), var(--ui-color-300)); }
}

:where([ui-color][aria-busy="true"]:is([ui-button]:not(input[type="checkbox"], input[type="radio"]), button, input[type="button"], input[type="submit"], input[type="reset"]):not([ui-off], [ui-link])) {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: light-dark(var(--ui-color-100), var(--ui-color-900));
  &::after { background: light-dark(var(--ui-color-900), var(--ui-color-50)); }
  &:where([ui-button~="primary"]) {
    background: light-dark(var(--ui-color-900), var(--ui-color-600));
    &::after { background: var(--ui-color-50); }
  }
  &:where([ui-button~="outline"]) {
    border-color: light-dark(var(--ui-color-300), var(--ui-color-700));
    background: light-dark(var(--ui-white), color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  }
  &:where([ui-button~="ghost"], [ui-button~="link"], [ui-button~="inline"]) {
    background: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(:not([ui-off]):not([ui-link]):not([ui-badge])):where([ui-button]:not(input[type="checkbox"], input[type="radio"]),
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"]) {
    transition: none;
  }

  :where([aria-busy="true"]:is(button, input[type="button"], input[type="submit"], input[type="reset"], [ui-button]))::after {
    animation: none;
  }
}

}
@layer core {
/* library/components/badge.css */

/* Faunder UI badge: compact variants. */
:where([ui-badge]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: fit-content;
  height: 20px;
  gap: 4px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2rem;
  padding: 2px 8px;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms, background-color 150ms, border-color 150ms, box-shadow 150ms;

  &:where(button) { cursor: pointer; }
  &:where(button:disabled) { opacity: 0.5; pointer-events: none; }

  &:where(:has(> :is(svg, [ui-icon]):first-child)) { padding-inline-start: 6px; }
  &:where(:has(> :is(svg, [ui-icon]):last-child)) { padding-inline-end: 6px; }

  &:where([ui-badge~="solid"]) {
    background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    color: light-dark(var(--ui-zinc-50), var(--ui-zinc-900));
  }

  &:where([ui-badge~="outline"]) {
    border-color: light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
    background: transparent;
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  }

  &:where(:focus-visible) {
    outline: none;
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(color-mix(in oklch, var(--ui-zinc-500) 50%, transparent), color-mix(in oklch, var(--ui-zinc-400) 50%, transparent));
  }

  @media (hover: hover) {
    &:where(:is(a, button):hover:not([ui-badge~="solid"], [ui-badge~="outline"])) {
      background: light-dark(
        color-mix(in oklch, var(--ui-zinc-100), var(--ui-zinc-900) 5%),
        color-mix(in oklch, var(--ui-zinc-800), var(--ui-zinc-50) 5%)
      );
    }
    &:where(:is(a, button)[ui-badge~="solid"]:hover) {
      background: light-dark(var(--ui-zinc-800), var(--ui-zinc-200));
    }
    &:where(:is(a, button)[ui-badge~="outline"]:hover) {
      background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
      color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    }
  }
}

/* A named palette follows the badge's visual variant. */
:where([ui-badge][ui-color]) {
  background: light-dark(var(--ui-color-100), var(--ui-color-800));
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
}

:where([ui-badge~="solid"][ui-color]) {
  background: light-dark(var(--ui-color-900), var(--ui-color-50));
  color: light-dark(var(--ui-color-50), var(--ui-color-900));
}

:where([ui-badge~="outline"][ui-color]) {
  border-color: light-dark(var(--ui-color-200), var(--ui-color-800));
  background: transparent;
  color: light-dark(var(--ui-color-800), var(--ui-color-100));
}

:where([ui-badge][ui-color]:focus-visible) {
  border-color: light-dark(var(--ui-color-500), var(--ui-color-400));
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-color-500) 50%, transparent),
    color-mix(in oklch, var(--ui-color-400) 50%, transparent)
  );
}

@media (hover: hover) {
  :where(:is(a, button)[ui-badge][ui-color]:hover:not([ui-badge~="solid"], [ui-badge~="outline"])) {
    background: light-dark(
      color-mix(in oklch, var(--ui-color-100), var(--ui-color-900) 5%),
      color-mix(in oklch, var(--ui-color-800), var(--ui-color-50) 5%)
    );
  }

  :where(:is(a, button)[ui-badge~="solid"][ui-color]:hover) {
    background: light-dark(var(--ui-color-800), var(--ui-color-200));
  }

  :where(:is(a, button)[ui-badge~="outline"][ui-color]:hover) {
    background: light-dark(var(--ui-color-100), var(--ui-color-800));
    color: light-dark(var(--ui-color-500), var(--ui-color-400));
  }

}

:where([ui-badge] > :is(svg, [ui-icon]):not([ui-off])) {
  font-size: 12px;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-badge]) { transition: none; }
}

}
@layer core {
/* library/components/avatar.css */

/* Avatar: a circular image or initials with optional status. */
:where([ui-avatar]:not([ui-off], ul[ui-avatar~="group"])) {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-300));
  font-size: 0.875rem;
  line-height: 1;
  vertical-align: middle;
  isolation: isolate;
  user-select: none;
}

:where([ui-avatar]:not([ui-off], ul[ui-avatar~="group"]))::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  border-radius: inherit;
  opacity: 0.35;
  pointer-events: none;
  content: "";
}

:where([ui-avatar][ui-color]:not([ui-off], ul[ui-avatar~="group"])) {
  background: light-dark(var(--ui-color-100), var(--ui-color-800));
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
}

:where([ui-avatar][ui-color]:not([ui-off], ul[ui-avatar~="group"]))::after {
  border-color: light-dark(var(--ui-color-300), var(--ui-color-700));
}

:where([ui-avatar]:not([ui-off], ul[ui-avatar~="group"]) > img) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

:where([ui-avatar]:not([ui-off], ul[ui-avatar~="group"]) > abbr) {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  font-size: inherit;
  font-weight: 500;
  text-decoration: none;
}

:where([ui-avatar~="sm"]:not([ui-off], ul[ui-avatar~="group"])) {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
}

:where([ui-avatar~="lg"]:not([ui-off], ul[ui-avatar~="group"])) {
  width: 2.5rem;
  height: 2.5rem;
}

:where([ui-avatar]:not([ui-off], ul[ui-avatar~="group"]) > [ui-status-dot]:not([ui-off])) {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  inset-block-end: 0;
  box-shadow: 0 0 0 2px light-dark(var(--ui-white), var(--ui-zinc-950));
}

:where(button[ui-avatar]:not([ui-off])) {
  appearance: none;
  min-height: 0;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:where(ul[ui-avatar~="group"]:not([ui-off])) {
  display: flex;
  align-items: center;
  padding: 0;
  list-style: none;
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li) {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-inline-start: -0.5rem;
  border-radius: 50%;
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li:first-child) {
  margin-inline-start: 0;
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li:has(> [ui-avatar]:not([ui-off]))) {
  width: auto;
  height: auto;
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li > [ui-avatar]:not([ui-off])) {
  box-shadow: 0 0 0 2px light-dark(var(--ui-white), var(--ui-zinc-950));
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li:not(:has(> [ui-avatar]))) {
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-300));
  font-size: 0.875rem;
  line-height: 1;
  box-shadow: 0 0 0 2px light-dark(var(--ui-white), var(--ui-zinc-950));
}

:where(ul[ui-avatar~="group"]:not([ui-off]):has(> li > [ui-avatar~="sm"]:not([ui-off])) > li:not(:has(> [ui-avatar]))) {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
}

:where(ul[ui-avatar~="group"]:not([ui-off]):has(> li > [ui-avatar~="lg"]:not([ui-off])) > li:not(:has(> [ui-avatar]))) {
  width: 2.5rem;
  height: 2.5rem;
}

:where(ul[ui-avatar~="group"]:not([ui-off]) > li:not(:has(> [ui-avatar])) [ui-icon]) {
  width: 1rem;
  height: 1rem;
}

:where(ul[ui-avatar~="group"]:not([ui-off]):has(> li > [ui-avatar~="sm"]:not([ui-off])) > li:not(:has(> [ui-avatar])) [ui-icon]) {
  width: 0.75rem;
  height: 0.75rem;
}

:where(ul[ui-avatar~="group"]:not([ui-off]):has(> li > [ui-avatar~="lg"]:not([ui-off])) > li:not(:has(> [ui-avatar])) [ui-icon]) {
  width: 1.25rem;
  height: 1.25rem;
}

}
@layer utility {
/* library/utilities/aspect-ratio.css */

/* Aspect ratio */
:where([ui-aspect-ratio]) {
  display: block;
  position: relative;
  margin: 0;
  overflow: hidden;
}

:where([ui-aspect-ratio~="1:1"]) {
  aspect-ratio: 1;
}

:where([ui-aspect-ratio~="5:4"]) {
  aspect-ratio: 5 / 4;
}

:where([ui-aspect-ratio~="4:3"]) {
  aspect-ratio: 4 / 3;
}

:where([ui-aspect-ratio~="3:2"]) {
  aspect-ratio: 3 / 2;
}

:where([ui-aspect-ratio~="2:1"]) {
  aspect-ratio: 2 / 1;
}

:where([ui-aspect-ratio~="16:10"]) {
  aspect-ratio: 16 / 10;
}

:where([ui-aspect-ratio~="16:9"]) {
  aspect-ratio: 16 / 9;
}

:where([ui-aspect-ratio~="21:9"]) {
  aspect-ratio: 21 / 9;
}

:where([ui-aspect-ratio~="32:9"]) {
  aspect-ratio: 32 / 9;
}

:where([ui-aspect-ratio~="1.66:1"]) {
  aspect-ratio: 1.66 / 1;
}

:where([ui-aspect-ratio~="1.85:1"]) {
  aspect-ratio: 1.85 / 1;
}

:where([ui-aspect-ratio~="2.35:1"]) {
  aspect-ratio: 2.35 / 1;
}

:where([ui-aspect-ratio~="2.39:1"]) {
  aspect-ratio: 2.39 / 1;
}

:where([ui-aspect-ratio~="4:5"]) {
  aspect-ratio: 4 / 5;
}

:where([ui-aspect-ratio~="3:4"]) {
  aspect-ratio: 3 / 4;
}

:where([ui-aspect-ratio~="2:3"]) {
  aspect-ratio: 2 / 3;
}

:where([ui-aspect-ratio~="5:7"]) {
  aspect-ratio: 5 / 7;
}

:where([ui-aspect-ratio~="9:16"]) {
  aspect-ratio: 9 / 16;
}

:where([ui-aspect-ratio~="1:1.4142"]) {
  aspect-ratio: 1 / 1.4142;
}

:where([ui-aspect-ratio~="1.4142:1"]) {
  aspect-ratio: 1.4142 / 1;
}

:where([ui-aspect-ratio~="17:22"]) {
  aspect-ratio: 17 / 22;
}

:where([ui-aspect-ratio~="22:17"]) {
  aspect-ratio: 22 / 17;
}

:where([ui-aspect-ratio] > :is(img, video, iframe)) {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

:where([ui-aspect-ratio] > :is(img, video)) {
  object-fit: cover;
}

}
@layer core {
/* library/components/message.css */

/* Message: one chat message with an optional avatar and a content column. */
:where([ui-message]:not([ui-off])) {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 0.5rem;
}

:where([ui-message~="end"]:not([ui-off])) {
  flex-direction: row-reverse;
}

:where([ui-message]:not([ui-off]) > [ui-avatar]:not([ui-off])) {
  align-self: flex-end;
  flex: none;
}

:where([ui-message]:not([ui-off]):has(> div > footer) > [ui-avatar]:not([ui-off])) {
  transform: translateY(-2rem);
}

:where([ui-message]:not([ui-off]) > div:not([ui-off])) {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 0.625rem;
  overflow-wrap: break-word;
}

:where([ui-message]:not([ui-off]) > div > :is(header, footer):not([ui-off])) {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  padding-inline: 0.75rem;
}

:where([ui-message~="end"]:not([ui-off]) > div > :is(header, footer, p):not([ui-off])) {
  align-self: flex-end;
}

:where([ui-message~="end"]:not([ui-off]) > div > footer:not([ui-off])) {
  justify-content: flex-end;
}

:where([ui-message]:not([ui-off]) > div > p:not([ui-off])) {
  inline-size: fit-content;
  max-inline-size: min(34rem, 90%);
  margin: 0;
  padding: 0.625rem 0.875rem;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 12%, transparent));
  border-start-start-radius: 1rem;
  border-start-end-radius: 1rem;
  border-end-end-radius: 1rem;
  border-end-start-radius: 0.25rem;
  background: light-dark(var(--ui-zinc-100), var(--ui-zinc-900));
}

:where([ui-message~="end"]:not([ui-off]) > div > p:not([ui-off])) {
  margin-inline-start: auto;
  border-end-start-radius: 1rem;
  border-end-end-radius: 0.25rem;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
}

:where([ui-message]:not([ui-off]) > div > p[ui-color]:not([ui-off])) {
  border-color: light-dark(var(--ui-color-200), var(--ui-color-800));
  background: light-dark(var(--ui-color-100), var(--ui-color-900));
  color: light-dark(var(--ui-color-900), var(--ui-color-50));
}

:where([ui-message~="end"]:not([ui-off]) > div > p[ui-color]:not([ui-off])) {
  border-color: light-dark(var(--ui-color-300), var(--ui-color-700));
  background: light-dark(var(--ui-color-200), var(--ui-color-800));
}

}
@layer core {
/* library/components/calendar.css */

/* Calendar grid with native single- or multiple-date controls. */
:where([ui-calendar]:not([ui-off])) {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  inline-size: min(100%, 22rem);
}

:where([ui-calendar]:not([ui-off]) > header) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

:where([ui-calendar]:not([ui-off]) > table) {
  inline-size: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
}

:where([ui-calendar]:not([ui-off]) th) {
  padding-block: 0.375rem;
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.75rem;
  font-weight: 500;
}

:where([ui-calendar]:not([ui-off]) td) {
  padding-block: 0.125rem;
  text-align: center;
  vertical-align: middle;
}

:where([ui-calendar]:not([ui-off]) td > label) {
  display: grid;
  position: relative;
  place-items: center;
  margin-inline: auto;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
}

:where([ui-calendar]:not([ui-off]) td > label > input[ui-off]) {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  appearance: none;
  margin: 0;
  border: 0;
  background: none;
  padding: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  cursor: inherit;
}

:where([ui-calendar]:not([ui-off]) td > label:has(> input:checked) > span) {
  background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  color: light-dark(var(--ui-zinc-50), var(--ui-zinc-900));
}

:where([ui-calendar]:not([ui-off]) td > label:has(> input[type="checkbox"]) > span[ui-button~="circle"]) {
  border-radius: 0.375rem;
}

:where([ui-calendar]:not([ui-off]) td > label > input:focus-visible + span) {
  outline: 2px solid light-dark(var(--ui-zinc-600), var(--ui-zinc-300));
  outline-offset: 2px;
}

:where([ui-calendar]:not([ui-off]) td > label:has(> input:disabled)) {
  cursor: not-allowed;
}

:where([ui-calendar]:not([ui-off]) td > label > input:disabled + span) {
  opacity: 0.5;
}

}
@layer core {
/* library/components/dialog.css */

/* Faunder UI dialog: themed surface with native behavior and placement options. */
/* A heading focused on opening (tabindex="-1" autofocus) only marks where focus starts; it shows no outline. */
:where(dialog[ui-dialog] [tabindex="-1"][autofocus]:focus) {
  outline: none;
}

:where(dialog[ui-dialog]) {
  box-sizing: border-box;
  position: fixed;
  inset: 50% auto auto 50%;
  display: none;
  grid-auto-flow: row;
  gap: 1rem;
  width: calc(100% - 2rem);
  max-width: 24rem;
  max-height: calc(100dvh - 2rem);
  margin: 0;
  overflow: auto;
  border: 0;
  border-radius: 0.75rem;
  padding: 1rem;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  background-color: light-dark(var(--ui-white), var(--ui-zinc-900));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow: 0 0 0 1px light-dark(color-mix(in oklch, var(--ui-zinc-900) 10%, transparent), color-mix(in oklch, var(--ui-zinc-50) 10%, transparent));
  transition:
    opacity 100ms ease,
    transform 100ms ease,
    display 100ms allow-discrete,
    overlay 100ms allow-discrete;

  &:where([ui-dialog~="sheet"]) {
    border-radius: 0;
  }

  &:where([open]) {
    display: grid;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  &:where([ui-dialog~="xs"]) {
    max-width: 20rem;
  }

  &:where([ui-dialog~="sm"]) {
    max-width: 37.5rem;
  }

  &:where([ui-dialog~="md"]) {
    max-width: 50rem;
  }

  &:where([ui-dialog~="lg"]) {
    max-width: 75rem;
  }

  &:where([ui-dialog~="xl"]) {
    max-width: 100rem;
  }

}

:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"],
  dialog[ui-dialog~="top"], dialog[ui-dialog~="bottom"]) {
  transition:
    opacity 450ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 450ms cubic-bezier(0.22, 1, 0.36, 1),
    display 450ms allow-discrete,
    overlay 450ms allow-discrete;
}

:where(dialog[ui-dialog~="left"]) {
  inset: 0.5rem auto 0.5rem 0.5rem;
  width: min(75vw, 24rem);
  max-width: 24rem;
  max-height: none;
  height: calc(100dvh - 1rem);
  transform: translateX(-100%);

  &:where([open]) {
    transform: translateX(0);
  }
}

:where(dialog[ui-dialog~="right"]) {
  inset: 0.5rem 0.5rem 0.5rem auto;
  width: min(75vw, 24rem);
  max-width: 24rem;
  max-height: none;
  height: calc(100dvh - 1rem);
  transform: translateX(100%);

  &:where([open]) {
    transform: translateX(0);
  }
}

:where(dialog[ui-dialog~="top"]) {
  inset: 0.5rem 0.5rem auto;
  width: calc(100% - 1rem);
  max-width: none;
  max-height: calc(100dvh - 6rem);
  transform: translateY(-100%);

  &:where([open]) {
    transform: translateY(0);
  }
}

:where(dialog[ui-dialog~="bottom"]) {
  inset: auto 0.5rem 0.5rem;
  width: calc(100% - 1rem);
  max-width: none;
  max-height: calc(100dvh - 6rem);
  transform: translateY(100%);

  &:where([open]) {
    transform: translateY(0);
  }
}

:where(dialog[ui-dialog~="sheet"]) {
  transition:
    opacity 200ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    display 200ms allow-discrete,
    overlay 200ms allow-discrete;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="left"], dialog[ui-dialog~="sheet"][ui-dialog~="right"]) {
  inset-block: 0;
  height: 100dvh;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="left"]) {
  left: 0;
  right: auto;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="right"]) {
  left: auto;
  right: 0;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="top"]) {
  inset: 0 0 auto;
  width: 100%;
  max-width: 100%;
  max-height: 100dvh;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="bottom"]) {
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 100dvh;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="left"], dialog[ui-dialog~="sheet"][ui-dialog~="right"]) {
  width: min(75vw, 24rem);
  max-width: 24rem;
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="left"]) {
  transform: translateX(-2.5rem);

  &:where([open]) {
    transform: translateX(0);
  }
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="right"]) {
  transform: translateX(2.5rem);

  &:where([open]) {
    transform: translateX(0);
  }
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="top"]) {
  inset-inline: 0;
  max-height: 100dvh;
  transform: translateY(-2.5rem);

  &:where([open]) {
    transform: translateY(0);
  }
}

:where(dialog[ui-dialog~="sheet"][ui-dialog~="bottom"]) {
  inset-inline: 0;
  max-height: 100dvh;
  transform: translateY(2.5rem);

  &:where([open]) {
    transform: translateY(0);
  }
}

@starting-style {
  :where(dialog[ui-dialog][open]) {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
  }

  :where(dialog[ui-dialog~="left"][open]) {
    transform: translateX(-100%);
  }

  :where(dialog[ui-dialog~="right"][open]) {
    transform: translateX(100%);
  }

  :where(dialog[ui-dialog~="top"][open]) {
    transform: translateY(-100%);
  }

  :where(dialog[ui-dialog~="bottom"][open]) {
    transform: translateY(100%);
  }

  :where(dialog[ui-dialog~="sheet"][ui-dialog~="left"][open]) {
    transform: translateX(-2.5rem);
    opacity: 0;
  }

  :where(dialog[ui-dialog~="sheet"][ui-dialog~="right"][open]) {
    transform: translateX(2.5rem);
    opacity: 0;
  }

  :where(dialog[ui-dialog~="sheet"][ui-dialog~="top"][open]) {
    transform: translateY(-2.5rem);
    opacity: 0;
  }

  :where(dialog[ui-dialog~="sheet"][ui-dialog~="bottom"][open]) {
    transform: translateY(2.5rem);
    opacity: 0;
  }
}

:where(dialog[ui-dialog] > header) {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

:where(dialog[ui-dialog] > header > p) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

:where(dialog[ui-dialog] > button[command="close"]:not([ui-off])) {
  position: absolute;
  inset-block-start: 0.5rem;
  inset-inline-end: 0.5rem;
  width: 1.75rem;
  min-width: 1.75rem;
  height: 1.75rem;
  min-height: 1.75rem;
  border-radius: 0.5rem;
  padding: 0;
}

:where(dialog[ui-dialog] > [role="region"]) {
  max-height: 70vh;
  overflow-y: auto;
  margin-inline: -1rem;
  padding-inline: 1rem;
  overscroll-behavior: contain;
}

:where(dialog[ui-dialog] > footer) {
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0.5rem;
  margin-inline: -1rem;
  margin-block-end: -1rem;
  border-block-start: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
  border-end-start-radius: 0.75rem;
  border-end-end-radius: 0.75rem;
  padding: 1rem;
  background-color: light-dark(
    color-mix(in oklch, var(--ui-zinc-50) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-800) 50%, transparent)
  );
}

:where(dialog[ui-dialog~="sheet"] > footer) {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}

@media (min-width: 40rem) {
  :where(dialog[ui-dialog] > footer) {
    flex-direction: row;
    justify-content: flex-end;
  }
}

:where(dialog[ui-dialog] > footer button:not([ui-button~="xs"], [ui-button~="sm"], [ui-button~="lg"], [ui-button~="wide"])) {
  height: 2rem;
  min-height: 2rem;
  border-radius: 0.625rem;
  padding-block: 0.375rem;
  padding-inline: 0.625rem;
}

:where(dialog[ui-dialog])::backdrop {
  opacity: 0;
  background: color-mix(in oklch, var(--ui-black) 10%, transparent);
  backdrop-filter: blur(4px);
  transition:
    opacity 100ms ease,
    display 100ms allow-discrete,
    overlay 100ms allow-discrete;
}

:where(dialog[ui-dialog][open])::backdrop {
  opacity: 1;
}

@starting-style {
  :where(dialog[ui-dialog][open])::backdrop {
    opacity: 0;
  }
}

:where(dialog[ui-dialog~="left"]::backdrop, dialog[ui-dialog~="right"]::backdrop,
  dialog[ui-dialog~="top"]::backdrop, dialog[ui-dialog~="bottom"]::backdrop) {
  transition:
    opacity 450ms cubic-bezier(0.32, 0.72, 0, 1),
    display 450ms allow-discrete,
    overlay 450ms allow-discrete;
}

:where(dialog[ui-dialog~="sheet"])::backdrop {
  transition:
    opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),
    display 150ms allow-discrete,
    overlay 150ms allow-discrete;
}

:where(dialog[ui-dialog~="left"][open], dialog[ui-dialog~="right"][open],
  dialog[ui-dialog~="top"][open], dialog[ui-dialog~="bottom"][open]) {
  display: flex;
  flex-direction: column;
}

:where(dialog[ui-dialog~="left"] > *:not(header):not(footer):not(button[command="close"]:not([ui-off])),
  dialog[ui-dialog~="right"] > *:not(header):not(footer):not(button[command="close"]:not([ui-off]))) {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
}

:where(dialog[ui-dialog~="top"] > *:not(header):not(footer):not(button[command="close"]:not([ui-off])),
  dialog[ui-dialog~="bottom"] > *:not(header):not(footer):not(button[command="close"]:not([ui-off]))) {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
}

:where(dialog[ui-dialog~="left"] > footer, dialog[ui-dialog~="right"] > footer,
  dialog[ui-dialog~="top"] > footer, dialog[ui-dialog~="bottom"] > footer) {
  margin-block-start: auto;
}

:where(body:has(dialog[ui-dialog]:modal:not([ui-dialog~="allow-page-scroll"]))) {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  :where(dialog[ui-dialog]),
  :where(dialog[ui-dialog])::backdrop {
    transition: none;
    backdrop-filter: none;
  }
}

/* Side dialogs use the selected size as their width. */
:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"]):where([ui-dialog~="xs"]) {
  width: min(75vw, 20rem);
  max-width: 20rem;
}

:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"]):where([ui-dialog~="sm"]) {
  width: min(75vw, 37.5rem);
  max-width: 37.5rem;
}

:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"]):where([ui-dialog~="md"]) {
  width: min(75vw, 50rem);
  max-width: 50rem;
}

:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"]):where([ui-dialog~="lg"]) {
  width: min(75vw, 75rem);
  max-width: 75rem;
}

:where(dialog[ui-dialog~="left"], dialog[ui-dialog~="right"]):where([ui-dialog~="xl"]) {
  width: min(75vw, 100rem);
  max-width: 100rem;
}

}
@layer core {
/* library/components/description-list.css */

/* Description List: semantic term/value pairs with a compact vertical default. */
:where(dl[ui-description-list]:not([ui-off])) {
  display: grid;
  gap: 1rem;
}

:where(dl[ui-description-list]:not([ui-off]) > div:not([ui-off])) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  min-width: 0;
}

:where(dl[ui-description-list]:not([ui-off]) dt:not([ui-off])) {
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

:where(dl[ui-description-list]:not([ui-off]) dd:not([ui-off])) {
  min-width: 0;
  overflow-wrap: anywhere;
}

:where(dl[ui-description-list~="horizontal"]:not([ui-off]) > div:not([ui-off])) {
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 2fr);
  align-items: baseline;
  gap: 1rem;
}

@media (max-width: 40rem) {
  :where(dl[ui-description-list~="horizontal"]:not([ui-off]) > div:not([ui-off])) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }
}

}
@layer core {
/* library/components/popover.css */

/* Faunder UI popover: native Popover API behavior with a themed surface. */
:where([ui-popover]:not([ui-off]) > [popover]:not([ui-off])) {

  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: min(18rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  margin: auto;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
  border-radius: 0.625rem;
  padding: 1rem;
  background-color: light-dark(var(--ui-white), var(--ui-zinc-900));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  font-size: 0.875rem;
  line-height: 1.25rem;
  box-shadow:
    0 4px 6px -1px light-dark(color-mix(in oklch, var(--ui-black) 10%, transparent), color-mix(in oklch, var(--ui-black) 30%, transparent)),
    0 2px 4px -2px light-dark(color-mix(in oklch, var(--ui-black) 10%, transparent), color-mix(in oklch, var(--ui-black) 30%, transparent));
  opacity: 0;
  transform: scale(0.95);
  transform-origin: center top;
  transition:
    opacity 120ms ease,
    transform 120ms ease,
    display 120ms allow-discrete,
    overlay 120ms allow-discrete;

  &:where(:popover-open) {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }

  @supports (position-area: block-end) {
    inset: auto;
    margin: 0;
    position-area: block-end;
    justify-self: anchor-center;
    align-self: anchor-center;
    position-try-fallbacks: flip-block, flip-inline;
  }

}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off]) > [popover]:not([ui-off])) {
    margin-block-start: 0.25rem;
  }

  :where([ui-popover]:not([ui-off])[ui-popover~="top"] > [popover]:not([ui-off])) {
    margin-block-start: 0;
    margin-block-end: 0.25rem;
  }

  :where([ui-popover]:not([ui-off])[ui-popover~="left"] > [popover]:not([ui-off])) {
    margin-block-start: 0;
    margin-right: 0.25rem;
  }

  :where([ui-popover]:not([ui-off])[ui-popover~="right"] > [popover]:not([ui-off])) {
    margin-block-start: 0;
    margin-left: 0.25rem;
  }
}

:where([ui-popover]:not([ui-off]) > [popover]:not([ui-off]) > header) {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

:where([ui-popover]:not([ui-off]) > [popover]:not([ui-off]) > header > p) {
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@starting-style {
  :where([ui-popover]:not([ui-off]) > [popover]:not([ui-off]):popover-open) {
    opacity: 0;
    transform: scale(0.95);
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="top"] > [popover]:not([ui-off])) {
  transform-origin: center bottom;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="top"] > [popover]:not([ui-off])) {
    position-area: block-start;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="bottom"][ui-popover~="start"] > [popover]:not([ui-off]),
  [ui-popover]:not([ui-off]):not([ui-popover~="top"], [ui-popover~="left"], [ui-popover~="right"], [ui-popover~="bottom"])[ui-popover~="start"] > [popover]:not([ui-off])) {
  transform-origin: left top;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="bottom"][ui-popover~="start"] > [popover]:not([ui-off]),
    [ui-popover]:not([ui-off]):not([ui-popover~="top"], [ui-popover~="left"], [ui-popover~="right"], [ui-popover~="bottom"])[ui-popover~="start"] > [popover]:not([ui-off])) {
    position-area: block-end span-inline-end;
    justify-self: start;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="bottom"][ui-popover~="end"] > [popover]:not([ui-off]),
  [ui-popover]:not([ui-off]):not([ui-popover~="top"], [ui-popover~="left"], [ui-popover~="right"], [ui-popover~="bottom"])[ui-popover~="end"] > [popover]:not([ui-off])) {
  transform-origin: right top;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="bottom"][ui-popover~="end"] > [popover]:not([ui-off]),
    [ui-popover]:not([ui-off]):not([ui-popover~="top"], [ui-popover~="left"], [ui-popover~="right"], [ui-popover~="bottom"])[ui-popover~="end"] > [popover]:not([ui-off])) {
    position-area: block-end span-inline-start;
    justify-self: end;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="top"][ui-popover~="start"] > [popover]:not([ui-off])) {
  transform-origin: left bottom;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="top"][ui-popover~="start"] > [popover]:not([ui-off])) {
    position-area: block-start span-inline-end;
    justify-self: start;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="top"][ui-popover~="end"] > [popover]:not([ui-off])) {
  transform-origin: right bottom;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="top"][ui-popover~="end"] > [popover]:not([ui-off])) {
    position-area: block-start span-inline-start;
    justify-self: end;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="left"] > [popover]:not([ui-off])) {
  transform-origin: right center;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="left"] > [popover]:not([ui-off])) {
    position-area: left;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="right"] > [popover]:not([ui-off])) {
  transform-origin: left center;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="right"] > [popover]:not([ui-off])) {
    position-area: right;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="start"] > [popover]:not([ui-off]),
  [ui-popover]:not([ui-off])[ui-popover~="right"][ui-popover~="start"] > [popover]:not([ui-off])) {
  transform-origin: left top;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="start"] > [popover]:not([ui-off]),
    [ui-popover]:not([ui-off])[ui-popover~="right"][ui-popover~="start"] > [popover]:not([ui-off])) {
    position-area: right span-top;
    align-self: start;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="end"] > [popover]:not([ui-off]),
  [ui-popover]:not([ui-off])[ui-popover~="right"][ui-popover~="end"] > [popover]:not([ui-off])) {
  transform-origin: left bottom;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="end"] > [popover]:not([ui-off]),
    [ui-popover]:not([ui-off])[ui-popover~="right"][ui-popover~="end"] > [popover]:not([ui-off])) {
    position-area: right span-bottom;
    align-self: end;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="start"] > [popover]:not([ui-off])) {
  transform-origin: right top;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="start"] > [popover]:not([ui-off])) {
    position-area: left span-bottom;
  }
}

:where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="end"] > [popover]:not([ui-off])) {
  transform-origin: right bottom;
}

@supports (position-area: block-end) {
  :where([ui-popover]:not([ui-off])[ui-popover~="left"][ui-popover~="end"] > [popover]:not([ui-off])) {
    position-area: left span-top;
  }
}





@media (prefers-reduced-motion: reduce) {
  :where([ui-popover]:not([ui-off]) > [popover]:not([ui-off])) {
    transition: none;
  }
}

}
@layer core {
/* library/components/pagination.css */

/* Pagination */
:where(nav[ui-pagination]:not([ui-off])) {
  display: flex;
  justify-content: center;
  inline-size: 100%;
}

:where(nav[ui-pagination]:not([ui-off]) > ul) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

:where(nav[ui-pagination]:not([ui-off]) > ul > li) {
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(nav[ui-pagination]:not([ui-off]) a) {
  display: inline-flex;
  min-inline-size: 2.25rem;
  block-size: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding-inline: 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

:where(nav[ui-pagination]:not([ui-off]) a[aria-current="page"]) {
  border-color: light-dark(var(--ui-zinc-200), var(--ui-zinc-700));
  background: light-dark(var(--ui-white), var(--ui-zinc-950));
  box-shadow: 0 1px 2px light-dark(color-mix(in oklch, var(--ui-black) 8%, transparent), color-mix(in oklch, var(--ui-black) 24%, transparent));
}

:where(nav[ui-pagination]:not([ui-off]) a[aria-disabled="true"]) {
  color: light-dark(var(--ui-zinc-400), var(--ui-zinc-600));
  pointer-events: none;
}

@media (hover: hover) {
  :where(nav[ui-pagination]:not([ui-off]) a:not([aria-current="page"], [aria-disabled="true"]):hover) {
    background: light-dark(var(--ui-zinc-100), var(--ui-zinc-800));
  }
}

:where(nav[ui-pagination]:not([ui-off]) a:focus-visible) {
  outline: 2px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: 2px;
}

:where(nav[ui-pagination]:not([ui-off]) li > span) {
  display: inline-flex;
  min-inline-size: 2rem;
  block-size: 2.25rem;
  align-items: center;
  justify-content: center;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
}


}
@layer core {
/* library/components/progress.css */

/* Progress uses the native progress element and its built-in accessible value. */
:where(progress[ui-progress]:not([ui-off])) {
  appearance: none;
  display: block;
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  border: 0;
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  vertical-align: middle;
}

:where(progress[ui-progress]:not([ui-off]))::-webkit-progress-bar {
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
}

:where(progress[ui-progress]:not([ui-off]))::-webkit-progress-value {
  border-radius: 9999px;
  background: currentColor;
}

:where(progress[ui-progress]:not([ui-off]))::-moz-progress-bar {
  border-radius: 9999px;
  background: currentColor;
}

:where(progress[ui-progress][ui-color]:not([ui-off])) {
  color: light-dark(var(--ui-color-600), var(--ui-color-300));
}

}
@layer core {
/* library/components/menu.css */

/* A composable menu layout for native links and controls. */
:where([ui-menu]:not([ui-off])) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  inline-size: max-content;
  min-inline-size: min(8rem, 100%);
  max-inline-size: min(24rem, calc(100vw - 1rem));
  max-block-size: calc(100dvh - 1rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 12%, transparent));
  border-radius: 0.375rem;
  padding: 0.25rem;
  background: light-dark(var(--ui-white), var(--ui-zinc-900));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  box-shadow:
    0 4px 6px -1px color-mix(in oklch, var(--ui-black) 10%, transparent),
    0 2px 4px -2px color-mix(in oklch, var(--ui-black) 10%, transparent),
    0 0 0 1px light-dark(color-mix(in oklch, var(--ui-zinc-900) 10%, transparent), color-mix(in oklch, var(--ui-zinc-50) 10%, transparent));
  font-size: 0.875rem;
  line-height: 1.25rem;
}

:where([ui-menu][popover]:not([ui-off])) {
  position: fixed;
  inset: 0;
  z-index: 50;
  margin: auto;
  opacity: 0;
  transform: scale(0.95);
  transform-origin: left top;
  transition:
    opacity 100ms ease,
    transform 100ms ease,
    translate 100ms ease,
    overlay 100ms allow-discrete;
}

:where([ui-menu][popover]:popover-open) {
  opacity: 1;
  transform: scale(1);
  translate: 0 0;
}

@supports (position-area: block-end) {
  :where([ui-menu][popover]:not([ui-off])) {
    inset: auto;
    margin: 0;
    position-area: block-end span-inline-end;
    justify-self: start;
    align-self: start;
    position-try-fallbacks: flip-block, flip-inline;
    margin-block-start: 0.25rem;
  }
}

/* Placement tokens apply only where anchor positioning is supported. A single-keyword
   position-area spans the whole viewport on its other axis, so centred placements use
   anchor-center and side placements span from the anchor edge they align with. */
@supports (position-area: block-end) {
  :where([ui-menu~="bottom-center"][popover]:not([ui-off])) {
    position-area: block-end;
    justify-self: anchor-center;
  }

  :where([ui-menu~="bottom-right"][popover]:not([ui-off])) {
    position-area: block-end span-inline-start;
    justify-self: end;
  }

  :where([ui-menu~="top-left"][popover]:not([ui-off])) {
    position-area: block-start span-inline-end;
    align-self: end;
  }

  :where([ui-menu~="top"][popover]:not([ui-off])) {
    position-area: block-start;
    justify-self: anchor-center;
    align-self: end;
  }

  :where([ui-menu~="top-right"][popover]:not([ui-off])) {
    position-area: block-start span-inline-start;
    justify-self: end;
    align-self: end;
  }

  :where(:is([ui-menu~="top-left"], [ui-menu~="top"], [ui-menu~="top-right"])[popover]:not([ui-off])) {
    margin-block: 0 0.25rem;
  }

  :where(:is([ui-menu~="left"], [ui-menu~="left-top"], [ui-menu~="left-bottom"], [ui-menu~="right"], [ui-menu~="right-top"], [ui-menu~="right-bottom"])[popover]:not([ui-off])) {
    margin-block: 0;
  }

  :where([ui-menu~="left"][popover]:not([ui-off])) {
    position-area: left;
    justify-self: end;
    align-self: anchor-center;
    margin-inline-end: 0.25rem;
  }

  :where([ui-menu~="left-top"][popover]:not([ui-off])) {
    position-area: left span-bottom;
    justify-self: end;
    align-self: start;
    margin-inline-end: 0.25rem;
  }

  :where([ui-menu~="left-bottom"][popover]:not([ui-off])) {
    position-area: left span-top;
    justify-self: end;
    align-self: end;
    margin-inline-end: 0.25rem;
  }

  :where([ui-menu~="right"][popover]:not([ui-off])) {
    position-area: right;
    justify-self: start;
    align-self: anchor-center;
    margin-inline-start: 0.25rem;
  }

  :where([ui-menu~="right-top"][popover]:not([ui-off])) {
    position-area: right span-bottom;
    justify-self: start;
    align-self: start;
    margin-inline-start: 0.25rem;
  }

  :where([ui-menu~="right-bottom"][popover]:not([ui-off])) {
    position-area: right span-top;
    justify-self: start;
    align-self: end;
    margin-inline-start: 0.25rem;
  }
}

@supports (min-width: anchor-size(width)) {
  :where([ui-menu][popover]:not([ui-off])) {
    min-inline-size: min(calc(100vw - 1rem), max(8rem, anchor-size(width)));
  }
}

@starting-style {
  :where([ui-menu][popover]:popover-open) {
    opacity: 0;
    transform: scale(0.95);
    translate: 0 -0.5rem;
  }
}

:where([ui-menu~="unframed"]:not([ui-off])) {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

:where([ui-menu]:has(> details[open]):not([ui-off])) {
  max-block-size: none;
  overflow: visible;
}

:where([ui-menu][popover]:not(:popover-open):not([ui-off])) {
  display: none;
}

:where([ui-menu][popover]:popover-open:not([ui-off])) {
  display: flex;
}

:where([ui-menu] > header:not([ui-off])) {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.375rem 0.5rem;
}

:where([ui-menu] > :is(section, [role="group"]):not([ui-off])) {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-inline-size: 0;
}

:where([ui-menu] input[type="radio"]:not([ui-off])) {
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin: 0;
}

:where([ui-menu] :is(button, a, summary):not([ui-off])) {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 2rem;
  height: auto;
  border: 0;
  border-radius: 0.25rem;
  padding: 0.375rem 0.5rem;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-weight: 400;
  line-height: 1.25rem;
  text-align: start;
  text-decoration: none;
  transform: none;
  transition: background-color 100ms ease, color 100ms ease, outline-color 100ms ease;
  cursor: default;
}

:where([ui-menu] > details:not([ui-off])) {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  min-inline-size: 0;
}

:where([ui-menu] details > summary:not([ui-off])) {
  list-style: none;
  cursor: pointer;
}

:where([ui-menu] details > summary:not([ui-off])::-webkit-details-marker) {
  display: none;
}

:where([ui-menu] details > summary:not([ui-off])::after) {
  inline-size: 0.375rem;
  block-size: 0.375rem;
  flex: 0 0 auto;
  margin-inline-start: auto;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 120ms ease;
}

:where([ui-menu] details[open] > summary:not([ui-off])::after) {
  transform: rotate(135deg);
}



:where([ui-menu] details > [role="group"]:not([ui-off])) {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  position: absolute;
  z-index: 2;
  inset-block-start: 0;
  inset-inline-start: calc(100% + 0.375rem);
  min-inline-size: 11rem;
  max-inline-size: min(16rem, calc(100vw - 2rem));
  margin: 0;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 12%, transparent));
  border-radius: 0.5rem;
  padding: 0.375rem;
  box-shadow:
    0 16px 32px -16px color-mix(in oklch, var(--ui-black) 28%, transparent),
    0 2px 6px color-mix(in oklch, var(--ui-black) 12%, transparent);
}

:where([ui-menu]:not([ui-menu~="unframed"]) details > [role="group"]:not([ui-off])) {
  background: light-dark(var(--ui-white), var(--ui-zinc-900));
}

:where([ui-menu] details:not([open]) > [role="group"]:not([ui-off])) {
  display: none;
}

:where([ui-menu] details[open] > summary:not([ui-off])) {
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}

@media (max-width: 40rem) {
  :where([ui-menu]:has(> details[open]):not([ui-off])) {
    max-block-size: calc(100dvh - 1rem);
    overflow: auto;
  }

  :where([ui-menu] details[open] > [role="group"]:not([ui-off])) {
    position: static;
    min-inline-size: 0;
    max-inline-size: 100%;
    margin-block-start: 0.25rem;
    margin-inline: 0.25rem;
    box-shadow: none;
  }
}

@media (hover: hover) {
  :where([ui-menu] :is(button, a, summary):not(:disabled, [aria-disabled="true"], [ui-off]):hover) {
    background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  }
}

:where([ui-menu] :is(button, a, summary):not([ui-off]):focus-visible) {
  outline: 2px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: -2px;
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}

:where([ui-menu] :is(button, a)[ui-color]:not([ui-off])) {
  color: light-dark(var(--ui-color-600), var(--ui-color-400));
}

:where([ui-menu] :is(button, a)[ui-color]:focus-visible) {
  background: light-dark(
    color-mix(in oklch, var(--ui-color-600) 10%, transparent),
    color-mix(in oklch, var(--ui-color-400) 20%, transparent)
  );
  color: light-dark(var(--ui-color-600), var(--ui-color-400));
}

@media (hover: hover) {
  :where([ui-menu] :is(button, a)[ui-color]:not(:disabled, [aria-disabled="true"], [ui-off]):hover) {
    background: light-dark(var(--ui-color-50), var(--ui-color-800));
    color: light-dark(var(--ui-color-600), var(--ui-color-300));
  }
}

:where([ui-menu] :is(button, a, summary):is(:disabled, [aria-disabled="true"])) {
  opacity: 0.5;
}

:where([ui-menu] label:has(> input:is([type="checkbox"], [type="radio"]))) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-block-size: 2rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.25rem;
  line-height: 1.25rem;
  cursor: pointer;
}

@media (hover: hover) {
  :where([ui-menu] label:has(> input:is([type="checkbox"], [type="radio"])):hover) {
    background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
  }
}

:where([ui-menu] label:has(> input:is([type="checkbox"], [type="radio"]):disabled)) {
  opacity: 0.5;
  cursor: not-allowed;
}

:where([ui-menu] kbd) {
  margin-inline-start: auto;
}

:where([ui-menu] :is(button, a, summary) :is(i[ui-icon], svg)) {
  inline-size: 1rem;
  block-size: 1rem;
  flex: 0 0 auto;
  pointer-events: none;
}

:where([ui-menu] > hr:not([ui-off])) {
  box-sizing: border-box;
  inline-size: auto;
  block-size: 1px;
  min-block-size: 1px;
  flex: 0 0 auto;
  margin: 0.25rem 0;
  border: 0;
  padding: 0;
  background: light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
}

:where([ui-menu]:not([ui-menu~="unframed"]) > hr:not([ui-off])) {
  margin-inline: -0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-menu] :is(button, a, summary):not([ui-off])) {
    transition-duration: 0ms;
  }

  :where([ui-menu] details > summary:not([ui-off])::after) {
    transition-duration: 0ms;
  }

  :where([ui-menu][popover]:not([ui-off])) {
    transition-duration: 0ms;
  }
}

}
@layer core {
/* library/components/checkbox.css */

/* Faunder UI checkbox: Base Nova sizing and states with Faunder's native input API. */
:where(input[type="checkbox"]:not([ui-off], [ui-switch], [ui-toggle])[disabled] + label:not([ui-off]),
  label:not([ui-off]):has(> input[type="checkbox"]:not([ui-off], [ui-switch], [ui-toggle])[disabled]),
  label:not([ui-off]):has(+ input[type="checkbox"]:not([ui-off], [ui-switch], [ui-toggle])[disabled])) {
  cursor: default;
  color: var(--ui-zinc-500);
}
:where(input[type="checkbox"]:not([ui-off], [ui-switch], [ui-toggle])) {
  display: inline-block;
  position: relative;
  vertical-align: text-bottom;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 4px;
  background: light-dark(transparent, color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  user-select: none;
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;

  &:where(:checked), &:where(:indeterminate) {
    border-color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  }

  &:where(:checked)::after {
    position: absolute;
    inset: 0;
    margin: auto;
    background: light-dark(var(--ui-white), var(--ui-zinc-950));
    width: 14px;
    height: 14px;
    content: "";
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206%209%2017%20l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  &:where(:indeterminate)::after {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 1px;
    background: light-dark(var(--ui-white), var(--ui-zinc-950));
    width: 8px;
    height: 2px;
    content: "";
  }

  &:where(:user-invalid), &:where([aria-invalid="true"]) {
    border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
  }

  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &:where(:user-invalid:focus-visible, [aria-invalid="true"]:focus-visible) {
    border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-red-600) 20%, transparent),
      color-mix(in oklch, var(--ui-red-400) 40%, transparent)
    );
  }

  &:where(:disabled) {
    cursor: not-allowed;
    opacity: 0.5;
  }

}

@media (prefers-reduced-motion: reduce) {
  :where(input[type="checkbox"]:not([ui-off], [ui-switch], [ui-toggle])) { transition: none; }
}

}
@layer core {
/* library/components/radio.css */

/* Faunder UI radio: Base Nova sizing and states with Faunder's native input API. */
:where(input[type="radio"]:not([ui-off], [ui-switch], [ui-toggle])[disabled] + label:not([ui-off]),
  label:not([ui-off]):has(> input[type="radio"]:not([ui-off], [ui-switch], [ui-toggle])[disabled]),
  label:not([ui-off]):has(+ input[type="radio"]:not([ui-off], [ui-switch], [ui-toggle])[disabled])) {
  cursor: default;
  color: var(--ui-zinc-500);
}
:where(input[type="radio"]:not([ui-off], [ui-switch], [ui-toggle])) {
  display: inline-block;
  position: relative;
  vertical-align: text-bottom;
  appearance: none;
  cursor: pointer;
  box-shadow: none;
  outline: none;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 50%;
  background: light-dark(transparent, color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  user-select: none;

  &:where(:checked) {
    border-color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
    background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  }

  &:where(:checked)::after {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    border-radius: 50%;
    background: light-dark(var(--ui-white), var(--ui-zinc-950));
    width: 7px;
    height: 7px;
    content: "";
  }

  &:where(:user-invalid), &:where([aria-invalid="true"]) {
    border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
  }

  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &:where(:user-invalid:focus-visible, [aria-invalid="true"]:focus-visible) {
    border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-red-600) 20%, transparent),
      color-mix(in oklch, var(--ui-red-400) 40%, transparent)
    );
  }

  &:where(:disabled) {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

}
@layer core {
/* library/components/slider.css */

/* Slider styles one native range input; the browser supplies keyboard and form behavior. */
:where(input[type="range"][ui-slider]:not([ui-off])) {
  appearance: none;
  direction: ltr;
  display: block;
  width: 100%;
  min-width: 4rem;
  height: 1.25rem;
  margin: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  padding: 0;
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  cursor: pointer;
  touch-action: pan-y;
  outline: none;
}

:where(input[type="range"][ui-slider]:not([ui-off]))::-webkit-slider-runnable-track {
  height: 0.25rem;
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
}

:where(input[type="range"][ui-slider]:not([ui-off]))::-moz-range-track {
  height: 0.25rem;
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
}

:where(input[type="range"][ui-slider]:not([ui-off]))::-moz-range-progress {
  height: 0.25rem;
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}

:where(input[type="range"][ui-slider]:not([ui-off]))::-webkit-slider-thumb {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin-top: -0.375rem;
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  border-radius: 9999px;
  background: light-dark(var(--ui-white), var(--ui-zinc-50));
  box-shadow: 0 1px 2px color-mix(in oklch, var(--ui-black) 15%, transparent);
}

:where(input[type="range"][ui-slider]:not([ui-off]))::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  border-radius: 9999px;
  background: light-dark(var(--ui-white), var(--ui-zinc-50));
  box-shadow: 0 1px 2px color-mix(in oklch, var(--ui-black) 15%, transparent);
}

:where(input[type="range"][ui-slider]:not([ui-off]):focus-visible) {
  outline: 2px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: 3px;
}

:where(input[type="range"][ui-slider~="vertical"]:not([ui-off])) {
  width: 1.25rem;
  height: 10rem;
  writing-mode: vertical-lr;
  transform: scaleY(-1);
  touch-action: pan-x;
}

:where(input[type="range"][ui-slider]:not([ui-off]):disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

}
@layer core {
/* library/components/skeleton.css */

/* Skeleton uses fixed presets so examples need no inline sizing. */
:where([ui-skeleton]:not([ui-off])) {
  display: block;
  width: 100%;
  height: 0.875rem;
  min-width: 0;
  border-radius: 0.375rem;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
  animation: ui-skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

:where([ui-skeleton="text-medium"]:not([ui-off])) {
  width: 82%;
}

:where([ui-skeleton="text-short"]:not([ui-off])) {
  width: 58%;
}

:where([ui-skeleton="heading"]:not([ui-off])) {
  width: 12rem;
  height: 1.25rem;
}

:where([ui-skeleton="avatar"]:not([ui-off])) {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

@keyframes ui-skeleton-pulse {
  50% { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-skeleton]:not([ui-off])) { animation: none; }
}

}
@layer core {
/* library/components/status-dot.css */

/* Status Dot: a decorative visual indicator; pair it with a text label. */
:where([ui-status-dot]:not([ui-off])) {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  vertical-align: middle;
}

:where([ui-status-dot~="sm"]:not([ui-off])) {
  width: 0.375rem;
  height: 0.375rem;
}

:where([ui-status-dot~="lg"]:not([ui-off])) {
  width: 0.625rem;
  height: 0.625rem;
}

:where([ui-status-dot][ui-color]:not([ui-off])) {
  background-color: light-dark(var(--ui-color-600), var(--ui-color-400));
}

}
@layer core {
/* library/components/scroll-area.css */

/* Scroll area */
:where([ui-scroll-area]:not([ui-off])) {
  display: block;
  max-inline-size: 100%;
  block-size: 12rem;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: light-dark(var(--ui-zinc-400), var(--ui-zinc-600)) transparent;
  scrollbar-width: thin;
}

:where([ui-scroll-area~="sm"]:not([ui-off])) {
  block-size: 8rem;
}

:where([ui-scroll-area~="md"]:not([ui-off])) {
  block-size: 12rem;
}

:where([ui-scroll-area~="lg"]:not([ui-off])) {
  block-size: 20rem;
}

:where([ui-scroll-area~="vertical"]:not([ui-off])) {
  overflow-x: hidden;
  overflow-y: auto;
}

:where([ui-scroll-area~="horizontal"]:not([ui-off])) {
  block-size: auto;
  min-block-size: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

:where([ui-scroll-area~="both"]:not([ui-off])) {
  overflow: auto;
}

:where([ui-scroll-area]:not([ui-off]))::-webkit-scrollbar {
  width: 0.625rem;
  height: 0.625rem;
}

:where([ui-scroll-area]:not([ui-off]))::-webkit-scrollbar-track {
  background: transparent;
}

:where([ui-scroll-area]:not([ui-off]))::-webkit-scrollbar-corner {
  background: transparent;
}

:where([ui-scroll-area]:not([ui-off]))::-webkit-scrollbar-thumb {
  border: 1px solid transparent;
  border-radius: 999px;
  background: light-dark(var(--ui-zinc-400), var(--ui-zinc-600));
  background-clip: padding-box;
}

:where([ui-scroll-area]:not([ui-off])):focus-visible {
  outline: 1px solid light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  outline-offset: 0;
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
  );
}

}
@layer core {
/* library/components/switch.css */

/* Switch: styled native, form-capable checkbox. */
:where(input[type="checkbox"][ui-switch]:not([ui-off])) {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
  vertical-align: middle;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 12%, transparent));
  width: 32px;
  height: 18.4px;
  color: transparent;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;

  &:where([ui-switch~="xs"]) {
    width: 16px;
    height: 12px;
  }

  &:where([ui-switch~="sm"]) {
    width: 24px;
    height: 14px;
  }

  &:where([ui-switch~="lg"]) {
    width: 40px;
    height: 22px;
  }

  &:where([ui-switch~="xl"]) {
    width: 48px;
    height: 26px;
  }

  &::before {
    position: absolute;
    top: 50%;
    inset-inline-start: 1px;
    border-radius: 9999px;
    background: light-dark(var(--ui-white), var(--ui-zinc-50));
    width: 14px;
    height: 14px;
    content: "";
    transform: translateY(-50%);
    transition: transform 150ms ease;
  }

  &:where([ui-switch~="xs"])::before {
    width: 6px;
    height: 6px;
  }

  &:where([ui-switch~="sm"])::before {
    width: 10px;
    height: 10px;
  }

  &:where([ui-switch~="lg"])::before {
    width: 18px;
    height: 18px;
  }

  &:where([ui-switch~="xl"])::before {
    width: 22px;
    height: 22px;
  }

  &::after {
    position: absolute;
    inset: -0.5rem -0.75rem;
    content: "";
  }

  &:where(:checked) {
    background: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  }

  &:where(:checked)::before {
    background: light-dark(var(--ui-white), var(--ui-zinc-950));
    transform: translateX(100%) translateY(-50%);
  }

  &:where(:focus-visible) {
    border-color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-600) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &:where(:user-invalid, [aria-invalid="true"]) {
    border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-red-600) 20%, transparent),
      color-mix(in oklch, var(--ui-red-400) 40%, transparent)
    );
  }

  &:where(:user-invalid:focus-visible, [aria-invalid="true"]:focus-visible) {
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-red-600) 20%, transparent),
      color-mix(in oklch, var(--ui-red-400) 40%, transparent)
    );
  }

  &:where(:disabled) {
    cursor: not-allowed;
    opacity: 0.5;
  }
}


:where(label:not([ui-off]):has(> input[type="checkbox"][ui-switch]:not([ui-off]))) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

:where(label:not([ui-off]):has(+ input[type="checkbox"][ui-switch]:not([ui-off]))) {
  cursor: pointer;
}

:where(label:not([ui-off]):has(> input[type="checkbox"][ui-switch]:not([ui-off])[disabled])) {
  cursor: default;
  color: var(--ui-zinc-500);
}

:where(label:not([ui-off]):has(+ input[type="checkbox"][ui-switch]:not([ui-off])[disabled])) {
  cursor: default;
  color: var(--ui-zinc-500);
}

:where(input[type="checkbox"][ui-switch]:not([ui-off]) + label:not([ui-off])) {
  cursor: pointer;
}

:where(input[type="checkbox"][ui-switch]:not([ui-off])[disabled] + label:not([ui-off])) {
  cursor: default;
  color: var(--ui-zinc-500);
}

:where(label:has(> [ui-field]):has(input[type="checkbox"][ui-switch]:focus-visible) input[type="checkbox"][ui-switch]:not([ui-off]):focus-visible) {
  border-color: transparent;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  :where(input[type="checkbox"][ui-switch]:not([ui-off])) { transition: none; }
  :where(input[type="checkbox"][ui-switch]:not([ui-off])::before) { transition: none; }
}

}
@layer core {
/* library/components/toggle.css */

/* A native checkbox styled as a two-state button. */
:where(label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms, color 150ms, box-shadow 150ms;

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:checked:not([ui-off]))) {
    background: light-dark(
      oklch(from var(--ui-zinc-100) calc(l - 2%) c h),
      oklch(from var(--ui-zinc-800) calc(l - 2%) c h)
    );
    box-shadow: inset 0 0 0 1px light-dark(var(--ui-zinc-300), var(--ui-zinc-600));
  }

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="outline"]:checked:not([ui-off]))) {
    box-shadow: 0 1px 0 light-dark(
      color-mix(in oklch, var(--ui-zinc-950) 16%, transparent),
      color-mix(in oklch, var(--ui-black) 24%, transparent)
    );
  }

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:focus-visible:not([ui-off]))) {
    z-index: 1;
    outline: none;
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:disabled:not([ui-off]))) {
    opacity: 0.5;
    cursor: not-allowed;
  }

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="sm"]:not([ui-off]))) {
    height: 36px;
    min-height: 36px;
    padding: 4px 12px;
    gap: 6px;
  }

  &:where(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle~="lg"]:not([ui-off]))) {
    height: 44px;
    min-height: 44px;
    padding: 8px 24px;
  }
}

:where(label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off])) > :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off])) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  :where(label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))) { transition: none; }
}

}
@layer core {
/* library/components/tooltip.css */

/* Tooltip */
:where([ui-tooltip]:not([ui-off])) {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

:where([ui-tooltip~="card"]:not([ui-off])) {
  display: inline-grid;
  justify-items: start;
}

:where([ui-tooltip]:not([ui-off]) > [role="tooltip"]:not([ui-off])) {
  position: absolute;
  z-index: 50;
  inset-block-end: calc(100% + 0.375rem);
  inset-inline-start: 50%;
  inline-size: max-content;
  max-inline-size: min(16rem, 80vw);
  padding: 0.375rem 0.625rem;
  border: 1px solid light-dark(var(--ui-zinc-800), var(--ui-zinc-200));
  border-radius: 0.375rem;
  background: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  box-shadow: 0 2px 8px color-mix(in oklch, var(--ui-black) 18%, transparent);
  color: light-dark(var(--ui-zinc-50), var(--ui-zinc-900));
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%);
  transition: opacity 120ms ease 180ms, visibility 0s linear 300ms;
}

:where([ui-tooltip~="card"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  display: block;
  inset-block-start: calc(100% + 0.5rem);
  inset-block-end: auto;
  inset-inline-start: 0;
  inline-size: min(18rem, calc(100vw - 2rem));
  max-inline-size: none;
  padding: 1rem;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 14%, transparent)
  );
  border-radius: 0.625rem;
  background: light-dark(var(--ui-white), var(--ui-zinc-950));
  box-shadow: 0 8px 24px light-dark(color-mix(in oklch, var(--ui-black) 10%, transparent), color-mix(in oklch, var(--ui-black) 30%, transparent));
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: start;
  transform: none;
  transition: opacity 120ms ease, visibility 0s linear 120ms;
}

:where([ui-tooltip~="card"]:not([ui-off])) > [role="tooltip"]:not([ui-off])::before {
  position: absolute;
  inset-block-end: 100%;
  inset-inline: 0;
  block-size: 0.5rem;
  content: "";
}

:where([ui-tooltip~="bottom"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: calc(100% + 0.375rem);
  inset-block-end: auto;
}

:where([ui-tooltip~="left"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: 50%;
  inset-block-end: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  left: auto;
  right: calc(100% + 0.375rem);
  transform: translateY(-50%);
}

:where([ui-tooltip~="right"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: 50%;
  inset-block-end: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  left: calc(100% + 0.375rem);
  right: auto;
  transform: translateY(-50%);
}

:where([ui-tooltip~="card"][ui-tooltip~="top"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: auto;
  inset-block-end: calc(100% + 0.5rem);
  inset-inline-start: 0;
  transform: none;
}

:where([ui-tooltip~="card"][ui-tooltip~="bottom"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: calc(100% + 0.5rem);
  inset-block-end: auto;
  inset-inline-start: 0;
  transform: none;
}

:where([ui-tooltip~="card"][ui-tooltip~="left"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: 50%;
  inset-block-end: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  left: auto;
  right: calc(100% + 0.5rem);
  transform: translateY(-50%);
}

:where([ui-tooltip~="card"][ui-tooltip~="right"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  inset-block-start: 50%;
  inset-block-end: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
  left: calc(100% + 0.5rem);
  right: auto;
  transform: translateY(-50%);
}

:where([ui-tooltip]:not([ui-off]):hover) > [role="tooltip"]:not([ui-off]),
:where([ui-tooltip]:not([ui-off]):focus-within) > [role="tooltip"]:not([ui-off]),
:where([ui-tooltip~="card"][open]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  opacity: 1;
  visibility: visible;
}

:where([ui-tooltip~="card"]:not([ui-off]):hover) > [role="tooltip"]:not([ui-off]),
:where([ui-tooltip~="card"]:not([ui-off]):focus-within) > [role="tooltip"]:not([ui-off]),
:where([ui-tooltip~="card"][open]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
  pointer-events: auto;
}

:where([ui-tooltip]:not([ui-off]):focus-within > [role="tooltip"]:not([ui-off])) {
  transition-delay: 0s;
}

:where([ui-tooltip~="card"] > [role="tooltip"] > :first-child) {
  margin-block-start: 0;
}

:where([ui-tooltip~="card"] > [role="tooltip"] > :last-child) {
  margin-block-end: 0;
}

@supports (position-area: bottom) and (anchor-scope: --ui-tooltip-trigger) {
  :where([ui-tooltip~="card"]:not([ui-off])) {
    anchor-scope: --ui-tooltip-trigger;
  }

  :where([ui-tooltip~="card"]:not([ui-off]) > :first-child) {
    anchor-name: --ui-tooltip-trigger;
  }

  :where([ui-tooltip~="card"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
    position: fixed;
    inset: auto;
    position-anchor: --ui-tooltip-trigger;
    position-area: block-end span-inline-end;
    position-try-fallbacks: flip-block, flip-inline;
  }

  :where([ui-tooltip~="card"][ui-tooltip~="top"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
    position-area: block-start span-inline-end;
  }

  :where([ui-tooltip~="card"][ui-tooltip~="bottom"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
    position-area: block-end span-inline-end;
  }

  :where([ui-tooltip~="card"][ui-tooltip~="left"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
    position-area: inline-start span-block-end;
  }

  :where([ui-tooltip~="card"][ui-tooltip~="right"]:not([ui-off])) > [role="tooltip"]:not([ui-off]) {
    position-area: inline-end span-block-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-tooltip]:not([ui-off]) > [role="tooltip"]:not([ui-off])) {
    transition: none;
  }
}

}
@layer core {
/* library/components/toast.css */

/* A notification list stays in document flow unless a position token is set. */
:where(ul[ui-toast]) {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  width: min(24rem, 100%);
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(ul[ui-toast][popover]) {
  display: none;
}

:where(ul[ui-toast][popover]:popover-open) {
  display: grid;
}

:where(ul[ui-toast~="top-left"],
  ul[ui-toast~="top-center"],
  ul[ui-toast~="top-right"],
  ul[ui-toast~="bottom-left"],
  ul[ui-toast~="bottom-center"],
  ul[ui-toast~="bottom-right"]) {
  position: fixed;
  z-index: 110;
  inset: auto;
  width: min(24rem, calc(100vw - 2rem));
  margin: 0;
  pointer-events: none;
}

:where(ul[ui-toast~="top-left"]) {
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
}

:where(ul[ui-toast~="top-center"]) {
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
}

:where(ul[ui-toast~="top-right"]) {
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
}

:where(ul[ui-toast~="bottom-left"]) {
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
}

:where(ul[ui-toast~="bottom-center"]) {
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
}

:where(ul[ui-toast~="bottom-right"]) {
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
}

:where(ul[ui-toast] > li) {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 14%, transparent));
  border-radius: 0.625rem;
  padding: 1rem;
  background-color: light-dark(var(--ui-white), var(--ui-zinc-950));
  color: inherit;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 24px light-dark(color-mix(in oklch, var(--ui-black) 10%, transparent), color-mix(in oklch, var(--ui-black) 30%, transparent));
  pointer-events: auto;
}

:where(ul[ui-toast] > li[hidden]) {
  display: none;
}

:where(ul[ui-toast] > li[ui-color]) {
  border-color: light-dark(var(--ui-color-200), var(--ui-color-800));
  background-color: light-dark(var(--ui-color-50), var(--ui-color-950));
  color: light-dark(var(--ui-color-800), var(--ui-color-100));
}

:where(ul[ui-toast] > li > header:has(> button[ui-icon="x"])) {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

:where(ul[ui-toast] > li > header > button[ui-icon="x"]) {
  flex: none;
  margin-inline-start: auto;
}

:where(ul[ui-toast] > li > :last-child) {
  margin-block-end: 0;
}

:where(ul[ui-toast] > li p) {
  margin-block: 0;
}

}
@layer core {
/* library/components/trace.css */

/* Trace: a list of steps built from native list, text and disclosure elements. */
:where([ui-trace]:not([ui-off])) {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off])) {
  min-width: 0;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off], :has(> :is(a, details))), [ui-trace]:not([ui-off]) > li:not([ui-off]) > a, [ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary) {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  text-align: start;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > a, [ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary) {
  color: inherit;
  text-decoration: none;
  transition: color 150ms;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary) {
  gap: 0.25rem;
  cursor: pointer;
  list-style: none;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary)::-webkit-details-marker {
  display: none;
}

@media (hover: hover) {
  :where([ui-trace]:not([ui-off]) > li:not([ui-off], [ui-text~="error"]) > a:hover,
    [ui-trace]:not([ui-off]) > li:not([ui-off], [ui-text~="error"]) > details > summary:hover) {
    color: light-dark(var(--ui-zinc-900), var(--ui-zinc-100));
  }
}

:where([ui-trace]:not([ui-off]) :is(li, a, summary) > i[ui-icon]:not([ui-off])) {
  flex: 0 0 auto;
  font-size: 1rem;
}

:where([ui-trace]:not([ui-off]) :is(li, a, summary) > span:not([ui-off])) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:where([ui-trace]:not([ui-off]) :is(li, a, summary) > small:not([ui-off])) {
  flex: 0 0 auto;
  color: color-mix(in oklch, currentColor 70%, transparent);
  font-size: inherit;
  font-variant-numeric: tabular-nums;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details) {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary > i[ui-icon]) {
  rotate: -90deg;
  transition: rotate 150ms;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details[open] > summary > i[ui-icon]) {
  rotate: 0deg;
}

:where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details > :not(summary, [ui-off])) {
  min-width: 0;
  margin-block: 0.5rem 0;
  margin-inline-start: 1.5rem;
  padding-block: 0.5rem;
  padding-inline-start: 1rem;
  border-inline-start: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 14%, transparent));
  overflow-wrap: anywhere;
}

:where([ui-trace]:not([ui-off]) > li[aria-busy="true"]:not([ui-off]) > span:not([ui-off]), [ui-trace]:not([ui-off]) > li[aria-busy="true"]:not([ui-off]) > :is(a, details > summary) > span:not([ui-off])) {
  color: transparent;
  background-image: linear-gradient(
    100deg,
    light-dark(var(--ui-zinc-700), var(--ui-zinc-200)) 0%,
    light-dark(var(--ui-zinc-700), var(--ui-zinc-200)) 38%,
    color-mix(in oklch, light-dark(var(--ui-zinc-700), var(--ui-zinc-200)) 80%, light-dark(var(--ui-zinc-400), var(--ui-zinc-100))) 50%,
    light-dark(var(--ui-zinc-700), var(--ui-zinc-200)) 62%,
    light-dark(var(--ui-zinc-700), var(--ui-zinc-200)) 100%
  );
  background-position: 100% 50%;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: ui-trace-shimmer 1.8s linear infinite;
}

@keyframes ui-trace-shimmer {
  to { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-trace]:not([ui-off]) > li[aria-busy="true"]:not([ui-off]) > span:not([ui-off]), [ui-trace]:not([ui-off]) > li[aria-busy="true"]:not([ui-off]) > :is(a, details > summary) > span:not([ui-off])) {
    color: light-dark(var(--ui-zinc-700), var(--ui-zinc-200));
    background-image: none;
    animation: none;
  }

  :where([ui-trace]:not([ui-off]) > li:not([ui-off]) > details > summary > i[ui-icon]) {
    transition: none;
  }
}

}
@layer core {
/* library/components/field.css */

/* Faunder UI field primitives share consistent spacing and validation states. */
:where([ui-field]) {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;

  &:where(:has([aria-invalid="true"], :user-invalid)) {
    color: light-dark(var(--ui-red-600), var(--ui-red-400));
  }

  &:where([ui-field~="horizontal"]) {
    flex-direction: row;
    align-items: center;

    & > :where(label) {
      flex: 1 1 auto;
    }

    & > :where(div:has(> p)) {
      align-self: flex-start;
    }

    & > :where(input:not([type="checkbox"], [type="radio"], [type="range"], [size], [ui-input]), select:not([ui-select]), textarea:not([cols], [ui-textarea])) {
      flex: 1 1 0;
      width: 100%;
      min-width: 0;
    }
  }
}

:where([ui-field] > div:has(> p)) {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  line-height: 1.375;
}

:where([ui-field] > label:not([ui-off]), label:not([ui-off]):has(> [ui-field])) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

:where([ui-field]:not([ui-field~="horizontal"], [ui-off]) > :where(label:not([ui-off]))) {
  width: 100%;
}

:where([ui-field~="horizontal"]:not([ui-off])) > :where(label:not([ui-off])) {
  width: fit-content;
}

:where([ui-field] > div:has(> p) > :first-child:not(label)) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.375;
}

:where([ui-field]:not([ui-off]) p:not([role="alert"], [ui-off])) {
  margin: 0;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.43;
  text-align: start;

  & :where(a) {
    text-decoration: underline;
    text-underline-offset: 0.25rem;

    &:where(:hover) {
      color: var(--ui-zinc-500);
    }
  }
}

:where([ui-field~="horizontal"]) p:not([role="alert"]) {
  text-wrap: balance;
}

:where([ui-field] [role="alert"]) {
  display: none;
  margin: 0;
  color: light-dark(var(--ui-red-600), var(--ui-red-400));
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.43;

  &:where([hidden]) {
    display: none;
  }

  & > :where(ul) {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    margin-inline-start: 1rem;
    padding: 0;
    list-style: disc;
  }
}

:where([ui-field]:has([aria-invalid="true"], :user-invalid) :where([role="alert"]:not([hidden]))) {
  display: block;
}

:where(label:has(> [ui-field])) {
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 15%, transparent));
  border-radius: 0.5rem;
  transition: background-color 150ms, border-color 150ms, box-shadow 150ms;

  & > :where([ui-field]) {
    padding: 0.625rem;
  }

  &:where(:has(:checked)) {
    border-color: light-dark(color-mix(in oklch, var(--ui-zinc-500) 30%, transparent), color-mix(in oklch, var(--ui-zinc-400) 20%, transparent));
    background-color: light-dark(color-mix(in oklch, var(--ui-zinc-500) 5%, transparent), color-mix(in oklch, var(--ui-zinc-400) 10%, transparent));
  }

  &:where(:has(:focus-visible)) {
    border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
    box-shadow: 0 0 0 3px light-dark(
      color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
      color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
    );
  }

  &:where(:has(:disabled)) {
    opacity: 0.5;
    cursor: not-allowed;
  }
}

@media (hover: hover) {
  :where(label:has(> [ui-field]):not(:has(:disabled))) {
    &:where(:hover) {
      background-color: light-dark(var(--ui-zinc-50), color-mix(in oklch, var(--ui-white) 4.5%, transparent));
    }
    &:where(:has(:checked):hover) {
      background-color: light-dark(color-mix(in oklch, var(--ui-zinc-500) 5%, transparent), color-mix(in oklch, var(--ui-zinc-400) 10%, transparent));
    }
  }
}

:where([ui-field]:not([ui-off]):has(> :disabled) > :where(label:not([ui-off]))) {
  opacity: 0.5;
}

:where([ui-field]:not([ui-off]):has(> :disabled) > :where(div:has(> p) > :first-child:not([ui-off]))) {
  opacity: 0.5;
}

:where([ui-field]:not([ui-off]):has(> :disabled) > :where(label:not([ui-off]))) {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  :where(label:has(> [ui-field])) { transition: none; }
}

}
@layer core {
/* library/components/group.css */

/* A horizontal group joins the borders and corners of its visible direct children. */
:where([ui-group]:not([ui-off])) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid light-dark(
    var(--ui-zinc-200),
    color-mix(in oklch, var(--ui-white) 15%, transparent)
  );
  border-radius: 0.375rem;
  background: light-dark(transparent, color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  vertical-align: middle;
}

:where([ui-group]:not([ui-off]):has(:focus-visible)) {
  border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
}

:where([ui-group]:not([ui-off]):has(:is(input, textarea, select):is(:user-invalid, [aria-invalid="true"]))) {
  border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
}

:where([ui-group]:not([ui-off]):has(:is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]),
  textarea,
  select
):not([ui-off], [popover]))) {
  border-radius: 0.5rem;
}

:where([ui-group~="block"]:not([ui-off])) {
  display: flex;
  width: 100%;
}

:where([ui-group~="equal"]:not([ui-off])) {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

:where([ui-group~="equal"][ui-group~="block"]:not([ui-off])) {
  display: grid;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover])) {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  height: auto;
  align-self: stretch;
  border-radius: inherit;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover], [ui-border]):not(:has(> :is(
  input[type="checkbox"], input[type="radio"]
)[ui-toggle]:not([ui-off])))) {
  border: 0;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):not(:is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"], [ui-button]
)):not(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))):not(:focus-visible)) {
  box-shadow: none;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):focus-visible) {
  z-index: 10;
}

/* Text segments keep the shared surface; add ui-padding to a segment when needed. */
:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):not(:is(
  button, input, select, textarea, [ui-button], [role="separator"]
)):not(:is(i[ui-icon], svg[ui-icon], img[ui-icon], span[ui-icon])):not(:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off])))) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Toggle labels stay native toggle segments and retain their checked, hover and focus states. */
:where([ui-group]:not([ui-off]) > label:not([hidden], [ui-off]):has(> :is(
  input[type="checkbox"], input[type="radio"]
)[ui-toggle]:not([ui-off]))) {
  min-height: 36px;
  border: 1px solid transparent;
}

:where([ui-group]:not([ui-off]) > label:not([hidden], [ui-off]):has(> :is(
  input[type="checkbox"], input[type="radio"]
)[ui-toggle~="outline"]:not([ui-off]))) {
  border-color: light-dark(var(--ui-zinc-300), color-mix(in oklch, var(--ui-white) 15%, transparent));
}

/* Associated labels can join a neighboring field as inline text. */
:where([ui-group]:not([ui-off]) > label[for]:not([hidden], [ui-off]):has(+ :is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]), textarea, select
))) {
  border-inline-end-width: 0;
}

:where([ui-group]:not([ui-off]) > :is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]), textarea, select
):not([hidden], [ui-off]):has(+ label[for]:not([hidden], [ui-off]))) {
  border-inline-end-width: 0;
}

:where([ui-group]:not([ui-off]) > :is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]), textarea, select
):not([hidden], [ui-off]) + label[for]:not([hidden], [ui-off])) {
  background: transparent;
}

:where([ui-group]:not([ui-off]) > :is(i, svg, img, span)[ui-icon]) {
  box-sizing: border-box;
  width: max(36px, calc(1em + 20px));
  height: auto;
  min-height: max(36px, calc(1em + 20px));
  border: 0;
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
}

:where([ui-group] > :is(i, svg, img, span)[ui-icon]:not([ui-icon~="xs"], [ui-icon~="sm"], [ui-icon~="lg"], [ui-icon~="xl"], [ui-icon~="2xl"], [ui-icon~="3xl"], [ui-icon~="4xl"], [ui-icon~="5xl"], [ui-icon~="6xl"])) {
  font-size: 16px;
}

/* Paint the icon on its pseudo-element so it does not mask the group's shared surface. */
:where([ui-group]:not([ui-off]) > i[ui-icon]) {
  isolation: isolate;
  background-color: transparent;
  mask-image: none;
}

:where([ui-group]:not([ui-off]) > i[ui-icon])::before {
  position: absolute;
  inset: auto;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 1em;
  height: 1em;
  transform: translate(-50%, -50%);
  mask-image: var(--ui-icon, none);
  mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  background-color: currentColor;
  content: "";
}

/* Fields share the group surface with icon and text segments instead of layering their own. */
:where([ui-group]:not([ui-off]) > :is(
  input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]), textarea, select:not([ui-button])
):not([hidden], [ui-off], [popover])) {
  background: transparent;
}

/* Text fields grow while buttons, icons and labels keep their natural width. */
:where([ui-group]:not([ui-off]) > input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="button"], [type="submit"], [type="reset"]):not([ui-off], [popover])) {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  height: auto;
}

:where([ui-group]:not([ui-off]) > textarea:not([ui-off], [popover])) {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

:where([ui-group]:not([ui-off]) > select:not([ui-off], [popover])) {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 36px;
  align-self: stretch;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):has(~ :not([hidden], [ui-off], [popover]))) {
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover], [ui-border]):not(:nth-child(1 of :not([hidden], [ui-off], [popover])))) {
  border-inline-start-width: 0;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):nth-child(1 of :not([hidden], [ui-off], [popover]))) {
  border-start-start-radius: inherit;
  border-end-start-radius: inherit;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover]):nth-last-child(1 of :not([hidden], [ui-off], [popover]))) {
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover], [ui-border], [role="separator"]):has(+ :is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"],
  label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))
):not([hidden], [ui-off], [popover]))) {
  border-inline-end-width: 0;
}

:where([ui-group]:not([ui-off]) > label:not([hidden], [ui-off], [popover], [ui-border]):has(> :is(
  input[type="checkbox"], input[type="radio"]
)[ui-toggle]:not([ui-off])):has(+ :not([hidden], [ui-off], [popover]))) {
  border-inline-end-width: 0;
}

/* Add a separator on the side where a button meets another group segment. */
:where([ui-group]:not([ui-off]) > :is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"],
  label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))
):not([hidden], [ui-off], [popover], [ui-border]) + :not([hidden], [ui-off], [popover], [ui-border], [role="separator"])) {
  border-inline-start: 1px solid color-mix(in oklch, currentColor 10%, transparent);
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover], [ui-border], [role="separator"]):not(:is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"],
  label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))
)) + :is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"],
  label:has(> :is(input[type="checkbox"], input[type="radio"])[ui-toggle]:not([ui-off]))
):not([hidden], [ui-off], [popover], [ui-border])) {
  border-inline-start: 1px solid color-mix(in oklch, currentColor 10%, transparent);
}

:where([ui-group]:not([ui-off]) > :not([hidden], [ui-off], [popover], [ui-border], [role="separator"]) + :is(
  button, a[ui-button], input[type="button"], input[type="submit"], input[type="reset"]
)[ui-button~="primary"]:not([hidden], [ui-off], [popover], [ui-border])) {
  border-inline-start-color: color-mix(in oklch, currentColor 25%, transparent);
}

:where([ui-group]:not([ui-off]) > [ui-seperator][role="separator"]:not([popover], [ui-off])) {
  z-index: 1;
  box-sizing: border-box;
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  border-inline-start: 1px solid color-mix(in oklch, currentColor 10%, transparent);
  background: transparent;
}

:where([ui-group] > [hidden]) {
  display: none;
}

}
@layer utility {
/* library/utilities/border.css */

/* Border utility: neutral by default, with optional strength and side tokens. */
:where([ui-border]) {
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
}

:where([ui-border~="subtle"]) {
  border-color: color-mix(in oklch, currentColor 10%, transparent);
}

:where([ui-border~="strong"]) {
  border-color: color-mix(in oklch, currentColor 25%, transparent);
}

/* Any direction token switches the default all-sides border to selected sides. */
:where([ui-border~="top"], [ui-border~="right"], [ui-border~="bottom"], [ui-border~="left"], [ui-border~="block"], [ui-border~="inline"]) {
  border-width: 0;
}

:where([ui-border~="top"]) { border-top-width: 1px; }
:where([ui-border~="right"]) { border-right-width: 1px; }
:where([ui-border~="bottom"]) { border-bottom-width: 1px; }
:where([ui-border~="left"]) { border-left-width: 1px; }
:where([ui-border~="block"]) { border-block-width: 1px; }
:where([ui-border~="inline"]) { border-inline-width: 1px; }

/* Off tokens override all-sides and directional borders. */
:where([ui-border~="off"]) { border-width: 0; }
:where([ui-border~="top-off"]) { border-top-width: 0; }
:where([ui-border~="right-off"]) { border-right-width: 0; }
:where([ui-border~="bottom-off"]) { border-bottom-width: 0; }
:where([ui-border~="left-off"]) { border-left-width: 0; }
:where([ui-border~="block-off"]) { border-block-width: 0; }
:where([ui-border~="inline-off"]) { border-inline-width: 0; }

}
@layer core {
/* library/components/tabs.css */

/* A native radio group with the default and line tab appearances. */
:where([ui-tabs]:not([ui-off])) {
  display: inline-flex;
  width: fit-content;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: .625rem;
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
  padding: 3px;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
}
:where([ui-tabs~="vertical"]:not([ui-off])) {
  height: fit-content;
  flex-direction: column;
}
:where([ui-tabs~="line"]:not([ui-off])) {
  gap: .25rem;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]))) {
  position: relative;
  display: inline-flex;
  height: calc(100% - 1px);
  min-height: 0;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: transparent;
  padding: .25rem .5rem;
  color: light-dark(color-mix(in oklch, var(--ui-black) 60%, transparent), var(--ui-zinc-400));
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  cursor: pointer;
  transition: color 150ms, background-color 150ms, border-color 150ms, box-shadow 150ms;
}
/* Keep radios accessible and keyboard-focusable while the label supplies their appearance. */
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]) > input[type="radio"]:not([ui-off])) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):not(:disabled)):hover) {
  color: light-dark(var(--ui-black), var(--ui-zinc-50));
}
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):disabled)) {
  opacity: .5;
  cursor: not-allowed;
}
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]) > [ui-icon]) {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}
:where([ui-tabs~="vertical"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]))) {
  width: 100%;
  justify-content: flex-start;
}
:where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):checked)) {
  border-color: light-dark(transparent, color-mix(in oklch, var(--ui-white) 15%, transparent));
  background: light-dark(var(--ui-white), color-mix(in oklch, var(--ui-white) 4.5%, transparent));
  color: light-dark(var(--ui-black), var(--ui-zinc-50));
  box-shadow: 0 1px 2px light-dark(color-mix(in oklch, var(--ui-black) 10%, transparent), transparent);
}
:where([ui-tabs~="line"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]))) {
  border-color: transparent;
  border-radius: .5rem;
  background: transparent;
  box-shadow: none;
}
:where([ui-tabs~="line"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):checked)) {
  color: light-dark(var(--ui-black), var(--ui-zinc-50));
}
:where([ui-tabs~="line"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off])))::after {
  position: absolute;
  background: currentColor;
  opacity: 0;
  transition: opacity 150ms;
  content: "";
}
:where([ui-tabs~="line"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):checked))::after {
  opacity: 1;
}
:where([ui-tabs~="line"]:not([ui-tabs~="vertical"]):not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off])))::after {
  inset-inline: 0;
  inset-block-end: -5px;
  height: 2px;
}
:where([ui-tabs~="vertical"][ui-tabs~="line"]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off])))::after {
  inset-block: 0;
  inset-inline-end: -5px;
  width: 2px;
}

:where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):focus-visible)) {
  z-index: 1;
  outline: 1px solid light-dark(var(--ui-zinc-400), var(--ui-zinc-500));
  outline-offset: 0;
  box-shadow: 0 0 0 3px color-mix(in oklch, light-dark(var(--ui-zinc-400), var(--ui-zinc-500)) 50%, transparent);
}

@media (forced-colors: active) {
  :where([ui-tabs]:not([ui-off]) > label:not([ui-off]):has(> input[type="radio"]:not([ui-off]):checked)) {
    border-color: Highlight;
    color: Highlight;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where([ui-tabs]:not([ui-off]) > label:not([ui-off])) { transition: none; }
  :where([ui-tabs~="line"]:not([ui-off]) > label:not([ui-off])::after) { transition: none; }
}

}
@layer core {
/* library/components/table.css */

/* Native tables are styled automatically; ui-off on a table opts it out. ui-table only adds horizontal scrolling. */
:where([ui-table]) {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
}

:where(table:not([ui-off])) {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  caption-side: bottom;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: start;
}

:where(table:not([ui-off]) caption) {
  margin-top: 1rem;
  color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: center;
}

:where(table:not([ui-off]) tr) {
  border-bottom: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
}

:where(table:not([ui-off]) th) {
  height: 2.5rem;
  padding: 0 0.5rem;
  color: inherit;
  font-weight: 500;
  text-align: start;
  vertical-align: middle;
  white-space: nowrap;
}

:where(table:not([ui-off]) td) {
  padding: 0.5rem;
  vertical-align: middle;
  white-space: nowrap;
}

:where(table:not([ui-off]) th:has(input[type="checkbox"]), table:not([ui-off]) td:has(input[type="checkbox"])) {
  padding-inline-end: 0;
}

:where(table:not([ui-off]) th > input[type="checkbox"], table:not([ui-off]) td > input[type="checkbox"]) {
  transform: translateY(2px);
}

:where(table:not([ui-off]) tbody tr:last-child, table:not([ui-off]) tfoot > tr:last-child) {
  border-bottom: 0;
}

:where(table:not([ui-off]) tfoot) {
  border-top: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
  background: color-mix(in oklch, light-dark(var(--ui-zinc-50), var(--ui-zinc-800)) 50%, transparent);
  font-weight: 500;
}

:where(table:not([ui-off]) tr:has(input[type="checkbox"]:checked)) {
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
}

:where(table:not([ui-off]) tr:has(:popover-open)) {
  background: color-mix(in oklch, light-dark(var(--ui-zinc-50), var(--ui-zinc-800)) 50%, transparent);
}

@media (hover: hover) {
  :where(table:not([ui-off]) tr) {
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);

    &:where(:hover) {
      background: color-mix(in oklch, light-dark(var(--ui-zinc-50), var(--ui-zinc-800)) 50%, transparent);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(table:not([ui-off]) tr) { transition: none; }
}

}
@layer core {
/* library/components/input-otp.css */

:where([ui-input-otp]) {
  position: relative;
  display: grid;
  gap: 0.375rem;
  max-inline-size: 18rem;
}

:where([ui-input-otp]:has(> input[maxlength="4"])) {
  inline-size: calc(8rem + 2px);
}

:where([ui-input-otp]:has(> input[maxlength="5"])) {
  inline-size: calc(10rem + 2px);
}

:where([ui-input-otp]:has(> input[maxlength="6"])) {
  inline-size: calc(12rem + 2px);
}

:where([ui-input-otp]:has(> input[maxlength="7"])) {
  inline-size: calc(14rem + 2px);
}

:where([ui-input-otp]:has(> input[maxlength="8"])) {
  inline-size: calc(16rem + 2px);
}

:where([ui-input-otp]:has(> input[maxlength="4"],
  > input[maxlength="5"],
  > input[maxlength="6"],
  > input[maxlength="7"],
  > input[maxlength="8"]))::after {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  z-index: 0;
  inline-size: 100%;
  block-size: 40px;
  box-sizing: border-box;
  border: 1px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  border-radius: 0.5rem;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0 calc(2rem - 1px),
    light-dark(var(--ui-zinc-300), var(--ui-zinc-700)) calc(2rem - 1px) 2rem
  );
  background-size: 2rem 100%;
  background-repeat: repeat-x;
  content: "";
  pointer-events: none;
}

:where([ui-input-otp] input[maxlength="4"],
  [ui-input-otp] input[maxlength="5"],
  [ui-input-otp] input[maxlength="6"],
  [ui-input-otp] input[maxlength="7"],
  [ui-input-otp] input[maxlength="8"]) {
  position: relative;
  z-index: 1;
  /* Keep trailing letter spacing inside the input scrollport at the maxlength. */
  inline-size: calc(100% + (2rem - 1ch) / 2);
  max-inline-size: none;
  padding-block: 0;
  padding-inline-start: calc((2rem - 1ch) / 2);
  padding-inline-end: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  /* The extra width is invisible; the wrapper pseudo-element draws the fixed frame. */
  clip-path: inset(0 calc((2rem - 1ch) / 2) 0 0);
  font-family: ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: calc(2rem - 1ch);
  text-align: left;
  direction: ltr;
}

:where([ui-input-otp]:focus-within)::after {
  border-color: light-dark(var(--ui-zinc-500), var(--ui-zinc-400));
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-zinc-500) 50%, transparent),
    color-mix(in oklch, var(--ui-zinc-400) 50%, transparent)
  );
}

:where([ui-input-otp]:has(> input:is(:user-invalid, [aria-invalid="true"])))::after {
  border-color: light-dark(var(--ui-red-600), var(--ui-red-400));
}

:where([ui-input-otp]:has(> input:is(:user-invalid, [aria-invalid="true"])):focus-within)::after {
  box-shadow: 0 0 0 3px light-dark(
    color-mix(in oklch, var(--ui-red-600) 20%, transparent),
    color-mix(in oklch, var(--ui-red-400) 40%, transparent)
  );
}

:where([ui-input-otp]:has(> input:disabled))::after {
  opacity: 0.5;
}

}
@layer core {
/* library/components/menubar.css */

/* A compact, persistent command bar that composes native popover menus. */
:where([ui-menubar]:not([ui-off])) {
  display: block;
  inline-size: fit-content;
  max-inline-size: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

:where([ui-menubar]:not([ui-off]) > ul:not([ui-off])) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem;
  inline-size: fit-content;
  max-inline-size: 100%;
  block-size: 2.25rem;
  margin: 0;
  border: 1px solid light-dark(var(--ui-zinc-200), color-mix(in oklch, var(--ui-white) 10%, transparent));
  border-radius: 0.375rem;
  padding: 0.25rem;
  background: light-dark(var(--ui-white), var(--ui-zinc-900));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
  box-shadow: 0 1px 2px 0 light-dark(color-mix(in oklch, var(--ui-black) 5%, transparent), color-mix(in oklch, var(--ui-black) 25%, transparent));
  list-style: none;
}

:where([ui-menubar]:not([ui-off]) > ul:not([ui-off]) > li:not([ui-off])) {
  position: relative;
  flex: 0 0 auto;
  list-style: none;
}

:where([ui-menubar]:not([ui-off]) > ul:not([ui-off]) > li:not([ui-off]) > button[ui-button~="ghost"]:not([ui-off])) {
  block-size: 1.75rem;
  min-block-size: 1.75rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

:where([ui-menubar]:not([ui-off]) > ul:not([ui-off]) > li:not([ui-off]) > button[ui-button~="ghost"]:has(+ [ui-menu][popover]:popover-open):not([ui-off])) {
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-800));
  color: light-dark(var(--ui-zinc-900), var(--ui-zinc-50));
}

:where([ui-menubar]:not([ui-off]) [ui-menu][popover]:not([ui-off])) {
  min-inline-size: min(12rem, calc(100vw - 1rem));
}

@supports (position-area: block-end) {
  :where([ui-menubar]:not([ui-off]) [ui-menu][popover]:not([ui-off])) {
    margin-block-start: 0.5rem;
  }
}

@media (max-width: 40rem) {
  :where([ui-menubar]:not([ui-off]) > ul:not([ui-off])) {
    flex-wrap: wrap;
    block-size: auto;
  }
}

}
@layer core {
/* library/components/resizable.css */

:where([ui-resizable]) {
  min-inline-size: 8rem;
  min-block-size: 5rem;
  max-inline-size: 100%;
  max-block-size: 60vh;
  overflow: auto;
  padding: 1rem;
  border: 1px solid light-dark(var(--ui-zinc-300), color-mix(in oklch, var(--ui-white) 22%, transparent));
  border-radius: 0.5rem;
  background: light-dark(var(--ui-zinc-50), var(--ui-zinc-950));
  resize: both;
}

:where([ui-resizable~="horizontal"]) {
  resize: horizontal;
}

:where([ui-resizable~="vertical"]) {
  resize: vertical;
}

}
@layer core {
/* library/components/heading.css */

/* Semantic headings and ui-heading share the same default typography. */
:where(h1, h2, h3, h4, h5, h6, [ui-heading]):where(:not([ui-off])) {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;

  &:where([ui-heading~="xs"]) {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  &:where([ui-heading~="sm"]) {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  &:where([ui-heading~="md"]) {
    font-size: 1.125rem;
    line-height: 1.3;
  }

  &:where([ui-heading~="lg"]) {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  &:where([ui-heading~="xl"]) {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  &:where([ui-heading~="2xl"]) {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  &:where([ui-heading~="3xl"]) {
    font-size: 2.75rem;
    line-height: 1.1;
  }

  &:where([ui-heading~="4xl"]) {
    font-size: 3.25rem;
    line-height: 1.05;
  }

  &:where([ui-heading~="5xl"]) {
    font-size: 4rem;
    line-height: 1.05;
  }

  &:where([ui-heading~="6xl"]) {
    font-size: 5rem;
    line-height: 1;
  }

}

}
@layer utility {
/* library/utilities/text.css */

/* ui-text inherits the surrounding size; only size tokens change size and line height. */
:where([ui-text]) {
  &:where(:not([ui-heading], h1, h2, h3, h4, h5, h6)) {
    font-size: inherit;
  }

  &:where([ui-text~="xs"]) {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  &:where([ui-text~="sm"]) {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  &:where([ui-text~="md"]) {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  &:where([ui-text~="lg"]) {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  &:where([ui-text~="xl"]) {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  &:where([ui-text~="2xl"]) {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  &:where([ui-text~="3xl"]) {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  &:where([ui-text~="4xl"]) {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  &:where([ui-text~="5xl"]) {
    font-size: 3rem;
    line-height: 1;
  }

  &:where([ui-text~="6xl"]) {
    font-size: 3.75rem;
    line-height: 1;
  }

  &:where([ui-text~="normal"]) { font-weight: 400; }
  &:where([ui-text~="medium"]) { font-weight: 500; }
  &:where([ui-text~="semibold"]) { font-weight: 600; }
  &:where([ui-text~="bold"]) { font-weight: 700; }
  &:where([ui-text~="muted"]) {
    color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  }

  &:where([ui-text~="error"]) { color: light-dark(var(--ui-red-600), var(--ui-red-400)); }
  &:where([ui-text~="warning"]) { color: light-dark(var(--ui-amber-700), var(--ui-amber-400)); }
  &:where([ui-text~="success"]) { color: light-dark(var(--ui-green-700), var(--ui-green-400)); }
  &:where([ui-text~="info"]) { color: light-dark(var(--ui-blue-600), var(--ui-blue-400)); }


  &:where([ui-text~="left"]) { text-align: left; }
  &:where([ui-text~="center"]) { text-align: center; }
  &:where([ui-text~="right"]) { text-align: right; }
}

}
@layer core {
/* library/components/typeset.css */

/* Typeset gives long-form HTML a consistent scale and vertical rhythm. */
:where([ui-typeset]:not([ui-off])) {
  font-size: 1rem;
  line-height: 1.75;
}

:where([ui-typeset]:not([ui-off]) :is(p, ul, ol, blockquote, pre, figure, table, hr:not([ui-off]))) {
  margin-block: 0;
}

:where([ui-typeset]:not([ui-off]) > :not(:first-child)) {
  margin-block-start: 1.25rem;
}

:where([ui-typeset]:not([ui-off]) :is(p, ul, ol, blockquote, pre, figure, table, hr:not([ui-off])) + :is(p, ul, ol, blockquote, pre, figure, table, hr:not([ui-off]))) {
  margin-block-start: 1.25rem;
}

:where([ui-typeset]:not([ui-off]) :is(h1, h2, h3, h4, h5, h6):not([ui-heading], [ui-off])) {
  margin-block-start: 2rem;
  margin-block-end: 0.75rem;
}

:where([ui-typeset]:not([ui-off]) :is(h1, h2, h3, h4, h5, h6):first-child:not([ui-heading], [ui-off])) {
  margin-block-start: 0;
}

/* Rendered Markdown cannot carry ui-heading, so typeset sizes headings by level from the ui-heading scale. */
:where([ui-typeset]:not([ui-off]) h1:not([ui-heading], [ui-off])) {
  font-size: 1.75rem;
  line-height: 1.2;
}

:where([ui-typeset]:not([ui-off]) h2:not([ui-heading], [ui-off])) {
  font-size: 1.375rem;
  line-height: 1.25;
}

:where([ui-typeset]:not([ui-off]) :is(h4, h5, h6):not([ui-heading], [ui-off])) {
  font-size: 0.875rem;
  line-height: 1.4;
}

:where([ui-typeset]:not([ui-off]) :is(ul, ol)) {
  padding-inline-start: 1.5rem;
}

:where([ui-typeset]:not([ui-off]) li + li) {
  margin-block-start: 0.375rem;
}

:where([ui-typeset]:not([ui-off]) blockquote) {
  border-inline-start: 2px solid light-dark(var(--ui-zinc-300), var(--ui-zinc-700));
  padding-inline-start: 1rem;
  color: light-dark(var(--ui-zinc-700), var(--ui-zinc-300));
}

:where([ui-typeset]:not([ui-off]) figure) {
  display: grid;
  gap: 0.5rem;
}

:where([ui-typeset]:not([ui-off]) img) {
  max-inline-size: 100%;
  block-size: auto;
}

:where([ui-typeset]:not([ui-off]) figcaption) {
  color: light-dark(var(--ui-zinc-600), var(--ui-zinc-400));
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Tables get their style from Table; prose cells wrap and align to the top. */
:where([ui-typeset]:not([ui-off]) :is(th, td)) {
  white-space: normal;
  vertical-align: top;
}

:where([ui-typeset]:not([ui-off]) hr:not([ui-off])) {
  block-size: 1px;
  background: light-dark(var(--ui-zinc-200), var(--ui-zinc-800));
}

}
@layer utility {
/* library/utilities/container.css */

/* md (900px) is the default content width. */
:where([ui-container], [ui-container~="md"]) {
  container-type: inline-size;
  padding-inline: max(calc(50% - 900px / 2), clamp(16px, 4%, 48px));
}

:where([ui-container~="xs"]) {
  padding-inline: max(calc(50% - 400px / 2), clamp(16px, 4%, 48px));
}

:where([ui-container~="sm"]) {
  padding-inline: max(calc(50% - 600px / 2), clamp(16px, 4%, 48px));
}

:where([ui-container~="lg"]) {
  padding-inline: max(calc(50% - 1200px / 2), clamp(16px, 4%, 48px));
}

:where([ui-container~="xl"]) {
  padding-inline: max(calc(50% - 1600px / 2), clamp(16px, 4%, 48px));
}

:where([ui-container~="full"]) {
  padding-inline: clamp(16px, 4%, 48px);
}

}
@layer utility {
/* library/utilities/row.css */

/* Base row; no default gap. min-width: 0 so it can shrink in flex/grid and overflow works. */
:where([ui-row]) {
  display: flex;
  flex-direction: row;
  min-width: 0;
}

/* X-axis (justify-content in row) */
:where([ui-row~="x-start"]) {
  justify-content: flex-start;
}

:where([ui-row~="x-end"]) {
  justify-content: flex-end;
}

:where([ui-row~="x-center"]) {
  justify-content: center;
}

:where([ui-row~="x-between"]) {
  justify-content: space-between;
}

:where([ui-row~="x-around"]) {
  justify-content: space-around;
}

:where([ui-row~="x-evenly"]) {
  justify-content: space-evenly;
}

/* Y-axis (align-items in row) */
:where([ui-row~="y-start"]) {
  align-items: flex-start;
}

:where([ui-row~="y-end"]) {
  align-items: flex-end;
}

:where([ui-row~="y-center"]) {
  align-items: center;
}

:where([ui-row~="y-stretch"]) {
  align-items: stretch;
}

/* Gap sizes */
:where([ui-row~="gap-xs"]) {
  gap: 0.25rem;
}

:where([ui-row~="gap-sm"]) {
  gap: 0.5rem;
}

:where([ui-row~="gap-md"]) {
  gap: 1rem;
}

:where([ui-row~="gap-lg"]) {
  gap: 1.5rem;
}

:where([ui-row~="gap-xl"]) {
  gap: 2.5rem;
}

:where([ui-row~="gap-2xl"]) {
  gap: 4rem;
}

:where([ui-row~="gap-3xl"]) {
  gap: 6rem;
}

:where([ui-row~="gap-4xl"]) {
  gap: 8rem;
}

:where([ui-row~="gap-5xl"]) {
  gap: 12rem;
}

:where([ui-row~="gap-6xl"]) {
  gap: 16rem;
}

/* Wrap */
:where([ui-row~="wrap"]) {
  flex-wrap: wrap;
}

/* Inline row */
:where([ui-row~="inline"]) {
  display: inline-flex;
}

}
@layer utility {
/* library/utilities/column.css */

/* Base column; no default gap. min-width: 0 so it can shrink in flex/grid and pre/code overflow works. */
:where([ui-column]) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* X-axis (align-items in column - horizontal alignment) */
:where([ui-column~="x-start"]) {
  align-items: flex-start;
}

:where([ui-column~="x-end"]) {
  align-items: flex-end;
}

:where([ui-column~="x-center"]) {
  align-items: center;
}

:where([ui-column~="x-stretch"]) {
  align-items: stretch;
}

/* Y-axis (justify-content in column - vertical spacing) */
:where([ui-column~="y-start"]) {
  justify-content: flex-start;
}

:where([ui-column~="y-end"]) {
  justify-content: flex-end;
}

:where([ui-column~="y-center"]) {
  justify-content: center;
}

:where([ui-column~="y-between"]) {
  justify-content: space-between;
}

:where([ui-column~="y-around"]) {
  justify-content: space-around;
}

:where([ui-column~="y-evenly"]) {
  justify-content: space-evenly;
}

/* Gap sizes */
:where([ui-column~="gap-xs"]) {
  gap: 0.25rem;
}

:where([ui-column~="gap-sm"]) {
  gap: 0.5rem;
}

:where([ui-column~="gap-md"]) {
  gap: 1rem;
}

:where([ui-column~="gap-lg"]) {
  gap: 1.5rem;
}

:where([ui-column~="gap-xl"]) {
  gap: 2.5rem;
}

:where([ui-column~="gap-2xl"]) {
  gap: 4rem;
}

:where([ui-column~="gap-3xl"]) {
  gap: 6rem;
}

:where([ui-column~="gap-4xl"]) {
  gap: 8rem;
}

:where([ui-column~="gap-5xl"]) {
  gap: 12rem;
}

:where([ui-column~="gap-6xl"]) {
  gap: 16rem;
}

}
@layer utility {
/* library/utilities/margin.css */

/* Every side */
:where([ui-margin~="xs"]) { margin: 0.25rem; }
:where([ui-margin~="sm"]) { margin: 0.5rem; }
:where([ui-margin~="md"]) { margin: 1rem; }
:where([ui-margin~="lg"]) { margin: 1.5rem; }
:where([ui-margin~="xl"]) { margin: 2.5rem; }
:where([ui-margin~="2xl"]) { margin: 4rem; }
:where([ui-margin~="3xl"]) { margin: 6rem; }
:where([ui-margin~="4xl"]) { margin: 8rem; }
:where([ui-margin~="5xl"]) { margin: 12rem; }
:where([ui-margin~="6xl"]) { margin: 16rem; }

/* block (top + bottom) */
:where([ui-margin~="block-xs"]) { margin-block: 0.25rem; }
:where([ui-margin~="block-sm"]) { margin-block: 0.5rem; }
:where([ui-margin~="block-md"]) { margin-block: 1rem; }
:where([ui-margin~="block-lg"]) { margin-block: 1.5rem; }
:where([ui-margin~="block-xl"]) { margin-block: 2.5rem; }
:where([ui-margin~="block-2xl"]) { margin-block: 4rem; }
:where([ui-margin~="block-3xl"]) { margin-block: 6rem; }
:where([ui-margin~="block-4xl"]) { margin-block: 8rem; }
:where([ui-margin~="block-5xl"]) { margin-block: 12rem; }
:where([ui-margin~="block-6xl"]) { margin-block: 16rem; }

/* inline (left + right) */
:where([ui-margin~="inline-xs"]) { margin-inline: 0.25rem; }
:where([ui-margin~="inline-sm"]) { margin-inline: 0.5rem; }
:where([ui-margin~="inline-md"]) { margin-inline: 1rem; }
:where([ui-margin~="inline-lg"]) { margin-inline: 1.5rem; }
:where([ui-margin~="inline-xl"]) { margin-inline: 2.5rem; }
:where([ui-margin~="inline-2xl"]) { margin-inline: 4rem; }
:where([ui-margin~="inline-3xl"]) { margin-inline: 6rem; }
:where([ui-margin~="inline-4xl"]) { margin-inline: 8rem; }
:where([ui-margin~="inline-5xl"]) { margin-inline: 12rem; }
:where([ui-margin~="inline-6xl"]) { margin-inline: 16rem; }

/* top */
:where([ui-margin~="top-xs"]) { margin-top: 0.25rem; }
:where([ui-margin~="top-sm"]) { margin-top: 0.5rem; }
:where([ui-margin~="top-md"]) { margin-top: 1rem; }
:where([ui-margin~="top-lg"]) { margin-top: 1.5rem; }
:where([ui-margin~="top-xl"]) { margin-top: 2.5rem; }
:where([ui-margin~="top-2xl"]) { margin-top: 4rem; }
:where([ui-margin~="top-3xl"]) { margin-top: 6rem; }
:where([ui-margin~="top-4xl"]) { margin-top: 8rem; }
:where([ui-margin~="top-5xl"]) { margin-top: 12rem; }
:where([ui-margin~="top-6xl"]) { margin-top: 16rem; }

/* bottom */
:where([ui-margin~="bottom-xs"]) { margin-bottom: 0.25rem; }
:where([ui-margin~="bottom-sm"]) { margin-bottom: 0.5rem; }
:where([ui-margin~="bottom-md"]) { margin-bottom: 1rem; }
:where([ui-margin~="bottom-lg"]) { margin-bottom: 1.5rem; }
:where([ui-margin~="bottom-xl"]) { margin-bottom: 2.5rem; }
:where([ui-margin~="bottom-2xl"]) { margin-bottom: 4rem; }
:where([ui-margin~="bottom-3xl"]) { margin-bottom: 6rem; }
:where([ui-margin~="bottom-4xl"]) { margin-bottom: 8rem; }
:where([ui-margin~="bottom-5xl"]) { margin-bottom: 12rem; }
:where([ui-margin~="bottom-6xl"]) { margin-bottom: 16rem; }

/* left */
:where([ui-margin~="left-xs"]) { margin-left: 0.25rem; }
:where([ui-margin~="left-sm"]) { margin-left: 0.5rem; }
:where([ui-margin~="left-md"]) { margin-left: 1rem; }
:where([ui-margin~="left-lg"]) { margin-left: 1.5rem; }
:where([ui-margin~="left-xl"]) { margin-left: 2.5rem; }
:where([ui-margin~="left-2xl"]) { margin-left: 4rem; }
:where([ui-margin~="left-3xl"]) { margin-left: 6rem; }
:where([ui-margin~="left-4xl"]) { margin-left: 8rem; }
:where([ui-margin~="left-5xl"]) { margin-left: 12rem; }
:where([ui-margin~="left-6xl"]) { margin-left: 16rem; }

/* right */
:where([ui-margin~="right-xs"]) { margin-right: 0.25rem; }
:where([ui-margin~="right-sm"]) { margin-right: 0.5rem; }
:where([ui-margin~="right-md"]) { margin-right: 1rem; }
:where([ui-margin~="right-lg"]) { margin-right: 1.5rem; }
:where([ui-margin~="right-xl"]) { margin-right: 2.5rem; }
:where([ui-margin~="right-2xl"]) { margin-right: 4rem; }
:where([ui-margin~="right-3xl"]) { margin-right: 6rem; }
:where([ui-margin~="right-4xl"]) { margin-right: 8rem; }
:where([ui-margin~="right-5xl"]) { margin-right: 12rem; }
:where([ui-margin~="right-6xl"]) { margin-right: 16rem; }

/* Remove all margin, a logical axis, or a physical side. Off tokens override sizes. */
:where([ui-margin~="off"]) { margin: 0; }
:where([ui-margin~="block-off"]) { margin-block: 0; }
:where([ui-margin~="inline-off"]) { margin-inline: 0; }
:where([ui-margin~="top-off"]) { margin-top: 0; }
:where([ui-margin~="right-off"]) { margin-right: 0; }
:where([ui-margin~="bottom-off"]) { margin-bottom: 0; }
:where([ui-margin~="left-off"]) { margin-left: 0; }

}
@layer utility {
/* library/utilities/padding.css */

/* Every side */
:where([ui-padding~="xs"]) { padding: 0.25rem; }
:where([ui-padding~="sm"]) { padding: 0.5rem; }
:where([ui-padding~="md"]) { padding: 1rem; }
:where([ui-padding~="lg"]) { padding: 1.5rem; }
:where([ui-padding~="xl"]) { padding: 2.5rem; }
:where([ui-padding~="2xl"]) { padding: 4rem; }
:where([ui-padding~="3xl"]) { padding: 6rem; }
:where([ui-padding~="4xl"]) { padding: 8rem; }
:where([ui-padding~="5xl"]) { padding: 12rem; }
:where([ui-padding~="6xl"]) { padding: 16rem; }

/* block (top + bottom) */
:where([ui-padding~="block-xs"]) { padding-block: 0.25rem; }
:where([ui-padding~="block-sm"]) { padding-block: 0.5rem; }
:where([ui-padding~="block-md"]) { padding-block: 1rem; }
:where([ui-padding~="block-lg"]) { padding-block: 1.5rem; }
:where([ui-padding~="block-xl"]) { padding-block: 2.5rem; }
:where([ui-padding~="block-2xl"]) { padding-block: 4rem; }
:where([ui-padding~="block-3xl"]) { padding-block: 6rem; }
:where([ui-padding~="block-4xl"]) { padding-block: 8rem; }
:where([ui-padding~="block-5xl"]) { padding-block: 12rem; }
:where([ui-padding~="block-6xl"]) { padding-block: 16rem; }

/* inline (left + right) */
:where([ui-padding~="inline-xs"]) { padding-inline: 0.25rem; }
:where([ui-padding~="inline-sm"]) { padding-inline: 0.5rem; }
:where([ui-padding~="inline-md"]) { padding-inline: 1rem; }
:where([ui-padding~="inline-lg"]) { padding-inline: 1.5rem; }
:where([ui-padding~="inline-xl"]) { padding-inline: 2.5rem; }
:where([ui-padding~="inline-2xl"]) { padding-inline: 4rem; }
:where([ui-padding~="inline-3xl"]) { padding-inline: 6rem; }
:where([ui-padding~="inline-4xl"]) { padding-inline: 8rem; }
:where([ui-padding~="inline-5xl"]) { padding-inline: 12rem; }
:where([ui-padding~="inline-6xl"]) { padding-inline: 16rem; }

/* top */
:where([ui-padding~="top-xs"]) { padding-top: 0.25rem; }
:where([ui-padding~="top-sm"]) { padding-top: 0.5rem; }
:where([ui-padding~="top-md"]) { padding-top: 1rem; }
:where([ui-padding~="top-lg"]) { padding-top: 1.5rem; }
:where([ui-padding~="top-xl"]) { padding-top: 2.5rem; }
:where([ui-padding~="top-2xl"]) { padding-top: 4rem; }
:where([ui-padding~="top-3xl"]) { padding-top: 6rem; }
:where([ui-padding~="top-4xl"]) { padding-top: 8rem; }
:where([ui-padding~="top-5xl"]) { padding-top: 12rem; }
:where([ui-padding~="top-6xl"]) { padding-top: 16rem; }

/* bottom */
:where([ui-padding~="bottom-xs"]) { padding-bottom: 0.25rem; }
:where([ui-padding~="bottom-sm"]) { padding-bottom: 0.5rem; }
:where([ui-padding~="bottom-md"]) { padding-bottom: 1rem; }
:where([ui-padding~="bottom-lg"]) { padding-bottom: 1.5rem; }
:where([ui-padding~="bottom-xl"]) { padding-bottom: 2.5rem; }
:where([ui-padding~="bottom-2xl"]) { padding-bottom: 4rem; }
:where([ui-padding~="bottom-3xl"]) { padding-bottom: 6rem; }
:where([ui-padding~="bottom-4xl"]) { padding-bottom: 8rem; }
:where([ui-padding~="bottom-5xl"]) { padding-bottom: 12rem; }
:where([ui-padding~="bottom-6xl"]) { padding-bottom: 16rem; }

/* left */
:where([ui-padding~="left-xs"]) { padding-left: 0.25rem; }
:where([ui-padding~="left-sm"]) { padding-left: 0.5rem; }
:where([ui-padding~="left-md"]) { padding-left: 1rem; }
:where([ui-padding~="left-lg"]) { padding-left: 1.5rem; }
:where([ui-padding~="left-xl"]) { padding-left: 2.5rem; }
:where([ui-padding~="left-2xl"]) { padding-left: 4rem; }
:where([ui-padding~="left-3xl"]) { padding-left: 6rem; }
:where([ui-padding~="left-4xl"]) { padding-left: 8rem; }
:where([ui-padding~="left-5xl"]) { padding-left: 12rem; }
:where([ui-padding~="left-6xl"]) { padding-left: 16rem; }

/* right */
:where([ui-padding~="right-xs"]) { padding-right: 0.25rem; }
:where([ui-padding~="right-sm"]) { padding-right: 0.5rem; }
:where([ui-padding~="right-md"]) { padding-right: 1rem; }
:where([ui-padding~="right-lg"]) { padding-right: 1.5rem; }
:where([ui-padding~="right-xl"]) { padding-right: 2.5rem; }
:where([ui-padding~="right-2xl"]) { padding-right: 4rem; }
:where([ui-padding~="right-3xl"]) { padding-right: 6rem; }
:where([ui-padding~="right-4xl"]) { padding-right: 8rem; }
:where([ui-padding~="right-5xl"]) { padding-right: 12rem; }
:where([ui-padding~="right-6xl"]) { padding-right: 16rem; }

/* Remove all padding, a logical axis, or a physical side. Off tokens override sizes. */
:where([ui-padding~="off"]) { padding: 0; }
:where([ui-padding~="block-off"]) { padding-block: 0; }
:where([ui-padding~="inline-off"]) { padding-inline: 0; }
:where([ui-padding~="top-off"]) { padding-top: 0; }
:where([ui-padding~="right-off"]) { padding-right: 0; }
:where([ui-padding~="bottom-off"]) { padding-bottom: 0; }
:where([ui-padding~="left-off"]) { padding-left: 0; }

}
@layer utility {
/* library/utilities/shadow.css */

/* Faunder UI shadows: neutral black shadows in seven sizes and three intensities. */
:where([ui-shadow]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 4px 6px -1px color-mix(in oklch, var(--ui-black) 7%, transparent),
    0 2px 4px -2px color-mix(in oklch, var(--ui-black) 7%, transparent);
}
:where([ui-shadow][ui-shadow~="subtle"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 4px 6px -1px color-mix(in oklch, var(--ui-black) 4.55%, transparent),
    0 2px 4px -2px color-mix(in oklch, var(--ui-black) 4.55%, transparent);
}
:where([ui-shadow][ui-shadow~="strong"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 4.2%, transparent),
    0 4px 6px -1px color-mix(in oklch, var(--ui-black) 9.8%, transparent),
    0 2px 4px -2px color-mix(in oklch, var(--ui-black) 9.8%, transparent);
}
:where([ui-shadow~="xs"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 1px 2px 0 color-mix(in oklch, var(--ui-black) 7%, transparent);
}
:where([ui-shadow~="xs"][ui-shadow~="subtle"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 1px 2px 0 color-mix(in oklch, var(--ui-black) 4.55%, transparent);
}
:where([ui-shadow~="xs"][ui-shadow~="strong"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 4.2%, transparent),
    0 1px 2px 0 color-mix(in oklch, var(--ui-black) 9.8%, transparent);
}
:where([ui-shadow~="sm"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 1px 3px 0 color-mix(in oklch, var(--ui-black) 7%, transparent),
    0 1px 2px -1px color-mix(in oklch, var(--ui-black) 7%, transparent);
}
:where([ui-shadow~="sm"][ui-shadow~="subtle"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 1px 3px 0 color-mix(in oklch, var(--ui-black) 4.55%, transparent),
    0 1px 2px -1px color-mix(in oklch, var(--ui-black) 4.55%, transparent);
}
:where([ui-shadow~="sm"][ui-shadow~="strong"]) {
  box-shadow: 0 -1px 4px color-mix(in oklch, var(--ui-black) 4.2%, transparent),
    0 1px 3px 0 color-mix(in oklch, var(--ui-black) 9.8%, transparent),
    0 1px 2px -1px color-mix(in oklch, var(--ui-black) 9.8%, transparent);
}
:where([ui-shadow~="lg"]) {
  box-shadow: 0 -1px 5px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 10px 15px -3px color-mix(in oklch, var(--ui-black) 7%, transparent),
    0 4px 6px -4px color-mix(in oklch, var(--ui-black) 7%, transparent);
}
:where([ui-shadow~="lg"][ui-shadow~="subtle"]) {
  box-shadow: 0 -1px 5px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 10px 15px -3px color-mix(in oklch, var(--ui-black) 4.55%, transparent),
    0 4px 6px -4px color-mix(in oklch, var(--ui-black) 4.55%, transparent);
}
:where([ui-shadow~="lg"][ui-shadow~="strong"]) {
  box-shadow: 0 -1px 5px color-mix(in oklch, var(--ui-black) 4.2%, transparent),
    0 10px 15px -3px color-mix(in oklch, var(--ui-black) 9.8%, transparent),
    0 4px 6px -4px color-mix(in oklch, var(--ui-black) 9.8%, transparent);
}
:where([ui-shadow~="xl"]) {
  box-shadow: 0 -2px 7px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 20px 25px -5px color-mix(in oklch, var(--ui-black) 6%, transparent),
    0 8px 10px -6px color-mix(in oklch, var(--ui-black) 6%, transparent);
}
:where([ui-shadow~="xl"][ui-shadow~="subtle"]) {
  box-shadow: 0 -2px 7px color-mix(in oklch, var(--ui-black) 3%, transparent),
    0 20px 25px -5px color-mix(in oklch, var(--ui-black) 3.9%, transparent),
    0 8px 10px -6px color-mix(in oklch, var(--ui-black) 3.9%, transparent);
}
:where([ui-shadow~="xl"][ui-shadow~="strong"]) {
  box-shadow: 0 -2px 7px color-mix(in oklch, var(--ui-black) 4.2%, transparent),
    0 20px 25px -5px color-mix(in oklch, var(--ui-black) 8.4%, transparent),
    0 8px 10px -6px color-mix(in oklch, var(--ui-black) 8.4%, transparent);
}
:where([ui-shadow~="2xl"]) {
  box-shadow: 0 -2px 9px color-mix(in oklch, var(--ui-black) 2.5%, transparent),
    0 25px 50px -12px color-mix(in oklch, var(--ui-black) 5.5%, transparent),
    0 12px 24px -8px color-mix(in oklch, var(--ui-black) 5.5%, transparent);
}
:where([ui-shadow~="2xl"][ui-shadow~="subtle"]) {
  box-shadow: 0 -2px 9px color-mix(in oklch, var(--ui-black) 2.5%, transparent),
    0 25px 50px -12px color-mix(in oklch, var(--ui-black) 3.575%, transparent),
    0 12px 24px -8px color-mix(in oklch, var(--ui-black) 3.575%, transparent);
}
:where([ui-shadow~="2xl"][ui-shadow~="strong"]) {
  box-shadow: 0 -2px 9px color-mix(in oklch, var(--ui-black) 3.5%, transparent),
    0 25px 50px -12px color-mix(in oklch, var(--ui-black) 7.7%, transparent),
    0 12px 24px -8px color-mix(in oklch, var(--ui-black) 7.7%, transparent);
}
:where([ui-shadow~="3xl"]) {
  box-shadow: 0 -3px 12px color-mix(in oklch, var(--ui-black) 2%, transparent),
    0 35px 60px -15px color-mix(in oklch, var(--ui-black) 5%, transparent),
    0 18px 32px -10px color-mix(in oklch, var(--ui-black) 5%, transparent);
}
:where([ui-shadow~="3xl"][ui-shadow~="subtle"]) {
  box-shadow: 0 -3px 12px color-mix(in oklch, var(--ui-black) 2%, transparent),
    0 35px 60px -15px color-mix(in oklch, var(--ui-black) 3.25%, transparent),
    0 18px 32px -10px color-mix(in oklch, var(--ui-black) 3.25%, transparent);
}
:where([ui-shadow~="3xl"][ui-shadow~="strong"]) {
  box-shadow: 0 -3px 12px color-mix(in oklch, var(--ui-black) 2.8%, transparent),
    0 35px 60px -15px color-mix(in oklch, var(--ui-black) 7%, transparent),
    0 18px 32px -10px color-mix(in oklch, var(--ui-black) 7%, transparent);
}

}
