/* 食话实说 s007 标准餐两荤两素一汤份量指南 详情页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f0f0;
    font-family: 'Manrope', 'Microsoft YaHei', 'Noto Serif SC', sans-serif;
    color: #1f2937;
}

#shsh_s7_page_wrapper {
    max-width: 420px;
    min-height: 100vh;
    margin-left: auto;
    margin-right: auto;
    background-color: #f0fdf4;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 80px;
}

/* Header */
#shsh_s7_top_header {
    padding: 20px 16px 16px 16px;
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
    color: #ffffff;
    border-bottom: 3px solid #166534;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
}

#shsh_s7_top_back {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.2s ease;
}

#shsh_s7_top_back:active {
    background-color: rgba(255, 255, 255, 0.32);
}

#shsh_s7_top_back_icon {
    font-size: 22px;
    color: #ffffff;
}

#shsh_s7_top_title_main {
    flex: 1;
    text-align: center;
    font-family: 'Noto Serif SC', serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    padding: 0 56px;
}

#shsh_s7_top_hamburger {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.15);
}

.shsh_s7_hamburger_line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
}

#shsh_s7_top_sub_title {
    text-align: center;
    padding: 12px 16px 4px;
    font-size: 12px;
    color: #6b7280;
    background-color: #f0fdf4;
    margin: 0;
}

/* Main Content */
#shsh_s7_main_content {
    padding: 16px 12px;
}

/* 通用 Section */
section[id^="shsh_s7_section"] {
    background-color: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(21, 128, 61, 0.06);
}

section[id^="shsh_s7_section"] h2 {
    font-family: 'Noto Serif SC', serif;
    color: #15803d;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #bbf7d0;
}

section[id^="shsh_s7_section"] h3 {
    font-family: 'Noto Serif SC', serif;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    margin: 12px 0 6px 0;
}

section[id^="shsh_s7_section"] p {
    font-size: 14px;
    line-height: 1.7;
    color: #1f2937;
    margin-bottom: 6px;
}

section[id^="shsh_s7_section"] p b {
    color: #b91c1c;
}

/* 段内子卡片（通用） */
.shsh_s7_item_card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #16a34a;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.shsh_s7_item_card_title {
    font-family: 'Noto Serif SC', serif;
    color: #15803d;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px 0;
    padding-bottom: 5px;
    border-bottom: 1px dashed #cbd5e1;
}

.shsh_s7_item_card_eg {
    display: block;
    font-family: 'Manrope', 'Microsoft YaHei', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 2px;
}

.shsh_s7_item_card_row {
    font-size: 13px;
    line-height: 1.7;
    color: #1f2937;
    margin: 0 0 3px 0;
    padding-left: 10px;
    position: relative;
}

.shsh_s7_item_card_row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #86efac;
}

.shsh_s7_item_card_row:last-child {
    margin-bottom: 0;
}

.shsh_s7_item_card_row b {
    color: #b91c1c;
}

/* 总重四项小卡（一行2卡） */
#shsh_s7_total_card_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.shsh_s7_total_card {
    flex: 0 0 calc((100% - 8px) / 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background-color: #ffffff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(29, 78, 216, 0.06);
}

.shsh_s7_total_card_name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.shsh_s7_total_card_num {
    font-family: 'Noto Serif SC', serif;
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
}

/* 精简汇总条目卡 */
.shsh_s7_summary_card {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    border: 1px solid #fbcfe8;
    border-radius: 8px;
    padding: 9px 12px;
    margin-bottom: 8px;
}

.shsh_s7_summary_card:last-child {
    margin-bottom: 0;
}

.shsh_s7_summary_card_no {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #be185d;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.shsh_s7_summary_card_text {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    color: #1f2937;
}

/* 简单记速查卡（一行3卡） */
#shsh_s7_section_quick {
    background-color: #fefce8;
    border-color: #fde047;
}

#shsh_s7_quick_card_grid {
    display: flex;
    gap: 8px;
}

.shsh_s7_quick_card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 4px;
    background-color: #ffffff;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(161, 98, 7, 0.08);
}

.shsh_s7_quick_card_name {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.shsh_s7_quick_card_num {
    font-family: 'Noto Serif SC', serif;
    font-size: 14px;
    font-weight: 700;
    color: #b45309;
    text-align: center;
}

/* 结论导语区 */
#shsh_s7_section_intro {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
}

#shsh_s7_section_intro_p2 {
    color: #6b7280;
    margin-bottom: 0;
}

/* 总重区 */
#shsh_s7_section_total {
    background-color: #eff6ff;
    border-color: #bfdbfe;
}

#shsh_s7_section_total h2 {
    color: #1d4ed8;
    border-bottom-color: #bfdbfe;
}

#shsh_s7_section_total_p1 {
    font-size: 15px;
    color: #1d4ed8;
}

#shsh_s7_section_total_p2 {
    color: #6b7280;
    margin-bottom: 0;
}

/* 精简汇总区 */
#shsh_s7_section_summary {
    background-color: #fdf2f8;
    border-color: #fbcfe8;
}

#shsh_s7_section_summary h2 {
    color: #be185d;
    border-bottom-color: #fbcfe8;
}

/* 底部双按钮 */
#shsh_s7_bottom_actions {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    max-width: 100%;
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background-color: rgba(240, 253, 244, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid #bbf7d0;
    z-index: 20;
}

#shsh_s7_bottom_back_list {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background-color: #ffffff;
    color: #15803d;
    border: 1px solid #15803d;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

#shsh_s7_bottom_back_list:active {
    background-color: #15803d;
    color: #ffffff;
}

#shsh_s7_bottom_back_list_icon {
    font-size: 18px;
}

#shsh_s7_bottom_back_top {
    flex-shrink: 0;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    background-color: #ffffff;
    color: #15803d;
    border: 1px solid #15803d;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.2s ease;
}

#shsh_s7_bottom_back_top:active {
    background-color: #15803d;
    color: #ffffff;
}

#shsh_s7_bottom_back_top_icon {
    font-size: 18px;
}
