.elementor-16951 .elementor-element.elementor-element-c6c8ead{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS */h1,h2,h3,h4,h5,h6{
    color: inherit !important;
}

#root > div > main > div.flex.h-full.w-80.bg-gray-900.border-r.border-gray-800.flex-col.shadow-xl.z-20 > div.flex-1.flex.overflow-hidden > div > div > div.p-4.space-y-6 > div.space-y-4.border-t.border-gray-800.pt-4 > div.space-y-2 > div > button{
    background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)) !important;
}

/* ============================================
   2gen 数据版块 WordPress + Elementor 样式修复
   ============================================ */

/* 确保数据版块容器可见且可交互 */
#root .flex-1.overflow-y-auto.p-4,
#root [data-2gen] .flex-1.overflow-y-auto.p-4 {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
}

/* 修复数据表格容器 */
#root .overflow-x-auto.border,
#root [data-2gen] .overflow-x-auto.border {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  display: block !important;
  visibility: visible !important;
}

/* 修复表格样式 */
#root table,
#root [data-2gen] table {
  border-collapse: collapse !important;
  table-layout: auto !important;
  width: 100% !important;
  display: table !important;
}

/* 修复表头 */
#root thead,
#root [data-2gen] thead {
  display: table-header-group !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background-color: #1f2937 !important; /* gray-800 */
}

#root thead th,
#root [data-2gen] thead th {
  display: table-cell !important;
  padding: 0.5rem !important;
  border-bottom: 1px solid #374151 !important; /* gray-700 */
  color: #9ca3af !important; /* gray-400 */
  font-weight: 500 !important;
  min-width: 80px !important;
  position: relative !important;
  z-index: 11 !important;
}

/* 修复表格主体 */
#root tbody,
#root [data-2gen] tbody {
  display: table-row-group !important;
}

#root tbody tr,
#root [data-2gen] tbody tr {
  display: table-row !important;
}

#root tbody td,
#root [data-2gen] tbody td {
  display: table-cell !important;
  padding: 0 !important;
  border-right: 1px solid #1f2937 !important; /* gray-800 */
  position: relative !important;
}

#root tbody td:last-child,
#root [data-2gen] tbody td:last-child {
  border-right: none !important;
}

/* 修复输入框 - 这是最关键的部分 */
#root tbody input,
#root [data-2gen] tbody input {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-width: 80px !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0.5rem !important;
  color: #d1d5db !important; /* gray-300 */
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: auto !important;
  cursor: text !important;
  z-index: 100 !important;
  position: relative !important;
  font-size: 0.75rem !important; /* text-xs */
  line-height: 1.5 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* 输入框焦点状态 */
#root tbody input:focus,
#root [data-2gen] tbody input:focus {
  background-color: rgba(30, 58, 138, 0.2) !important; /* blue-900/20 */
  color: #ffffff !important;
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* 输入框悬停状态 */
#root tbody tr:hover,
#root [data-2gen] tbody tr:hover {
  background-color: rgba(31, 41, 55, 0.5) !important; /* gray-800/50 */
}

/* 确保表格行可交互 */
#root tbody tr,
#root [data-2gen] tbody tr {
  pointer-events: auto !important;
}

/* 修复数据版块的所有输入和按钮 */
#root input[type="file"],
#root button,
#root [data-2gen] input[type="file"],
#root [data-2gen] button {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10 !important;
  position: relative !important;
}

/* 修复上传区域 */
#root .border-2.border-dashed,
#root [data-2gen] .border-2.border-dashed {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 1 !important;
}

/* 修复变量标签 */
#root code,
#root [data-2gen] code {
  display: inline-block !important;
  padding: 0.25rem 0.5rem !important;
  background-color: #111827 !important; /* gray-900 */
  color: #eab308 !important; /* yellow-500 */
  font-size: 0.75rem !important;
  border: 1px solid #374151 !important; /* gray-700 */
  border-radius: 0.25rem !important;
  font-family: monospace !important;
}

/* 确保整个数据版块区域可滚动 */
#root .overflow-y-auto,
#root [data-2gen] .overflow-y-auto {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

/* 修复 Elementor 可能添加的覆盖层 */
#root .elementor-element,
#root [data-2gen] .elementor-element {
  pointer-events: none !important;
}

#root .elementor-element > *,
#root [data-2gen] .elementor-element > * {
  pointer-events: auto !important;
}

/* 防止 Elementor 样式覆盖 */
.elementor * #root tbody input,
.elementor * [data-2gen] tbody input {
  pointer-events: auto !important;
  cursor: text !important;
  z-index: 9999 !important;
}

/* 确保滚动条可见 */
#root .overflow-x-auto::-webkit-scrollbar,
#root [data-2gen] .overflow-x-auto::-webkit-scrollbar {
  height: 8px !important;
  display: block !important;
}

#root .overflow-x-auto::-webkit-scrollbar-track,
#root [data-2gen] .overflow-x-auto::-webkit-scrollbar-track {
  background: #1f2937 !important; /* gray-800 */
}

#root .overflow-x-auto::-webkit-scrollbar-thumb,
#root [data-2gen] .overflow-x-auto::-webkit-scrollbar-thumb {
  background: #4b5563 !important; /* gray-600 */
  border-radius: 4px !important;
}

#root .overflow-x-auto::-webkit-scrollbar-thumb:hover,
#root [data-2gen] .overflow-x-auto::-webkit-scrollbar-thumb:hover {
  background: #6b7280 !important; /* gray-500 */
}/* End custom CSS */