/**基础风格样式**/
@import './style/main.wxss';

/**主题配色（浅色样式）**/
@import './style/theme/light.wxss';

/**主题配色（深色样式）**/
@import './style/theme/dark.wxss';

/**样式覆盖 - 适配聊天消息场景**/
.h2w {
    font-size: 28rpx !important;
    line-height: 1.5 !important;
    font-weight: normal !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 使用更具体的选择器确保样式覆盖生效 */
.h2w .h2w__main,
view.h2w .h2w__main,
.h2w view.h2w__main {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 标题样式统一 */
.h2w .h2w__h1,
.h2w .h2w__h2,
.h2w .h2w__h3,
.h2w .h2w__h4,
.h2w .h2w__h5,
.h2w .h2w__h6 {
    font-size: 28rpx !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-weight: normal !important;
    border: none !important;
}

/* 段落样式 */
.h2w .h2w__p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    font-size: 28rpx !important;
}

/* 加粗文本 - 确保不换行 */
.h2w .h2w__b,
.h2w .h2w__strong {
    display: inline !important;
    font-weight: bold !important;
    white-space: normal !important;
    word-break: keep-all !important;
}

/* 列表样式 */
.h2w .h2w__ul,
.h2w .h2w__ol {
    margin: 0 !important;
    padding-left: 40rpx !important;
}

.h2w .h2w__li {
    margin: 0 !important;
    line-height: 1.5 !important;
    font-size: 28rpx !important;
}