:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #bfdbfe;
    --accent-light: #eff6ff;
    --accent-border: #bfdbfe;
    --th-bg: #f0f7ff;
    --th-text: #1e40af;
    --success: #059669;
    --danger: #dc2626;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #cbd5e1;
    --btn-orange: #ea580c;
    --btn-orange-hover: #c2410c;
    --brand-deep-blue: #003b7a;
    --brand-deep-blue-hover: #002c5c;
    --brand-sky-blue: #0085d0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    margin: 0;
    padding: 0 0 32px 0;
}
/* 强制解除固定定位与高度锁定，防止页面瞬间跳回顶部 */
body.modal-open,
html.modal-open {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
}

/* 顶栏 Header */
.site-header {
    width: 100%;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header-top-bar {
    background: linear-gradient(135deg, #00336d 0%, #004b93 100%);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-logo {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
}

.brand-logo span {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.header-search-box {
    flex: 1;
    max-width: 580px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-input {
    width: 100%;
    padding: 8px 40px 8px 14px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    color: #1e293b;
    background: #ffffff;
}

.header-search-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #f97316;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-user-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #ffffff;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
}

.header-tool-item {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
}

.header-tool-item:hover {
    opacity: 0.85;
}

.cart-icon-badge {
    background: #f97316;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.header-nav-bar {
    background: var(--brand-sky-blue);
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.header-nav-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 38px;
}

.header-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s;
}

.header-nav-link:hover {
    color: #e0f2fe;
}

@media (max-width: 868px) {
    .header-top-inner {
        flex-wrap: wrap;
    }
    .header-search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .header-nav-inner {
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 整体布局 */
.container {
    display: flex;
    max-width: 1346px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    gap: 20px 15px;
    align-items: flex-start;
}

/* 左侧侧边栏 */
.nav-sidebar {
    width: 210px;
    flex-shrink: 0;

    /* 1. 前缀顺序：先私有后标准 */
    position: -webkit-sticky;
    position: sticky;
    top: 24px;

    /* 2. 关键补丁：防止 flex 子项默认 stretch 拉伸撑满父容器高度 */
    align-self: flex-start !important;
    height: fit-content !important;

    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}

.sidebar-nav-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-card-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-card-sub-link, .nav-card-top-link {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none !important;
    display: block;
    padding: 8px 10px;
    border-left: 3px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-card-sub-link:hover, .nav-card-top-link:hover {
    color: #1d4ed8;
    background: var(--accent-light);
    border-left: 3px solid transparent;
}

.nav-card-sub-link.active, .nav-card-top-link.active {
    color: var(--accent) !important;
    font-weight: 800 !important;
    background: var(--accent-light) !important;
    border-left: 3px solid transparent !important;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}

/* 左侧固定导航栏 */
.left-nav-sidebar {
    width: 190px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-sidebar-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.nav-group-title,
a.nav-group-title-link {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e40af;
    padding: 2px 8px;
    margin-top: 6px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-group-title:first-child,
a.nav-group-title-link:first-child {
    margin-top: 0;
}

a.nav-group-title-link {
    text-decoration: none;
}

a.nav-group-title-link:hover {
    background: #f1f5f9;
    color: var(--accent-hover);
    text-decoration: none;
}

a.nav-group-title-link.active {
    background: var(--accent-light);
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu-list {
    list-style: none;
    padding: 0 0 0 4px;
    margin: 2px 0 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid #cbd5e1;
}

.nav-menu-link {
    display: block;
    padding: 4px 6px 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-menu-link:hover {
    background: #f1f5f9;
    color: var(--accent-hover);
}

.nav-menu-link.active {
    background: var(--accent-light);
    color: #1d4ed8;
    font-weight: 700;
}

.nav-group-title-link .num-badge {
    background: var(--th-bg);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 5px;
}

.nav-group-title-link.active .num-badge {
    background: var(--accent);
    color: #ffffff;
}

/* 侧边栏购物卡片样式 */
.sidebar-order-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-order-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 2px;
}

.sidebar-order-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.order-stock-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
}

.mini-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    overflow: hidden;
    font-size: 11px;
}

.mini-order-table th {
    background: #f0f7ff;
    color: #1e40af;
    font-weight: 700;
    padding: 6px 6px;
    text-align: left;
    border-bottom: 1px solid #dbeafe;
}

.mini-order-table td {
    padding: 6px 6px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.mini-order-table tr:last-child td {
    border-bottom: none;
}

.mini-size-title {
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.mini-price-box {
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    font-size: 11px;
    white-space: nowrap;
}

.mini-qty-input {
    width: 36px;
    padding: 3px 2px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #ffffff;
    font-size: 11px;
    color: #334155;
    outline: none;
    text-align: center;
}

.sidebar-order-actions {
    display: flex;
    gap: 6px;
    justify-content: space-between;
    margin-top: 2px;
}

/* 🌟 已更新：去掉背景色的 Add to Cart 按钮 */
.btn-mini-add-cart {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border);
    color: #475569;
    padding: 6px 4px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-mini-add-cart:hover {
    background: #f8fafc;
    color: var(--accent);
    border-color: var(--accent-border);
}

.btn-mini-bulk {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border);
    color: #475569;
    padding: 6px 4px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-mini-bulk:hover {
    background: #f8fafc;
    color: var(--accent);
    border-color: var(--accent-border);
}

.btn-hero-action {
    width: 100%;
    height: 38px;
    background-color: #ffffff;
    color: var(--accent-light);
    border: 1px solid var(--border);
    padding: 0 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-hero-action:hover {
    background-color: var(--accent-light);
    color: var(--accent-hover);
    border-color: var(--accent-border);
}

.main-content {
    flex: 1;
    min-width: 0;
}

[id^="section-"] {
    scroll-margin-top: 24px;
}

.hero {
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: none;
    width: 100%;
}

.hero h1 {
    margin: 0;
    font-size: 30px;
    color: var(--primary);
    letter-spacing: -0.3px;
    text-align: left;
    padding-left: 0;
}

.product-cta-card {
    padding: 10px 20px !important;
    text-align: center;
}

.product-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* 防止屏幕太窄时重叠 */
    gap: 8px; /* 统一控制文字和按钮的间距 */
}


.cta-text {
    font-size: 14px;
    color: #64748b; /* 使用高级灰，避免全黑文字显得突兀 */
    font-weight: 500;
}


.product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff !important;
    text-decoration: none;

    background: linear-gradient(135deg, #ff7a45 0%, #e65100 100%);
    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px 0 rgba(230, 81, 0, 0.28),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.25);

    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.product-link:hover {
    background: linear-gradient(135deg, #ff8c5a 0%, #f4511e 100%);
    box-shadow: 0 6px 20px 0 rgba(230, 81, 0, 0.38),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-1.5px);
    text-decoration:none;
}

.product-link:active {
    transform: translateY(0.5px);
    box-shadow: 0 2px 8px 0 rgba(230, 81, 0, 0.25);
}
.section-card,
#section-structure {
    scroll-margin-top: 80px; /* 预留顶部固定栏高度 */
}

.section-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title-15 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title-15::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
}

.section-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}


.right-display,.left-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: var(--primary);
    line-height: 1.3;
}

.caption-note {
    font-size: 13px;
    font-weight: bold;
    color: var(--text-muted);
    text-align: center;
}

.table-responsive {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

th {
    background: var(--th-bg);
    color: var(--th-text);
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #dbeafe;
    white-space: nowrap;
}

td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: middle;
}

tbody tr:nth-child(even) td {
    background: #f8fafc;
}

tbody tr:hover td {
    background: var(--accent-light);
}

tr:last-child td { border-bottom: none; }

.btn-copy-icon,.btn-download-minimal,.btn-download,.btn-print {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;

    /* 核心修改：强制内部文字和图标不换行 */
    white-space: nowrap;
}
.btn-copy-icon span::after,.btn-download-minimal span::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    /* 防止伪元素被意外压缩 */
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-left: 5px;
}
/* 默认状态下的 SVG 图标 */
.btn-copy-icon span::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
}
.btn-download-minimal span::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
}

/* 悬停状态 */
.btn-copy-icon:hover,.btn-download-minimal:hover {
    color: var(--accent);
    background: var(--accent-light);
}
.btn-copy-icon:hover span::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
}
.btn-download-minimal:hover span::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
}
/* 复制成功状态 */
.btn-copy-icon.copied {
    color: var(--success);
}
.btn-copy-icon.copied span::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'%3E%3C/path%3E%3C/svg%3E");
}

