        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            background-color: #f5f5f5;
            color: #333;
            line-height: 1.5;
        }
        
        .container {
            max-width: 480px;
            margin: 0 auto;
            background: white;
            min-height: 100vh;
        }
        
        /* 页面容器 */
        .page {
            /* display: none; */
            padding-bottom: 70px;
        }
        
        .page.active {
            display: block;
        }
        
        /* 顶部导航 */
        .header {
            position: sticky;
            top: 0;
            background: #d63031;
            color: white;
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
        }
        
        .header-title {
            font-size: 18px;
            font-weight: bold;
        }
        
        .header-actions {
            display: flex;
            gap: 16px;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            border-top: 1px solid #eee;
            max-width: 480px;
            margin: 0 auto;
            z-index: 100;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 12px;
            color: #666;
            cursor: pointer;
            padding: 4px;
        }
        
        .nav-item.active {
            color: #d63031;
        }
        
        .nav-icon {
            font-size: 20px;
            margin-bottom: 4px;
        }
        
        /* 内容区域 */
        .content {
            padding: 16px;
        }
        
        .section {
            margin-bottom: 24px;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .section-more {
            font-size: 14px;
            color: #666;
            font-weight: normal;
        }
        
        /* 搜索框 */
        .search-box {
            background: #f8f8f8;
            border-radius: 20px;
            padding: 10px 16px;
            display: flex;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .search-input {
            flex: 1;
            border: none;
            background: transparent;
            outline: none;
            margin-left: 8px;
        }
        
        /* 筛选标签 */
        .filter-tags {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 8px;
            margin-bottom: 16px;
        }
        
        .filter-tag {
            padding: 6px 12px;
            background: #f8f8f8;
            border-radius: 16px;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .filter-tag.active {
            background: #d63031;
            color: white;
        }
        
        /* 数据卡片 */
        .stats-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            margin-bottom: 16px;
        }
        
        .stat-card {
            background: white;
            border-radius: 8px;
            padding: 12px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
        
        .stat-value {
            font-size: 20px;
            font-weight: bold;
            color: #d63031;
            margin-bottom: 4px;
        }
        
        .stat-label {
            font-size: 12px;
            color: #666;
        }
        
        /* 快捷操作 */
        .quick-actions {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 16px;
        }
        
        .action-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .action-icon {
            width: 40px;
            height: 40px;
            background: #f8f8f8;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
            color: #d63031;
            font-size: 18px;
        }
        
        .action-label {
            font-size: 12px;
            text-align: center;
        }
        
        /* 待办事项 */
        .todo-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .todo-info {
            display: flex;
            align-items: center;
        }
        
        .todo-badge {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #d63031;
            margin-right: 8px;
        }
        
        .todo-date {
            font-size: 12px;
            color: #999;
        }
        
        /* 产品卡片 */
        .product-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .product-card {
            background: white;
            border-radius: 8px;
            padding: 12px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            display: flex;
        }
        
        .product-image {
            width: 80px;
            height: 80px;
            background: #f8f8f8;
            border-radius: 6px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ccc;
        }
        
        .product-info {
            flex: 1;
        }
        
        .product-name {
            font-weight: bold;
            margin-bottom: 4px;
        }
        
        .product-spec {
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
        }
        
        .product-price {
            color: #d63031;
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .product-actions {
            display: flex;
            gap: 8px;
        }
        
        .btn {
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            border: none;
            cursor: pointer;
        }
        
        .btn-primary {
            background: #d63031;
            color: white;
        }
        
        .btn-outline {
            background: transparent;
            border: 1px solid #d63031;
            color: #d63031;
        }
        
        /* 询价单卡片 */
        .inquiry-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .inquiry-card {
            background: white;
            border-radius: 8px;
            padding: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }
        
        .inquiry-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .inquiry-id {
            font-weight: bold;
            color: #d63031;
        }
        
        .inquiry-status {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
        }
        
        .status-pending {
            background: #fff3cd;
            color: #856404;
        }
        
        .status-quoted {
            background: #d1ecf1;
            color: #0c5460;
        }

        .status-financing {
            background: #e2e3ff;
            color: #3f3d9b;
        }

        .status-deal {
            background: #d4edda;
            color: #155724;
        }

        .status-cancelled {
            background: #f8d7da;
            color: #721c24;
        }
        
        .inquiry-products {
            margin: 12px 0;
        }
        
        .inquiry-product {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .inquiry-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 12px;
            border-top: 1px solid #f0f0f0;
        }
        
        /* 消息列表 */
        .message-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .message-card {
            background: white;
            border-radius: 8px;
            padding: 16px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            display: flex;
        }
        
        .message-avatar {
            width: 40px;
            height: 40px;
            border-radius: 20px;
            background: #f8f8f8;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            color: #d63031;
        }
        
        .message-content {
            flex: 1;
        }
        
        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 4px;
        }
        
        .message-sender {
            font-weight: bold;
        }
        
        .message-time {
            font-size: 12px;
            color: #999;
        }
        
        .message-preview {
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
        }
        
        .message-badge {
            background: #d63031;
            color: white;
            border-radius: 10px;
            padding: 2px 6px;
            font-size: 12px;
        }
        
        /* 空状态 */
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #999;
        }
        
        .empty-icon {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

/* ===== 补充：表单卡片/交付信息/弹窗（用于询价&样品页面） ===== */
.form-card{
    background:#fff;
    border-radius:8px;
    padding:16px;
    box-shadow:0 2px 6px rgba(0,0,0,0.05);
    margin-bottom:16px;
}
.form-title{
    font-size:16px;
    font-weight:bold;
    margin-bottom:12px;
}
.form-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}
.form-row.inline{
    align-items:flex-end;
}
.form-label{
    width:92px;
    font-size:14px;
    color:#333;
    flex:0 0 auto;
}
.form-input,.form-select,.form-textarea{
    flex:1;
    border:1px solid #eee;
    background:#fafafa;
    border-radius:8px;
    padding:10px 12px;
    font-size:14px;
    outline:none;
}
.form-input:focus,.form-select:focus,.form-textarea:focus{
    border-color:#d63031;
    background:#fff;
}
.form-textarea{
    min-height:72px;
    resize:none;
    line-height:1.4;
}
.sticky-bottom{
    position:sticky;
    bottom:70px; /* 预留底部导航高度 */
    padding:12px 16px;
    background:linear-gradient(to top, rgba(245,245,245,0.98), rgba(245,245,245,0.6), rgba(245,245,245,0));
}

/* 询价/样品条目块 */
.line-item{
    border:1px solid #f0f0f0;
    border-radius:8px;
    padding:12px;
    background:#fff;
    margin-bottom:12px;
}
.line-item-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:8px;
    gap:8px;
}
.line-item-name{
    font-weight:bold;
    margin-bottom:4px;
}
.line-item-sku{
    font-size:12px;
    color:#888;
}
.line-item-remove{
    border:none;
    background:#f8f8f8;
    color:#d63031;
    border-radius:6px;
    padding:6px 10px;
    cursor:pointer;
}

/* 弹窗（产品选择器） */
.hidden{display:none !important;}
.modal{
    position:fixed;
    inset:0;
    z-index:1000;
}
.modal-mask{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.35);
}
.modal-sheet{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    max-width:480px;
    margin:0 auto;
    background:#fff;
    border-radius:16px 16px 0 0;
    box-shadow:0 -4px 12px rgba(0,0,0,0.15);
    max-height:78vh;
    display:flex;
    flex-direction:column;
}
.modal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    border-bottom:1px solid #f0f0f0;
}
.modal-title{
    font-weight:bold;
}
.modal-close{
    border:none;
    background:#f8f8f8;
    border-radius:8px;
    padding:6px 10px;
    cursor:pointer;
}
.modal-body{
    padding:12px 16px;
    overflow:auto;
}

/* 弹窗列表条目（复用待办样式） */
.todo-all-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid #f2f2f2;
    gap:12px;
}
.todo-all-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}
.todo-all-icon{
    width:36px;
    height:36px;
    border-radius:18px;
    background:#f8f8f8;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
}
.todo-all-text{min-width:0;}
.todo-all-main{
    font-weight:bold;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.todo-all-sub{
    font-size:12px;
    color:#888;
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.btn-small{
    padding:6px 10px;
    border-radius:8px;
    font-size:12px;
    border:1px solid #d63031;
    background:transparent;
    color:#d63031;
    cursor:pointer;
    flex:0 0 auto;
}
.btn-small.primary{
    background:#d63031;
    color:#fff;
}
