/* MBTI Dashboard CSS - Tailwind CSS Alternative */
/* 使用自定义CSS实现类似Tailwind的功能，不依赖CDN */

/* === 基础重置 === */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  margin: 0;
  line-height: inherit;
}

/* 移除所有链接的下划线 */
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 自定义下拉选择器样式 */
.custom-select {
  /* 隐藏所有浏览器的默认下拉箭头 */
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  /* 确保文本不会被截断 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* 增加特异性，确保样式被应用 */
  position: relative;
  z-index: 1;
  /* 确保背景色与容器一致 */
  background-color: white !important;
  /* 确保没有额外的背景图片或样式 */
  background-image: none !important;
  /* 确保边框样式正确 */
  border: 1px solid var(--border-light) !important;
  /* 增加右侧内边距，确保文本不会与下拉箭头重叠 */
  padding-right: 24px !important;
  /* 调整整体高度，使其更加紧凑 */
  height: 28px !important;
  /* 调整字体大小 */
  font-size: 13px !important;
  /* 调整内边距 */
  padding-left: 8px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* 为IE浏览器添加特殊处理 */
.custom-select::-ms-expand {
  display: none !important;
}

/* 确保选择器聚焦时的样式 */
.custom-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
  border-color: var(--primary) !important;
}

/* 确保下拉箭头容器正确显示 */
.dropdown-arrow-container {
  pointer-events: none;
  z-index: 2;
  /* 确保箭头容器在select上方且完全位于内部 */
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 调整容器尺寸，使其更加紧凑且完全位于select内部 */
  width: 24px;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: none;
  outline: none;
  /* 确保不会超出select边界 */
  box-sizing: border-box;
  overflow: hidden;
}

/* 下拉箭头SVG样式优化 */
.dropdown-arrow-container svg {
  /* 调整SVG图标大小，确保完全位于容器内部 */
  width: 14px !important;
  height: 14px !important;
  /* 确保SVG图标正确显示 */
  display: block;
  /* 确保SVG图标在最上层 */
  position: relative;
  z-index: 3;
  /* 防止SVG与其他元素冲突 */
  pointer-events: none;
  /* 确保SVG图标不会被其他元素遮挡 */
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  /* 保持原始颜色 */
  color: var(--text-secondary) !important;
  stroke-width: 2px;
  /* 确保SVG不会超出容器边界 */
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

/* 导航栏样式优化 */
.nav-container {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

/* 滚动时导航栏效果 */
.nav-container.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-link {
  position: relative;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  background-color: rgba(59, 130, 246, 0.05);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--primary);
  background-color: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
}

/* 响应式导航菜单 */
.mobile-nav-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.mobile-nav-toggle:hover {
  background-color: rgba(100, 116, 139, 0.1);
}

.mobile-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  border-radius: 0 0 12px 12px;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
}

.mobile-nav-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background-color: rgba(59, 130, 246, 0.05);
}

.mobile-nav-link.active {
  color: var(--primary);
  background-color: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

/* === 颜色系统 === */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #8b5cf6;
  --secondary-dark: #7c3aed;
  --success: #10b981;
  --success-dark: #059669;
  --warning: #f59e0b;
  --warning-dark: #d97706;
  --danger: #ef4444;
  --danger-dark: #dc2626;
  --info: #06b6d4;
  --info-dark: #0891b2;
  --bg-light: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-light: #e2e8f0;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* === 排版系统 === */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.0rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }

/* === 间距系统 === */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }
.m-10 { margin: 2.5rem; }
.m-12 { margin: 3rem; }
.m-16 { margin: 4rem; }
.m-20 { margin: 5rem; }
.m-24 { margin: 6rem; }
.m-32 { margin: 8rem; }