.btn-download {
    background-color: rgb(37, 68, 193);
    color: #ffffff;
}
.btn-print {
    background-color: rgb(109, 167, 243);
    color: rgb(255, 245, 245);
}

.icon-print,.icon-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
/* 下载图标伪元素 */
.icon-download::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}


/* 打印图标伪元素 */
.icon-print::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'%3E%3C/polyline%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'%3E%3C/path%3E%3Crect x='6' y='14' width='12' height='8'%3E%3C/rect%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.click-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    height: 100%;}

.vis-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.vis-img-box {
    width: 100%;
    height: auto;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.vis-download-corner {
    display: flex;
    gap: 4px;
    justify-content: center;
}

td.nowrap {
    white-space: nowrap;
}

.stock-prep-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .stock-prep-grid {
        grid-template-columns: 1fr;
    }
    .section-split-container {
        flex-direction: column;
    }
}

.calc-widget {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 15px;
}

.calc-widget-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.calc-row input {
    width: 85px;
    padding: 4px 6px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    background: #ffffff;
}

.calc-submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.calc-submit-btn:hover {
    background: var(--accent-hover);
}

/* Solubility 模块样式 */
.batch-row-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.batch-tag-prominent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}

.batch-tag-prominent select {
    border: 1px solid var(--border);
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    padding: 2px 6px;
    appearance: menulist-button;
}

