@charset "UTF-8";

/* ===== 全局重置 ===== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* 整页不滚动，滚动只在内容区 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

/* ===== 主容器（Flex 纵向，msmenu 以此为定位宿主）===== */
#h_container1_main {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* ===== 顶部标题栏（固定）===== */
#h_top1_header {
    background-color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

#h_top1_title {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 1;
    margin: 0;
}

#h_top1_header .h_top1_header_left,
#h_top1_header .h_top1_header_right {
    width: 30px;
    font-size: 24px;
    flex-shrink: 0;
}

#h_top1_header .h_top1_header_right {
    cursor: pointer;
    text-align: right;
    color: #333;
}

/* ===== 发布人与时间条（固定）===== */
#h_top2_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fafafa;
    border-bottom: 1px solid #eee;
    padding: 8px 16px;
    flex-shrink: 0;
}

#h_top2_meta_person {
    font-size: 13px;
    color: #c00000;
    font-weight: 600;
}

#h_top2_meta_time {
    font-size: 12px;
    color: #999;
}

/* ===== 目录按钮（meta 条居左）===== */
#h_top2_toc_btn {
    flex-shrink: 0;
    border: 1px solid #c00000;
    background-color: #fff;
    color: #c00000;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1.4;
}

#h_top2_toc_btn:active {
    background-color: #c00000;
    color: #fff;
}

/* ===== 一级目录下拉弹窗（绝对定位，挂在主容器内）===== */
#h_toc_dropdown {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 108px; /* 标题栏 + meta 条下方 */
    z-index: 60;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    max-height: 60%;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

#h_toc_dropdown.h_toc_dropdown_show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#h_toc_dropdown_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

#h_toc_dropdown_title {
    font-size: 14px;
    font-weight: bold;
    color: #c00000;
}

#h_toc_dropdown_close {
    font-size: 16px;
    color: #999;
    cursor: pointer;
    padding: 0 4px;
}

#h_toc_dropdown_list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#h_toc_dropdown_list li {
    padding: 9px 14px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    line-height: 1.5;
}

#h_toc_dropdown_list li:last-child {
    border-bottom: none;
}

#h_toc_dropdown_list li:active {
    background-color: #fff5f5;
    color: #c00000;
}

/* ===== 内容区（唯一滚动区）===== */
#h_content_wrapper {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px 24px 14px;
}

/* ===== 区块通用 ===== */
.h_center1_sec {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

/* 风险类区块：左侧红条 */
.h_center1_sec.h_center1_sec_red {
    border-color: #f5c6c6;
    background-color: #fffafa;
    border-left: 4px solid #c00000;
}

/* 区块标题 */
.h_center1_sec_title {
    font-size: 15px;
    font-weight: bold;
    color: #c00000;
    margin: 0 0 8px 0;
    line-height: 1.5;
}

/* 区块副标题（括号说明）*/
.h_center1_sec_sub {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px 0;
}

/* 区块内小标题（如“国内现货”）*/
.h_center1_sec_h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 12px 0 6px 0;
    padding-left: 8px;
    border-left: 3px solid #c00000;
}

/* 区块内注释 */
.h_center1_sec_note {
    font-size: 12px;
    color: #888;
    margin: 0 0 6px 0;
}

/* 区块正文 */
.h_center1_sec_body {
    font-size: 13px;
    color: #444;
    margin: 0 0 6px 0;
    line-height: 1.7;
}

/* ===== 有序 / 无序列表 ===== */
.h_center1_olist {
    padding-left: 20px;
    margin: 0;
}

.h_center1_olist li {
    font-size: 13px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 6px;
}

.h_center1_ulist {
    padding-left: 18px;
    margin: 0;
    list-style-type: disc;
}

.h_center1_ulist li {
    font-size: 13px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 6px;
}

/* 列表项前的字段名 */
.h_center1_key {
    color: #666;
    font-weight: 600;
}

/* 红色强调（加粗红字）*/
.h_center1_em_red {
    color: #c00000;
    font-weight: 700;
}

/* ===== 合同条款框 ===== */
.h_center1_contract {
    font-size: 13px;
    color: #1565c0;
    background-color: #f0f6ff;
    border-left: 3px solid #1565c0;
    border-radius: 3px;
    padding: 7px 10px;
    margin: 6px 0;
    line-height: 1.6;
}

/* ===== 贸易商 / 进口商条目卡 ===== */
.h_center1_deal {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 9px 10px;
    margin-bottom: 8px;
}

.h_center1_deal_name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.5;
}

.h_center1_deal_line {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

/* 电话号码突出显示 */
.h_center1_phone {
    color: #c00000;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* ===== 报价 / 税负说明框 ===== */
.h_center1_quote {
    font-size: 13px;
    color: #333;
    background-color: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 4px;
    padding: 8px 10px;
    margin: 8px 0;
    line-height: 1.7;
}

/* 价格数字 */
.h_center1_price {
    color: #c00000;
    font-weight: 700;
}

/* 绿色强调（✅ 正确说法）*/
.h_center1_em_green {
    color: #2e7d32;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* ===== 概念对照表 ===== */
#h_center1_sec16_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin: 6px 0 10px 0;
}

#h_center1_sec16_table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 6px 8px;
    border: 1px solid #ddd;
}

#h_center1_sec16_table td {
    padding: 6px 8px;
    border: 1px solid #ddd;
    color: #444;
    line-height: 1.6;
    vertical-align: top;
}

/* ===== 警示框 ===== */
.h_center1_warn {
    font-size: 12px;
    color: #e65100;
    background-color: #fff7e6;
    border-left: 3px solid #e65100;
    border-radius: 3px;
    padding: 8px 10px;
    margin: 8px 0;
    line-height: 1.7;
}