.mx-0 { margin-left: 0; margin-right: 0; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-3 { margin-left: 0.75rem; margin-right: 0.75rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-5 { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-auto { margin-bottom: auto; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-8 { margin-left: 2rem; }
.ml-10 { margin-left: 2.5rem; }
.ml-12 { margin-left: 3rem; }
.ml-auto { margin-left: auto; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-5 { margin-right: 1.25rem; }
.mr-6 { margin-right: 1.5rem; }
.mr-8 { margin-right: 2rem; }
.mr-10 { margin-right: 2.5rem; }
.mr-12 { margin-right: 3rem; }
.mr-auto { margin-right: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }
.p-24 { padding: 6rem; }
.p-32 { padding: 8rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 0.25rem; }
.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }
.pl-10 { padding-left: 2.5rem; }
.pl-12 { padding-left: 3rem; }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 0.25rem; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pr-5 { padding-right: 1.25rem; }
.pr-6 { padding-right: 1.5rem; }
.pr-8 { padding-right: 2rem; }
.pr-10 { padding-right: 2.5rem; }
.pr-12 { padding-right: 3rem; }

/* === 布局系统 === */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-grow { flex-grow: 1; }
.flex-shrink { flex-shrink: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.content-start { align-content: flex-start; }
.content-end { align-content: flex-end; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.content-around { align-content: space-around; }
.content-stretch { align-content: stretch; }

.self-auto { align-self: auto; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-baseline { align-self: baseline; }
.self-stretch { align-self: stretch; }

/* === 网格系统 === */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }
.row-span-4 { grid-row: span 4 / span 4; }
.row-span-6 { grid-row: span 6 / span 6; }
.row-span-full { grid-row: 1 / -1; }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }

/* === 尺寸系统 === */
.w-0 { width: 0; }
.w-1 { width: 0.25rem; }
.w-2 { width: 0.5rem; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-56 { width: 14rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }

.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }
.w-fit { width: fit-content; }

.h-0 { height: 0; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-min { height: min-content; }
.h-max { height: max-content; }
.h-fit { height: fit-content; }

/* === 颜色工具类 === */
.text-primary { color: var(--primary); }
.text-primary-dark { color: var(--primary-dark); }
.text-secondary { color: var(--secondary); }
.text-secondary-dark { color: var(--secondary-dark); }
.text-success { color: var(--success); }
.text-success-dark { color: var(--success-dark); }
.text-warning { color: var(--warning); }
.text-warning-dark { color: var(--warning-dark); }
.text-danger { color: var(--danger); }
.text-danger-dark { color: var(--danger-dark); }
.text-info { color: var(--info); }
.text-info-dark { color: var(--info-dark); }
.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-white { color: var(--white); }
.text-gray-50 { color: var(--gray-50); }
.text-gray-100 { color: var(--gray-100); }
.text-gray-200 { color: var(--gray-200); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }

.bg-primary { background-color: var(--primary); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-dark { background-color: var(--secondary-dark); }
.bg-success { background-color: var(--success); }
.bg-success-dark { background-color: var(--success-dark); }
.bg-warning { background-color: var(--warning); }
.bg-warning-dark { background-color: var(--warning-dark); }
.bg-danger { background-color: var(--danger); }
.bg-danger-dark { background-color: var(--danger-dark); }
.bg-info { background-color: var(--info); }
.bg-info-dark { background-color: var(--info-dark); }
.bg-bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-gray-300 { background-color: var(--gray-300); }
.bg-gray-400 { background-color: var(--gray-400); }
.bg-gray-500 { background-color: var(--gray-500); }
.bg-gray-600 { background-color: var(--gray-600); }
.bg-gray-700 { background-color: var(--gray-700); }
.bg-gray-800 { background-color: var(--gray-800); }
.bg-gray-900 { background-color: var(--gray-900); }

.border-primary { border-color: var(--primary); }
.border-primary-dark { border-color: var(--primary-dark); }
.border-secondary { border-color: var(--secondary); }
.border-secondary-dark { border-color: var(--secondary-dark); }
.border-success { border-color: var(--success); }
.border-success-dark { border-color: var(--success-dark); }
.border-warning { border-color: var(--warning); }
.border-warning-dark { border-color: var(--warning-dark); }
.border-danger { border-color: var(--danger); }
.border-danger-dark { border-color: var(--danger-dark); }
.border-info { border-color: var(--info); }
.border-info-dark { border-color: var(--info-dark); }
.border-border-light { border-color: var(--border-light); }
.border-white { border-color: var(--white); }
.border-gray-50 { border-color: var(--gray-50); }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-gray-400 { border-color: var(--gray-400); }
.border-gray-500 { border-color: var(--gray-500); }
.border-gray-600 { border-color: var(--gray-600); }
.border-gray-700 { border-color: var(--gray-700); }
.border-gray-800 { border-color: var(--gray-800); }
.border-gray-900 { border-color: var(--gray-900); }

/* === 边框系统 === */
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-8 { border-width: 8px; }
.border { border-width: 1px; }

.border-t-0 { border-top-width: 0; }
.border-t-2 { border-top-width: 2px; }
.border-t-4 { border-top-width: 4px; }
.border-t-8 { border-top-width: 8px; }
.border-t { border-top-width: 1px; }

.border-r-0 { border-right-width: 0; }
.border-r-2 { border-right-width: 2px; }
.border-r-4 { border-right-width: 4px; }
.border-r-8 { border-right-width: 8px; }
.border-r { border-right-width: 1px; }

.border-b-0 { border-bottom-width: 0; }
.border-b-2 { border-bottom-width: 2px; }
.border-b-4 { border-bottom-width: 4px; }
.border-b-8 { border-bottom-width: 8px; }
.border-b { border-bottom-width: 1px; }

.border-l-0 { border-left-width: 0; }
.border-l-2 { border-left-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-l-8 { border-left-width: 8px; }
.border-l { border-left-width: 1px; }

/* === 圆角系统 === */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.rounded-t-none { border-top-left-radius: 0; border-top-right-radius: 0; }
.rounded-t-sm { border-top-left-radius: 0.125rem; border-top-right-radius: 0.125rem; }
.rounded-t { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
.rounded-t-md { border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; }
.rounded-t-lg { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-t-2xl { border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
.rounded-t-3xl { border-top-left-radius: 1.5rem; border-top-right-radius: 1.5rem; }
.rounded-t-full { border-top-left-radius: 9999px; border-top-right-radius: 9999px; }

.rounded-r-none { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rounded-r-sm { border-top-right-radius: 0.125rem; border-bottom-right-radius: 0.125rem; }
.rounded-r { border-top-right-radius: 0.25rem; border-bottom-right-radius: 0.25rem; }
.rounded-r-md { border-top-right-radius: 0.375rem; border-bottom-right-radius: 0.375rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-r-2xl { border-top-right-radius: 1rem; border-bottom-right-radius: 1rem; }
.rounded-r-3xl { border-top-right-radius: 1.5rem; border-bottom-right-radius: 1.5rem; }
.rounded-r-full { border-top-right-radius: 9999px; border-bottom-right-radius: 9999px; }

.rounded-b-none { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.rounded-b-sm { border-bottom-right-radius: 0.125rem; border-bottom-left-radius: 0.125rem; }
.rounded-b { border-bottom-right-radius: 0.25rem; border-bottom-left-radius: 0.25rem; }
.rounded-b-md { border-bottom-right-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.rounded-b-lg { border-bottom-right-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-b-xl { border-bottom-right-radius: 0.75rem; border-bottom-left-radius: 0.75rem; }
.rounded-b-2xl { border-bottom-right-radius: 1rem; border-bottom-left-radius: 1rem; }
.rounded-b-3xl { border-bottom-right-radius: 1.5rem; border-bottom-left-radius: 1.5rem; }
.rounded-b-full { border-bottom-right-radius: 9999px; border-bottom-left-radius: 9999px; }

.rounded-l-none { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.rounded-l-sm { border-top-left-radius: 0.125rem; border-bottom-left-radius: 0.125rem; }
.rounded-l { border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem; }
.rounded-l-md { border-top-left-radius: 0.375rem; border-bottom-left-radius: 0.375rem; }
.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-l-xl { border-top-left-radius: 0.75rem; border-bottom-left-radius: 0.75rem; }
.rounded-l-2xl { border-top-left-radius: 1rem; border-bottom-left-radius: 1rem; }
.rounded-l-3xl { border-top-left-radius: 1.5rem; border-bottom-left-radius: 1.5rem; }
.rounded-l-full { border-top-left-radius: 9999px; border-bottom-left-radius: 9999px; }

/* === 阴影系统 === */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.shadow-none { box-shadow: none; }

/* 自定义阴影 */
.shadow-card { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-card-hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* === 交互系统 === */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* === 变换系统 === */
.transform { transform: translateZ(0); }
.transform-none { transform: none; }

.scale-0 { transform: scale(0); }
.scale-50 { transform: scale(0.5); }
.scale-75 { transform: scale(0.75); }
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }
.scale-150 { transform: scale(1.5); }

.rotate-0 { transform: rotate(0deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.rotate-270 { transform: rotate(270deg); }
.rotate-360 { transform: rotate(360deg); }

.translate-x-0 { transform: translateX(0); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-x-2 { transform: translateX(0.5rem); }
.translate-x-3 { transform: translateX(0.75rem); }
.translate-x-4 { transform: translateX(1rem); }
.translate-x-5 { transform: translateX(1.25rem); }
.translate-x-6 { transform: translateX(1.5rem); }
.translate-x-8 { transform: translateX(2rem); }
.translate-x-10 { transform: translateX(2.5rem); }
.translate-x-12 { transform: translateX(3rem); }
.translate-x-16 { transform: translateX(4rem); }
.translate-x-20 { transform: translateX(5rem); }
.translate-x-24 { transform: translateX(6rem); }
.translate-x-32 { transform: translateX(8rem); }
.translate-x-full { transform: translateX(100%); }
.translate-x-px { transform: translateX(1px); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.-translate-x-2 { transform: translateX(-0.5rem); }
.-translate-x-3 { transform: translateX(-0.75rem); }
.-translate-x-4 { transform: translateX(-1rem); }
.-translate-x-5 { transform: translateX(-1.25rem); }
.-translate-x-6 { transform: translateX(-1.5rem); }
.-translate-x-8 { transform: translateX(-2rem); }
.-translate-x-10 { transform: translateX(-2.5rem); }
.-translate-x-12 { transform: translateX(-3rem); }
.-translate-x-16 { transform: translateX(-4rem); }
.-translate-x-20 { transform: translateX(-5rem); }
.-translate-x-24 { transform: translateX(-6rem); }
.-translate-x-32 { transform: translateX(-8rem); }
.-translate-x-full { transform: translateX(-100%); }
.-translate-x-px { transform: translateX(-1px); }

.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.translate-y-3 { transform: translateY(0.75rem); }
.translate-y-4 { transform: translateY(1rem); }
.translate-y-5 { transform: translateY(1.25rem); }
.translate-y-6 { transform: translateY(1.5rem); }
.translate-y-8 { transform: translateY(2rem); }
.translate-y-10 { transform: translateY(2.5rem); }
.translate-y-12 { transform: translateY(3rem); }
.translate-y-16 { transform: translateY(4rem); }
.translate-y-20 { transform: translateY(5rem); }
.translate-y-24 { transform: translateY(6rem); }
.translate-y-32 { transform: translateY(8rem); }
.translate-y-full { transform: translateY(100%); }
.translate-y-px { transform: translateY(1px); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.-translate-y-3 { transform: translateY(-0.75rem); }
.-translate-y-4 { transform: translateY(-1rem); }
.-translate-y-5 { transform: translateY(-1.25rem); }
.-translate-y-6 { transform: translateY(-1.5rem); }
.-translate-y-8 { transform: translateY(-2rem); }
.-translate-y-10 { transform: translateY(-2.5rem); }
.-translate-y-12 { transform: translateY(-3rem); }
.-translate-y-16 { transform: translateY(-4rem); }
.-translate-y-20 { transform: translateY(-5rem); }
.-translate-y-24 { transform: translateY(-6rem); }
.-translate-y-32 { transform: translateY(-8rem); }
.-translate-y-full { transform: translateY(-100%); }
.-translate-y-px { transform: translateY(-1px); }

/* === 交互状态 === */
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-primary-dark:hover { color: var(--primary-dark); }
.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:text-secondary-dark:hover { color: var(--secondary-dark); }
.hover\:text-success:hover { color: var(--success); }
.hover\:text-success-dark:hover { color: var(--success-dark); }
.hover\:text-warning:hover { color: var(--warning); }
.hover\:text-warning-dark:hover { color: var(--warning-dark); }
.hover\:text-danger:hover { color: var(--danger); }
.hover\:text-danger-dark:hover { color: var(--danger-dark); }
.hover\:text-info:hover { color: var(--info); }
.hover\:text-info-dark:hover { color: var(--info-dark); }

.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-primary-dark:hover { background-color: var(--primary-dark); }
.hover\:bg-secondary:hover { background-color: var(--secondary); }
.hover\:bg-secondary-dark:hover { background-color: var(--secondary-dark); }
.hover\:bg-success:hover { background-color: var(--success); }
.hover\:bg-success-dark:hover { background-color: var(--success-dark); }
.hover\:bg-warning:hover { background-color: var(--warning); }
.hover\:bg-warning-dark:hover { background-color: var(--warning-dark); }
.hover\:bg-danger:hover { background-color: var(--danger); }
.hover\:bg-danger-dark:hover { background-color: var(--danger-dark); }
.hover\:bg-info:hover { background-color: var(--info); }
.hover\:bg-info-dark:hover { background-color: var(--info-dark); }
.hover\:bg-gray-50:hover { background-color: var(--gray-50); }
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:bg-gray-200:hover { background-color: var(--gray-200); }
.hover\:bg-gray-300:hover { background-color: var(--gray-300); }

.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:border-primary-dark:hover { border-color: var(--primary-dark); }
.hover\:border-secondary:hover { border-color: var(--secondary); }
.hover\:border-secondary-dark:hover { border-color: var(--secondary-dark); }
.hover\:border-success:hover { border-color: var(--success); }
.hover\:border-success-dark:hover { border-color: var(--success-dark); }
.hover\:border-warning:hover { border-color: var(--warning); }
.hover\:border-warning-dark:hover { border-color: var(--warning-dark); }
.hover\:border-danger:hover { border-color: var(--danger); }
.hover\:border-danger-dark:hover { border-color: var(--danger-dark); }
.hover\:border-info:hover { border-color: var(--info); }
.hover\:border-info-dark:hover { border-color: var(--info-dark); }

.hover\:shadow:hover { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:shadow-inner:hover { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }
.hover\:shadow-none:hover { box-shadow: none; }

.hover\:scale-95:hover { transform: scale(0.95); }
.hover\:scale-100:hover { transform: scale(1); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-0:focus { --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; }
.focus\:ring-1:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color); --tw-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); --tw-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-4:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color); --tw-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-8:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(8px + var(--tw-ring-offset-width)) var(--tw-ring-color); --tw-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }

.focus\:ring-primary:focus { --tw-ring-color: var(--primary); }
.focus\:ring-primary-dark:focus { --tw-ring-color: var(--primary-dark); }
.focus\:ring-secondary:focus { --tw-ring-color: var(--secondary); }
.focus\:ring-secondary-dark:focus { --tw-ring-color: var(--secondary-dark); }
.focus\:ring-success:focus { --tw-ring-color: var(--success); }
.focus\:ring-success-dark:focus { --tw-ring-color: var(--success-dark); }
.focus\:ring-warning:focus { --tw-ring-color: var(--warning); }
.focus\:ring-warning-dark:focus { --tw-ring-color: var(--warning-dark); }
.focus\:ring-danger:focus { --tw-ring-color: var(--danger); }
.focus\:ring-danger-dark:focus { --tw-ring-color: var(--danger-dark); }
.focus\:ring-info:focus { --tw-ring-color: var(--info); }
.focus\:ring-info-dark:focus { --tw-ring-color: var(--info-dark); }
.focus\:ring-gray-300:focus { --tw-ring-color: var(--gray-300); }

.focus\:ring-opacity-50:focus { --tw-ring-opacity: 0.5; }
.focus\:ring-opacity-75:focus { --tw-ring-opacity: 0.75; }

.focus\:ring-offset-0:focus { --tw-ring-offset-width: 0px; }
.focus\:ring-offset-1:focus { --tw-ring-offset-width: 1px; }
.focus\:ring-offset-2:focus { --tw-ring-offset-width: 2px; }
.focus\:ring-offset-4:focus { --tw-ring-offset-width: 4px; }
.focus\:ring-offset-8:focus { --tw-ring-offset-width: 8px; }

.focus\:ring-offset-white:focus { --tw-ring-offset-color: var(--white); }
.focus\:ring-offset-gray-50:focus { --tw-ring-offset-color: var(--gray-50); }
.focus\:ring-offset-gray-100:focus { --tw-ring-offset-color: var(--gray-100); }
.focus\:ring-offset-gray-200:focus { --tw-ring-offset-color: var(--gray-200); }
.focus\:ring-offset-gray-300:focus { --tw-ring-offset-color: var(--gray-300); }
.focus\:ring-offset-gray-400:focus { --tw-ring-offset-color: var(--gray-400); }
.focus\:ring-offset-gray-500:focus { --tw-ring-offset-color: var(--gray-500); }
.focus\:ring-offset-gray-600:focus { --tw-ring-offset-color: var(--gray-600); }
.focus\:ring-offset-gray-700:focus { --tw-ring-offset-color: var(--gray-700); }
.focus\:ring-offset-gray-800:focus { --tw-ring-offset-color: var(--gray-800); }
.focus\:ring-offset-gray-900:focus { --tw-ring-offset-color: var(--gray-900); }

/* === 显示/隐藏 === */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.table { display: table; }
.inline-table { display: inline-table; }
.table-caption { display: table-caption; }
.table-cell { display: table-cell; }
.table-column { display: table-column; }
.table-column-group { display: table-column-group; }
.table-footer-group { display: table-footer-group; }
.table-header-group { display: table-header-group; }
.table-row-group { display: table-row-group; }
.table-row { display: table-row; }
.grid { display: grid; }
.hidden { display: none; }

/* === 定位系统 === */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.top-0 { top: 0px; }
.top-1 { top: 0.25rem; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-5 { top: 1.25rem; }
.top-6 { top: 1.5rem; }
.top-8 { top: 2rem; }
.top-10 { top: 2.5rem; }
.top-12 { top: 3rem; }
.top-16 { top: 4rem; }
.top-20 { top: 5rem; }
.top-24 { top: 6rem; }
.top-32 { top: 8rem; }
.top-auto { top: auto; }

.right-0 { right: 0px; }
.right-1 { right: 0.25rem; }
.right-2 { right: 0.5rem; }
.right-3 { right: 0.75rem; }
.right-4 { right: 1rem; }
.right-5 { right: 1.25rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.right-10 { right: 2.5rem; }
.right-12 { right: 3rem; }
.right-16 { right: 4rem; }
.right-20 { right: 5rem; }
.right-24 { right: 6rem; }
.right-32 { right: 8rem; }
.right-auto { right: auto; }

.bottom-0 { bottom: 0px; }
.bottom-1 { bottom: 0.25rem; }
.bottom-2 { bottom: 0.5rem; }
.bottom-3 { bottom: 0.75rem; }
.bottom-4 { bottom: 1rem; }
.bottom-5 { bottom: 1.25rem; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-12 { bottom: 3rem; }
.bottom-16 { bottom: 4rem; }
.bottom-20 { bottom: 5rem; }
.bottom-24 { bottom: 6rem; }
.bottom-32 { bottom: 8rem; }
.bottom-auto { bottom: auto; }

.left-0 { left: 0px; }
.left-1 { left: 0.25rem; }
.left-2 { left: 0.5rem; }
.left-3 { left: 0.75rem; }
.left-4 { left: 1rem; }
.left-5 { left: 1.25rem; }
.left-6 { left: 1.5rem; }
.left-8 { left: 2rem; }
.left-10 { left: 2.5rem; }
.left-12 { left: 3rem; }
.left-16 { left: 4rem; }
.left-20 { left: 5rem; }
.left-24 { left: 6rem; }
.left-32 { left: 8rem; }
.left-auto { left: auto; }

.inset-0 { top: 0px; right: 0px; bottom: 0px; left: 0px; }
.inset-x-0 { left: 0px; right: 0px; }
.inset-y-0 { top: 0px; bottom: 0px; }
.inset-x-auto { left: auto; right: auto; }
.inset-y-auto { top: auto; bottom: auto; }

.inset-1 { top: 0.25rem; right: 0.25rem; bottom: 0.25rem; left: 0.25rem; }
.inset-2 { top: 0.5rem; right: 0.5rem; bottom: 0.5rem; left: 0.5rem; }
.inset-3 { top: 0.75rem; right: 0.75rem; bottom: 0.75rem; left: 0.75rem; }
.inset-4 { top: 1rem; right: 1rem; bottom: 1rem; left: 1rem; }
.inset-5 { top: 1.25rem; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; }
.inset-6 { top: 1.5rem; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; }
.inset-8 { top: 2rem; right: 2rem; bottom: 2rem; left: 2rem; }
.inset-10 { top: 2.5rem; right: 2.5rem; bottom: 2.5rem; left: 2.5rem; }
.inset-12 { top: 3rem; right: 3rem; bottom: 3rem; left: 3rem; }
.inset-16 { top: 4rem; right: 4rem; bottom: 4rem; left: 4rem; }
.inset-20 { top: 5rem; right: 5rem; bottom: 5rem; left: 5rem; }
.inset-24 { top: 6rem; right: 6rem; bottom: 6rem; left: 6rem; }
.inset-32 { top: 8rem; right: 8rem; bottom: 8rem; left: 8rem; }

/* === 响应式断点 === */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:inline-block { display: inline-block; }
  .sm\:inline { display: inline; }
  .sm\:flex { display: flex; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:table { display: table; }
  .sm\:hidden { display: none; }
  
  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-center { justify-content: center; }
  .sm\:justify-between { justify-content: space-between; }
  
  .sm\:w-auto { width: auto; }
  .sm\:w-full { width: 100%; }
  .sm\:w-1\/2 { width: 50%; }
  .sm\:w-1\/3 { width: 33.333333%; }
  .sm\:w-2\/3 { width: 66.666667%; }
  .sm\:w-1\/4 { width: 25%; }
  .sm\:w-3\/4 { width: 75%; }
  
  .sm\:h-auto { height: auto; }
  .sm\:h-full { height: 100%; }
  
  .sm\:p-0 { padding: 0px; }
  .sm\:p-1 { padding: 0.25rem; }
  .sm\:p-2 { padding: 0.5rem; }
  .sm\:p-3 { padding: 0.75rem; }
  .sm\:p-4 { padding: 1rem; }
  
  .sm\:m-0 { margin: 0px; }
  .sm\:m-1 { margin: 0.25rem; }
  .sm\:m-2 { margin: 0.5rem; }
  .sm\:m-3 { margin: 0.75rem; }
  .sm\:m-4 { margin: 1rem; }
  
  .sm\:mx-0 { margin-left: 0px; margin-right: 0px; }
  .sm\:mx-auto { margin-left: auto; margin-right: auto; }
  
  .sm\:my-0 { margin-top: 0px; margin-bottom: 0px; }
  .sm\:my-auto { margin-top: auto; margin-bottom: auto; }
  
  .sm\:mt-0 { margin-top: 0px; }
  .sm\:mt-1 { margin-top: 0.25rem; }
  .sm\:mt-2 { margin-top: 0.5rem; }
  .sm\:mt-3 { margin-top: 0.75rem; }
  .sm\:mt-4 { margin-top: 1rem; }
  
  .sm\:mb-0 { margin-bottom: 0px; }
  .sm\:mb-1 { margin-bottom: 0.25rem; }
  .sm\:mb-2 { margin-bottom: 0.5rem; }
  .sm\:mb-3 { margin-bottom: 0.75rem; }
  .sm\:mb-4 { margin-bottom: 1rem; }
  
  .sm\:ml-0 { margin-left: 0px; }
  .sm\:ml-1 { margin-left: 0.25rem; }
  .sm\:ml-2 { margin-left: 0.5rem; }
  .sm\:ml-3 { margin-left: 0.75rem; }
  .sm\:ml-4 { margin-left: 1rem; }
  
  .sm\:mr-0 { margin-right: 0px; }
  .sm\:mr-1 { margin-right: 0.25rem; }
  .sm\:mr-2 { margin-right: 0.5rem; }
  .sm\:mr-3 { margin-right: 0.75rem; }
  .sm\:mr-4 { margin-right: 1rem; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .md\:inline { display: inline; }
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:table { display: table; }
  .md\:hidden { display: none; }
  
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-center { align-items: center; }
  .md\:justify-center { justify-content: center; }
  .md\:justify-between { justify-content: space-between; }
  
  .md\:w-auto { width: auto; }
  .md\:w-full { width: 100%; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:w-2\/3 { width: 66.666667%; }
  .md\:w-1\/4 { width: 25%; }
  .md\:w-3\/4 { width: 75%; }
  
  .md\:h-auto { height: auto; }
  .md\:h-full { height: 100%; }
  
  .md\:p-0 { padding: 0px; }
  .md\:p-1 { padding: 0.25rem; }
  .md\:p-2 { padding: 0.5rem; }
  .md\:p-3 { padding: 0.75rem; }
  .md\:p-4 { padding: 1rem; }
  
  .md\:m-0 { margin: 0px; }
  .md\:m-1 { margin: 0.25rem; }
  .md\:m-2 { margin: 0.5rem; }
  .md\:m-3 { margin: 0.75rem; }
  .md\:m-4 { margin: 1rem; }
  
  .md\:mx-0 { margin-left: 0px; margin-right: 0px; }
  .md\:mx-auto { margin-left: auto; margin-right: auto; }
  
  .md\:my-0 { margin-top: 0px; margin-bottom: 0px; }
  .md\:my-auto { margin-top: auto; margin-bottom: auto; }
  
  .md\:mt-0 { margin-top: 0px; }
  .md\:mt-1 { margin-top: 0.25rem; }
  .md\:mt-2 { margin-top: 0.5rem; }
  .md\:mt-3 { margin-top: 0.75rem; }
  .md\:mt-4 { margin-top: 1rem; }
  
  .md\:mb-0 { margin-bottom: 0px; }
  .md\:mb-1 { margin-bottom: 0.25rem; }
  .md\:mb-2 { margin-bottom: 0.5rem; }
  .md\:mb-3 { margin-bottom: 0.75rem; }
  .md\:mb-4 { margin-bottom: 1rem; }
  
  .md\:ml-0 { margin-left: 0px; }
  .md\:ml-1 { margin-left: 0.25rem; }
  .md\:ml-2 { margin-left: 0.5rem; }
  .md\:ml-3 { margin-left: 0.75rem; }
  .md\:ml-4 { margin-left: 1rem; }
  
  .md\:mr-0 { margin-right: 0px; }
  .md\:mr-1 { margin-right: 0.25rem; }
  .md\:mr-2 { margin-right: 0.5rem; }
  .md\:mr-3 { margin-right: 0.75rem; }
  .md\:mr-4 { margin-right: 1rem; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:inline-block { display: inline-block; }
  .lg\:inline { display: inline; }
  .lg\:flex { display: flex; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:table { display: table; }
  .lg\:hidden { display: none; }
  
  .lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:col-span-10 { grid-column: span 10 / span 10; }
  .lg\:col-span-11 { grid-column: span 11 / span 11; }
  .lg\:col-span-12 { grid-column: span 12 / span 12; }
  
  .lg\:flex-row { flex-direction: row; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-center { justify-content: center; }
  .lg\:justify-between { justify-content: space-between; }
  
  .lg\:w-auto { width: auto; }
  .lg\:w-full { width: 100%; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:w-1\/4 { width: 25%; }
  .lg\:w-3\/4 { width: 75%; }
  
  .lg\:h-auto { height: auto; }
  .lg\:h-full { height: 100%; }
  
  .lg\:p-0 { padding: 0px; }
  .lg\:p-1 { padding: 0.25rem; }
  .lg\:p-2 { padding: 0.5rem; }
  .lg\:p-3 { padding: 0.75rem; }
  .lg\:p-4 { padding: 1rem; }
  
  .lg\:m-0 { margin: 0px; }
  .lg\:m-1 { margin: 0.25rem; }
  .lg\:m-2 { margin: 0.5rem; }
  .lg\:m-3 { margin: 0.75rem; }
  .lg\:m-4 { margin: 1rem; }
  
  .lg\:mx-0 { margin-left: 0px; margin-right: 0px; }
  .lg\:mx-auto { margin-left: auto; margin-right: auto; }
  
  .lg\:my-0 { margin-top: 0px; margin-bottom: 0px; }
  .lg\:my-auto { margin-top: auto; margin-bottom: auto; }
  
  .lg\:mt-0 { margin-top: 0px; }
  .lg\:mt-1 { margin-top: 0.25rem; }
  .lg\:mt-2 { margin-top: 0.5rem; }
  .lg\:mt-3 { margin-top: 0.75rem; }
  .lg\:mt-4 { margin-top: 1rem; }
  
  .lg\:mb-0 { margin-bottom: 0px; }
  .lg\:mb-1 { margin-bottom: 0.25rem; }
  .lg\:mb-2 { margin-bottom: 0.5rem; }
  .lg\:mb-3 { margin-bottom: 0.75rem; }
  .lg\:mb-4 { margin-bottom: 1rem; }
  
  .lg\:ml-0 { margin-left: 0px; }
  .lg\:ml-1 { margin-left: 0.25rem; }
  .lg\:ml-2 { margin-left: 0.5rem; }
  .lg\:ml-3 { margin-left: 0.75rem; }
  .lg\:ml-4 { margin-left: 1rem; }
  
  .lg\:mr-0 { margin-right: 0px; }
  .lg\:mr-1 { margin-right: 0.25rem; }
  .lg\:mr-2 { margin-right: 0.5rem; }
  .lg\:mr-3 { margin-right: 0.75rem; }
  .lg\:mr-4 { margin-right: 1rem; }
}

@media (min-width: 1280px) {
  .xl\:block { display: block; }
  .xl\:inline-block { display: inline-block; }
  .xl\:inline { display: inline; }
  .xl\:flex { display: flex; }
  .xl\:inline-flex { display: inline-flex; }
  .xl\:table { display: table; }
  .xl\:hidden { display: none; }
  
  .xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  
  .xl\:col-span-1 { grid-column: span 1 / span 1; }
  .xl\:col-span-2 { grid-column: span 2 / span 2; }
  .xl\:col-span-3 { grid-column: span 3 / span 3; }
  .xl\:col-span-4 { grid-column: span 4 / span 4; }
  .xl\:col-span-5 { grid-column: span 5 / span 5; }
  .xl\:col-span-6 { grid-column: span 6 / span 6; }
  .xl\:col-span-7 { grid-column: span 7 / span 7; }
  .xl\:col-span-8 { grid-column: span 8 / span 8; }
  .xl\:col-span-9 { grid-column: span 9 / span 9; }
  .xl\:col-span-10 { grid-column: span 10 / span 10; }
  .xl\:col-span-11 { grid-column: span 11 / span 11; }
  .xl\:col-span-12 { grid-column: span 12 / span 12; }
  
  .xl\:flex-row { flex-direction: row; }
  .xl\:flex-col { flex-direction: column; }
  .xl\:items-center { align-items: center; }
  .xl\:justify-center { justify-content: center; }
  .xl\:justify-between { justify-content: space-between; }
  
  .xl\:w-auto { width: auto; }
  .xl\:w-full { width: 100%; }
  .xl\:w-1\/2 { width: 50%; }
  .xl\:w-1\/3 { width: 33.333333%; }
  .xl\:w-2\/3 { width: 66.666667%; }
  .xl\:w-1\/4 { width: 25%; }
  .xl\:w-3\/4 { width: 75%; }
  
  .xl\:h-auto { height: auto; }
  .xl\:h-full { height: 100%; }
  
  .xl\:p-0 { padding: 0px; }
  .xl\:p-1 { padding: 0.25rem; }
  .xl\:p-2 { padding: 0.5rem; }
  .xl\:p-3 { padding: 0.75rem; }
  .xl\:p-4 { padding: 1rem; }
  
  .xl\:m-0 { margin: 0px; }
  .xl\:m-1 { margin: 0.25rem; }
  .xl\:m-2 { margin: 0.5rem; }
  .xl\:m-3 { margin: 0.75rem; }
  .xl\:m-4 { margin: 1rem; }
  
  .xl\:mx-0 { margin-left: 0px; margin-right: 0px; }
  .xl\:mx-auto { margin-left: auto; margin-right: auto; }
  
  .xl\:my-0 { margin-top: 0px; margin-bottom: 0px; }
  .xl\:my-auto { margin-top: auto; margin-bottom: auto; }
  
  .xl\:mt-0 { margin-top: 0px; }
  .xl\:mt-1 { margin-top: 0.25rem; }
  .xl\:mt-2 { margin-top: 0.5rem; }
  .xl\:mt-3 { margin-top: 0.75rem; }
  .xl\:mt-4 { margin-top: 1rem; }
  
  .xl\:mb-0 { margin-bottom: 0px; }
  .xl\:mb-1 { margin-bottom: 0.25rem; }
  .xl\:mb-2 { margin-bottom: 0.5rem; }
  .xl\:mb-3 { margin-bottom: 0.75rem; }
  .xl\:mb-4 { margin-bottom: 1rem; }
  
  .xl\:ml-0 { margin-left: 0px; }
  .xl\:ml-1 { margin-left: 0.25rem; }
  .xl\:ml-2 { margin-left: 0.5rem; }
  .xl\:ml-3 { margin-left: 0.75rem; }
  .xl\:ml-4 { margin-left: 1rem; }
  
  .xl\:mr-0 { margin-right: 0px; }
  .xl\:mr-1 { margin-right: 0.25rem; }
  .xl\:mr-2 { margin-right: 0.5rem; }
  .xl\:mr-3 { margin-right: 0.75rem; }
  .xl\:mr-4 { margin-right: 1rem; }
}

/* === 自定义工具类 === */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* 自定义阴影 */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-inner {
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.shadow-none {
  box-shadow: none;
}

/* 卡片阴影 */
.shadow-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-card-hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 动画 */
.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* 图表容器 */
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
  min-height: 300px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  padding: 10px;
}

.mini-chart {
  height: 40px;
  width: 100px;
  min-height: 40px;
  min-width: 100px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  padding: 5px;
}

/* 背景图案 */
.bg-grid {
  background-image: 
    linear-gradient(rgba(226, 232, 240, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg-dots {
  background-image: radial-gradient(rgba(100, 116, 139, 0.1) 1px, transparent 1px);
  background-size: 15px 15px;
}

.bg-lines {
  background-image: linear-gradient(to right, rgba(100, 116, 139, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* 指示器边框 */
.border-l-indicator {
  position: relative;
}

.border-l-indicator::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: currentColor;
}

/* 截断文本 */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 蓝色背景变体 */
.bg-blue-50 { background-color: rgba(59, 130, 246, 0.05); }
.bg-blue-100 { background-color: rgba(59, 130, 246, 0.1); }
.bg-blue-200 { background-color: rgba(59, 130, 246, 0.2); }
.bg-blue-600 { background-color: #2563eb; }

/* 绿色背景变体 */
.bg-green-50 { background-color: rgba(16, 185, 129, 0.05); }
.bg-green-100 { background-color: rgba(16, 185, 129, 0.1); }
.bg-green-200 { background-color: rgba(16, 185, 129, 0.2); }
.bg-green-600 { background-color: #059669; }

/* 紫色背景变体 */
.bg-purple-50 { background-color: rgba(139, 92, 246, 0.05); }
.bg-purple-100 { background-color: rgba(139, 92, 246, 0.1); }
.bg-purple-200 { background-color: rgba(139, 92, 246, 0.2); }
.bg-purple-600 { background-color: #9333ea; }

/* 红色背景变体 */
.bg-red-50 { background-color: rgba(239, 68, 68, 0.05); }
.bg-red-100 { background-color: rgba(239, 68, 68, 0.1); }
.bg-red-200 { background-color: rgba(239, 68, 68, 0.2); }
.bg-red-600 { background-color: #dc2626; }

/* 粉色背景变体 */
.bg-pink-50 { background-color: rgba(236, 72, 153, 0.05); }
.bg-pink-100 { background-color: rgba(236, 72, 153, 0.1); }
.bg-pink-200 { background-color: rgba(236, 72, 153, 0.2); }
.bg-pink-600 { background-color: #db2777; }

/* 靛蓝背景变体 */
.bg-indigo-50 { background-color: rgba(99, 102, 241, 0.05); }
.bg-indigo-100 { background-color: rgba(99, 102, 241, 0.1); }
.bg-indigo-200 { background-color: rgba(99, 102, 241, 0.2); }
.bg-indigo-600 { background-color: #4f46e5; }

/* 青色背景变体 */
.bg-cyan-50 { background-color: rgba(6, 182, 212, 0.05); }
.bg-cyan-100 { background-color: rgba(6, 182, 212, 0.1); }
.bg-cyan-200 { background-color: rgba(6, 182, 212, 0.2); }
.bg-cyan-600 { background-color: #0891b2; }

/* 黄色背景变体 */
.bg-yellow-50 { background-color: rgba(245, 158, 11, 0.05); }
.bg-yellow-100 { background-color: rgba(245, 158, 11, 0.1); }
.bg-yellow-200 { background-color: rgba(245, 158, 11, 0.2); }
.bg-yellow-600 { background-color: #d97706; }

/* 文本颜色变体 */
.text-blue-50 { color: rgba(59, 130, 246, 0.05); }
.text-blue-100 { color: rgba(59, 130, 246, 0.1); }
.text-blue-200 { color: rgba(59, 130, 246, 0.2); }
.text-blue-600 { color: #2563eb; }

.text-green-50 { color: rgba(16, 185, 129, 0.05); }
.text-green-100 { color: rgba(16, 185, 129, 0.1); }
.text-green-200 { color: rgba(16, 185, 129, 0.2); }
.text-green-600 { color: #059669; }

.text-purple-50 { color: rgba(139, 92, 246, 0.05); }
.text-purple-100 { color: rgba(139, 92, 246, 0.1); }
.text-purple-200 { color: rgba(139, 92, 246, 0.2); }
.text-purple-600 { color: #9333ea; }

.text-red-50 { color: rgba(239, 68, 68, 0.05); }
.text-red-100 { color: rgba(239, 68, 68, 0.1); }
.text-red-200 { color: rgba(239, 68, 68, 0.2); }
.text-red-600 { color: #dc2626; }

.text-pink-50 { color: rgba(236, 72, 153, 0.05); }
.text-pink-100 { color: rgba(236, 72, 153, 0.1); }
.text-pink-200 { color: rgba(236, 72, 153, 0.2); }
.text-pink-600 { color: #db2777; }

.text-indigo-50 { color: rgba(99, 102, 241, 0.05); }
.text-indigo-100 { color: rgba(99, 102, 241, 0.1); }
.text-indigo-200 { color: rgba(99, 102, 241, 0.2); }
.text-indigo-600 { color: #4f46e5; }

.text-cyan-50 { color: rgba(6, 182, 212, 0.05); }
.text-cyan-100 { color: rgba(6, 182, 212, 0.1); }
.text-cyan-200 { color: rgba(6, 182, 212, 0.2); }
.text-cyan-600 { color: #0891b2; }

.text-yellow-50 { color: rgba(245, 158, 11, 0.05); }
.text-yellow-100 { color: rgba(245, 158, 11, 0.1); }
.text-yellow-200 { color: rgba(245, 158, 11, 0.2); }
.text-yellow-600 { color: #d97706; }

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

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* 指针事件 */
.pointer-events-none {
  pointer-events: none;
}

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

/* 选择文本 */
.select-none {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.select-text {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.select-all {
  -webkit-user-select: all;
  -moz-user-select: all;
  -ms-user-select: all;
  user-select: all;
}

.select-auto {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* 可见性 */
.visibility-visible {
  visibility: visible;
}

.visibility-hidden {
  visibility: hidden;
}

.visibility-collapse {
  visibility: collapse;
}

/* 空白处理 */
.whitespace-normal {
  white-space: normal;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre {
  white-space: pre;
}

.whitespace-pre-line {
  white-space: pre-line;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

/* 文字大小写 */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
}

/* 文字装饰 */
.underline {
  text-decoration-line: underline;
}

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

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

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

/* 文本对齐 */
.text-left {
  text-align: left;
}

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

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

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

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

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

/* 垂直对齐 */
.align-baseline {
  vertical-align: baseline;
}

.align-top {
  vertical-align: top;
}

.align-middle {
  vertical-align: middle;
}

.align-bottom {
  vertical-align: bottom;
}

.align-text-top {
  vertical-align: text-top;
}

.align-text-bottom {
  vertical-align: text-bottom;
}

/* 浮动 */
.float-right {
  float: right;
}

.float-left {
  float: left;
}

.float-none {
  float: none;
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.clear-left {
  clear: left;
}

.clear-right {
  clear: right;
}

.clear-both {
  clear: both;
}

.clear-none {
  clear: none;
}

/* 溢出 */
.overflow-auto {
  overflow: auto;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

.overflow-scroll {
  overflow: scroll;
}

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

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

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

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

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

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

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

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

/* 滚动条 */
.scrollbar-thin {
  scrollbar-width: thin;
}

.scrollbar-none {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

/* 光标 */
.cursor-auto {
  cursor: auto;
}

.cursor-default {
  cursor: default;
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-wait {
  cursor: wait;
}

.cursor-text {
  cursor: text;
}

.cursor-move {
  cursor: move;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-help {
  cursor: help;
}

.cursor-progress {
  cursor: progress;
}

.cursor-cell {
  cursor: cell;
}

.cursor-crosshair {
  cursor: crosshair;
}

.cursor-zoom-in {
  cursor: zoom-in;
}

.cursor-zoom-out {
  cursor: zoom-out;
}

/* 用户界面焦点 */
.focus-visible:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.focus-within:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 禁用状态 */
.disabled:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

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

/* 打印样式 */
@media print {
  .print\:block {
    display: block;
  }
  
  .print\:hidden {
    display: none;
  }
  
  .print\:text-black {
    color: black;
  }
  
  .print\:bg-white {
    background-color: white;
  }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  .high-contrast {
    border-color: black;
    color: black;
    background-color: white;
  }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  .reduce-motion {
    animation: none;
    transition: none;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .dark\:text-white {
    color: white;
  }
  
  .dark\:bg-gray-900 {
    background-color: var(--gray-900);
  }
}