.data-disclaimer-text {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.45;
}

.solubility-faq-grid, .col2-grid{
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: stretch;
}
.ordering-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 550px;
    gap: 24px;
    align-items: start;
}
.ordering-perks{
    display: flex;
    gap: 5px;
}
#CTI th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
}
.f13-label{
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.col1-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
}
.col3-grid {
    display: grid;
    grid-template-columns: 250px 1fr 180px;
    gap: 20px;
    align-items: stretch;
}
.col2-matrix-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.flex-align-items{align-items: flex-start !important;}
.gap0{gap:0px !important;}

@media (max-width: 900px) {
    .solubility-faq-grid {
        grid-template-columns: 1fr;
    }
}

.solubility-table-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solubility-table-box .table-responsive {
    height: 100%;
}

.solubility-table-box table {
    width: 100%;
    height: 100%;
}

.dmso-note-text {
    font-size: 12px;
    color: var(--danger);
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.35;
}

.faq-panel-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.faq-header-bar {
    background: var(--th-bg);
    color: var(--th-text);
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 14px;
    border-bottom: 2px solid #dbeafe;
}

.faq-body-content {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-q-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 6px;
}

.faq-answer-summary {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 10px;
}

.faq-fix-list {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.faq-fix-item {
    font-size: 13px;
    color: #1e293b;
    line-height: 1.45;
}

/* Aliquotting Service 模块样式 */
.aliquot-service-wrapper {
    display: flex;
    align-items: center;
    gap: 28px;
}

.aliquot-graphic-card {
    flex: 0 0 42%;
    background: #eef6ff;
    border-radius: 6px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.aliquot-title-text {
    color: #0070f3;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.aliquot-info-side {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
}

.aliquot-info-side p {
    margin: 0 0 10px 0;
}

.aliquot-info-side p:last-child {
    margin-bottom: 0;
}

.aliquot-info-side a {
    color: #0070f3;
    text-decoration: none;
}

.aliquot-info-side a:hover {
    text-decoration: underline;
}


.satellite-link-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}
.satellite-product-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr);
}


.link-item,.product-item {
    background: var(--card-bg);
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.link-item:hover,.product-item:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.link-item-img,.product-item-img {
    width: 100%;
    height: 5rem;
    object-fit: cover;
    background-color: #e2e8f0;
}
.link-text,.product-text{
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--text-muted);
}

