/* 富文本内容通用样式 - 适用于 long_description, use_cases, faqs */
.prose,
#overview .space-y-6 {
    font-family: Helvetica, "Helvetica Neue", "Noto Sans", "PingFang SC", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #374151;
    font-weight: 400;
    word-break: break-word;
}

/* 段落样式 */
.prose p,
#overview .space-y-6 p {
    margin-top: 0;
    margin-bottom: 1.25em;
    line-height: 1.75;
}

/* 标题样式 */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6,
#overview .space-y-6 h1,
#overview .space-y-6 h2,
#overview .space-y-6 h3,
#overview .space-y-6 h4,
#overview .space-y-6 h5,
#overview .space-y-6 h6 {
    font-weight: 600;
    color: #111827;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    line-height: 1.4;
}

.prose h1,
#overview .space-y-6 h1 { 
    font-size: 1.25em;
    margin-top: 0;
}

.prose h2,
#overview .space-y-6 h2 { 
    font-size: 1.15em;
}

.prose h3,
#overview .space-y-6 h3 { 
    font-size: 1.1em;
}

.prose h4,
.prose h5,
.prose h6,
#overview .space-y-6 h4,
#overview .space-y-6 h5,
#overview .space-y-6 h6 { 
    font-size: 1em;
}

/* 列表样式 */
.prose ul,
.prose ol,
#overview .space-y-6 ul,
#overview .space-y-6 ol { 
    margin-top: 1em;
    margin-bottom: 1.25em;
    padding-left: 1.75em;
}

.prose ul,
#overview .space-y-6 ul {
    list-style-type: disc;
}

.prose ol,
#overview .space-y-6 ol {
    list-style-type: decimal;
}

.prose li,
#overview .space-y-6 li { 
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.75;
}

.prose ul li::marker,
#overview .space-y-6 ul li::marker { 
    color: #6B7280;
}

.prose ol li::marker,
#overview .space-y-6 ol li::marker {
    color: #6B7280;
    font-weight: 500;
}

/* 嵌套列表 */
.prose ul ul,
.prose ul ol,
.prose ol ul,
.prose ol ol,
#overview .space-y-6 ul ul,
#overview .space-y-6 ul ol,
#overview .space-y-6 ol ul,
#overview .space-y-6 ol ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* 链接样式 */
.prose a,
#overview .space-y-6 a { 
    color: #2563EB;
    text-decoration: underline;
    transition: color 0.2s;
}

.prose a:hover,
#overview .space-y-6 a:hover { 
    color: #1D4ED8;
}

/* 强调样式 */
.prose strong,
.prose b,
#overview .space-y-6 strong,
#overview .space-y-6 b {
    font-weight: 600;
    color: #111827;
}

.prose em,
.prose i,
#overview .space-y-6 em,
#overview .space-y-6 i {
    font-style: italic;
}

/* 代码样式 */
.prose code,
#overview .space-y-6 code {
    background-color: #F3F4F6;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Courier New', Courier, monospace;
    color: #DC2626;
}

.prose pre,
#overview .space-y-6 pre {
    background-color: #1F2937;
    color: #F9FAFB;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.prose pre code,
#overview .space-y-6 pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
    font-size: 0.875em;
}

/* 引用样式 */
.prose blockquote,
#overview .space-y-6 blockquote {
    border-left: 4px solid #E5E7EB;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #6B7280;
}

/* 水平分隔线 */
.prose hr,
#overview .space-y-6 hr {
    border: 0;
    border-top: 1px solid #E5E7EB;
    margin: 2em 0;
}

/* 表格样式 */
.prose table,
#overview .space-y-6 table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose th,
.prose td,
#overview .space-y-6 th,
#overview .space-y-6 td {
    border: 1px solid #E5E7EB;
    padding: 0.75em;
    text-align: left;
}

.prose th,
#overview .space-y-6 th {
    background-color: #F9FAFB;
    font-weight: 600;
    color: #111827;
}

/* RTL 支持 */
html[dir="rtl"] .prose,
html[dir="rtl"] #overview .space-y-6 { 
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .prose ul,
html[dir="rtl"] .prose ol,
html[dir="rtl"] #overview .space-y-6 ul,
html[dir="rtl"] #overview .space-y-6 ol {
    padding-right: 1.75em;
    padding-left: 0;
}

html[dir="rtl"] .prose blockquote,
html[dir="rtl"] #overview .space-y-6 blockquote {
    border-left: none;
    border-right: 4px solid #E5E7EB;
    padding-right: 1em;
    padding-left: 0;
}

/* prose-sm 变体（用于 use_cases 和 faqs） */
.prose-sm {
    font-size: 14px;
}

.prose-sm p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.75;
}

.prose-sm h1,
.prose-sm h2,
.prose-sm h3,
.prose-sm h4,
.prose-sm h5,
.prose-sm h6 {
    font-weight: 600;
    color: #111827;
    margin-top: 1.5em;
    margin-bottom: 0.65em;
    line-height: 1.4;
}

.prose-sm h1 { font-size: 1.15em; margin-top: 0; }
.prose-sm h2 { font-size: 1.1em; }
.prose-sm h3 { font-size: 1.05em; }
.prose-sm h4,
.prose-sm h5,
.prose-sm h6 { font-size: 1em; }

.prose-sm ul,
.prose-sm ol {
    margin-top: 0.85em;
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.prose-sm ul {
    list-style-type: disc;
}

.prose-sm ol {
    list-style-type: decimal;
}

.prose-sm li {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    line-height: 1.75;
}

.prose-sm ul li::marker {
    color: #6B7280;
}

.prose-sm ol li::marker {
    color: #6B7280;
    font-weight: 500;
}

.prose-sm strong,
.prose-sm b {
    font-weight: 600;
    color: #111827;
}

.prose-sm em,
.prose-sm i {
    font-style: italic;
}

.prose-sm a {
    color: #2563EB;
    text-decoration: underline;
    transition: color 0.2s;
}

.prose-sm a:hover {
    color: #1D4ED8;
}

.prose-sm code {
    background-color: #F3F4F6;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: 'Courier New', Courier, monospace;
    color: #DC2626;
}

.prose-sm blockquote {
    border-left: 4px solid #E5E7EB;
    padding-left: 1em;
    margin: 1.25em 0;
    font-style: italic;
    color: #6B7280;
} 