.cs-outline li {margin: 0;position: relative;padding-left: 1.2em;font-size: 13px;line-height: 28px;}
.cs-outline li::before {content: "–";position: absolute;left: 0;color: #555;}
.cs-outline {text-decoration: none !important;position: relative;background: none;border: none;}

#bio-widget-animal, #bio-widget-cell {font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;font-size: 13px; color: #333; line-height: 1.4; border-radius: 4px; background: #fff; overflow: hidden;display: flex; flex-direction: column;}
#bio-widget-animal .bio-step-title, #bio-widget-cell .bio-step-title {flex: 1; margin: 0; min-width: 280px; color: #333;}
#bio-widget-animal .bio-tabs-header, #bio-widget-cell .bio-tabs-header {border-bottom: 1px solid #ddd; padding: 8px 12px;display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0;}
#bio-widget-animal .bio-tab, #bio-widget-cell .bio-tab {padding: 4px 12px; font-weight: 600; color: #555; cursor: pointer;border: 1px solid #ddd; border-radius: 15px; background: #fff;transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;font-size: 12px; user-select: none;}
#bio-widget-animal .bio-tab:hover, #bio-widget-cell .bio-tab:hover { border-color: #999; color: #000; }
#bio-widget-animal .bio-tab.active, #bio-widget-cell .bio-tab.active {background: #007bff; color: #fff; border-color: #007bff;}
#bio-widget-animal .bio-tab-count, #bio-widget-cell .bio-tab-count {background: rgba(0,0,0,0.1); color: inherit; border-radius: 10px; padding: 0 5px; font-size: 10px;}
#bio-widget-animal .bio-subtabs-header, #bio-widget-cell .bio-subtabs-header {background: #fff; border-bottom: 1px solid #eee; padding: 8px 15px;display: flex; flex-wrap: wrap; gap: 8px;flex-shrink: 0; align-items: center;}
#bio-widget-animal .bio-subtab, #bio-widget-cell .bio-subtab {padding: 3px 10px; font-weight: 500; color: #555; cursor: pointer;border: 1px solid #ddd; border-radius: 12px; background: #f9f9f9;transition: all 0.2s; font-size: 12px; user-select: none;}
#bio-widget-animal .bio-subtab:hover, #bio-widget-cell .bio-subtab:hover { border-color: #007bff; color: #007bff; }
#bio-widget-animal .bio-subtab.active, #bio-widget-cell .bio-subtab.active {background: #007bff; color: #fff; border-color: #007bff;}
#bio-widget-animal .bio-search-wrapper, #bio-widget-cell .bio-search-wrapper {flex: none; display: flex; gap: 0; align-items: center;margin-left: 8px;}
#bio-widget-animal .bio-search-input, #bio-widget-cell .bio-search-input {width: 150px;padding: 5px 8px; border: 1px solid #ddd;border-radius: 3px; font-size: 13px;}
#bio-widget-animal .bio-btn, #bio-widget-cell .bio-btn {padding: 7px 12px; background: #f8f9fa; border: 1px solid #ddd;border-top-right-radius: 3px; border-bottom-right-radius: 3px;cursor: pointer; color: #333; font-weight: 600; font-size: 12px;}
#bio-widget-animal .bio-btn:hover, #bio-widget-cell .bio-btn:hover { background-color: #e9ecef; }
#bio-widget-animal .bio-content-area, #bio-widget-cell .bio-content-area, #bio-search-result-cell .bio-content-area {background: #fff; border-bottom: 1px solid #eee;flex-grow: 1;overflow-y: auto; max-height: 600px; padding: 10px 15px;}
#bio-widget-animal .bio-content-area::-webkit-scrollbar, #bio-widget-cell .bio-content-area::-webkit-scrollbar { width: 6px; }
#bio-widget-animal .bio-content-area::-webkit-scrollbar-thumb, #bio-widget-cell .bio-content-area::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
#bio-widget-animal .bio-badges, #bio-widget-cell .bio-badges { display: flex; gap: 5px; font-size: 10px; margin-bottom: 10px; }
#bio-widget-animal .bio-badge, #bio-widget-cell .bio-badge { padding: 1px 5px; border-radius: 3px; background: #e7f5ff; color: #007bff; border: 1px solid #d0ebff; }
#bio-widget-animal .bio-badge.high, #bio-widget-cell .bio-badge.high { background: #fff9db; color: #e67700; border-color: #ffec99; }
#bio-widget-animal .bio-detail-sort-bar, #bio-widget-cell .bio-detail-sort-bar {display: flex; justify-content: flex-start;gap: 5px; margin-bottom: 8px; font-size: 11px; color: #666; align-items: center;}
#bio-widget-animal .bio-mini-btn, #bio-widget-cell .bio-mini-btn {border: 1px solid #ced4da; background: #fff; padding: 1px 6px; border-radius: 3px; cursor: pointer; color: #555;display: flex; align-items: center; gap: 3px;}
#bio-widget-animal .bio-mini-btn.active, #bio-widget-cell .bio-mini-btn.active {background: #007bff; color: #fff; border-color: #007bff;}
#bio-widget-animal .bio-sort-arrow, #bio-widget-cell .bio-sort-arrow { font-size: 9px; }
#bio-widget-animal .bio-tag, #bio-widget-cell .bio-tag {font-size: 10px; padding: 0 5px; border-radius: 3px; border: 1px solid #ddd;background: #f1f3f5; color: #555; height: 18px; line-height: 16px; white-space: nowrap;}
#bio-widget-animal .bio-tag.concentration-tag, #bio-widget-cell .bio-tag.concentration-tag { color: #856404; font-weight: bold; }
#bio-widget-animal .bio-tag.duration-tag, #bio-widget-cell .bio-tag.duration-tag { color: #099268; font-weight: bold; }
#bio-widget-animal .bio-tag.if-tag.active-sort, #bio-widget-cell .bio-tag.if-tag.active-sort {background: #007bff; color: #fff; border-color: #007bff;}
#bio-widget-animal .bio-tag.citation-tag.active-sort, #bio-widget-cell .bio-tag.citation-tag.active-sort {background: #007bff; color: #fff; border-color: #007bff;}
#bio-widget-animal .bio-tag.date-tag.active-sort, #bio-widget-cell .bio-tag.date-tag.active-sort {background: #007bff; color: #fff; border-color: #007bff;}
.bio-download-link, .bio-click-link {font-size: 11px; color: #007bff; text-decoration: none; font-weight: 600;background: #fff; padding: 2px 11px; border: 1px solid #dee2e6; border-radius: 3px; font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-align: left;line-height: 1.4;}
.bio-download-link:hover,.bio-click-link:hover { background-color: #f8f9fa; border-color: #007bff; text-decoration: none !important;}
.bio-click-link{padding:2px 17px}
#bio-widget-animal .bio-thumb-img, #bio-widget-cell .bio-thumb-img {width: 24px; height: 32px; border: 1px solid #ccc; border-radius: 2px;object-fit: cover; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;background: #fff;}
#bio-widget-animal .bio-thumb-img:hover, #bio-widget-cell .bio-thumb-img:hover {transform: scale(1.5); box-shadow: 0 2px 5px rgba(0,0,0,0.2); z-index: 10;border-color: #007bff;}
#bio-widget-animal .bio-sub-model-title, #bio-widget-cell .bio-sub-model-title{font-weight: 700; font-size: 13px; margin: 12px 0 6px 0; color: #007bff;}
.bio-global-search{flex: 0 0 320px; max-width: 100%;margin-left: 15px;}
input.concentration-search-input{width: 100%; border: 1px solid #0056b3; box-shadow: 0 2px 4px rgba(0,86,179,0.15); font-size: 14px;}
.bio-step-header-inline{display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;}
.bio-screenshot{align-items: center;display: flex;flex-direction: column;border: 1px solid #dee2e6;padding: 5px;border-radius: 3px;}
table.bio-concl-table td a{color: #007ac3;font-size: 13px;text-decoration: none;}
table.bio-concl-table td a:hover,.bio-expand-btn:hover{text-decoration: underline;text-underline-offset: 0.25em;}
.bio-expand-wrapper{display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px;margin-left: 15px;}
.bio-expand-btn{color: #007ac3; font-weight: bold; font-size: 13px; cursor: pointer;border: none;background: none;color: #007ac3;margin-left: 15px;margin-top: 10px; margin-bottom: 10px;}
.PMC-link-wrapper{display:flex; gap:8px;flex-direction: column-reverse;}
.bio-operator-area{background-color: #fcfcfc; padding: 15px; }
.container-border{border: 1px solid #e0e0e0; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); background-color: #fff; overflow: hidden; margin-top: 10px;}

.img-modal {display: none; position: fixed; z-index: 9999;left: 0; top: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.85);}
.img-modal-content {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5);object-fit: contain; animation: zoomInCenter 0.3s forwards;}
@keyframes zoomInCenter {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.img-modal-close {position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold;transition: 0.3s; cursor: pointer; z-index: 10000;}
.img-modal-close:hover { color: #bbb; text-decoration: none; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.tech-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    gap: 5px;
}

.tech-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.tech-tag {
    background: var(--accent-light);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.pmc-ref-link {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    align-self: center;
    margin-left: 2px;
    white-space: nowrap;
}
.pmc-ref-link:hover {
    color: var(--accent-hover);
}


@media (max-width: 868px) {
    .aliquot-service-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .aliquot-graphic-card {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .nav-sidebar {
        display: none;
    }
    .container {
        justify-content: center;
    }
    .hero h1 {
        padding-left: 0;
    }
    .col3-grid { grid-template-columns: 1fr; }
}