* { box-sizing: border-box; }
body { margin: 0; font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; background: #f5f6f8; color: #333; font-size: 14px; }
a { color: #2f6fed; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar { display: flex; align-items: center; gap: 20px; background: #1f2d3d; color: #fff; padding: 0 16px; min-height: 52px; flex-wrap: wrap; }
.topbar .brand { font-weight: 700; font-size: 16px; }
.topbar nav { flex: 1; display: flex; gap: 4px; flex-wrap: wrap; }
.topbar nav a { color: #cdd5df; padding: 6px 12px; border-radius: 6px; }
.topbar nav a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,.08); }
.topbar nav a.active { color: #fff; background: #2f6fed; }
.topbar .userbox { color: #cdd5df; }
.topbar .userbox a { color: #9fc0ff; }

.container { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
.container.narrow { max-width: 720px; }
.container.wide { max-width: 1280px; }
.page-title { font-size: 20px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.page-title.center { justify-content: center; font-size: 24px; }
.slogan { text-align: center; color: #7a8595; margin: 0 0 16px; }
.center { text-align: center; }
.center-title { text-align: center !important; font-size: 17px !important; }

.notice { background: #fff8e6; border: 1px solid #f2dfae; color: #8a6116; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.card { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card .num { font-size: 28px; font-weight: 700; color: #2f6fed; }
.card .label { color: #7a8595; margin-top: 4px; }

.panel { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 16px; }
.panel h2 { font-size: 15px; margin: 0 0 12px; color: #1f2d3d; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 8px 10px; border: 1px solid #eef0f3; vertical-align: top; }
.table thead th { background: #fafbfc; color: #5a6675; font-weight: 600; white-space: nowrap; }
.table tbody tr:hover td { background: #f8faff; }
.nowrap { white-space: nowrap; }
.pre { white-space: pre-wrap; word-break: break-all; }
.table-wrap { overflow-x: auto; }
.rowlink { cursor: pointer; }
.company-link { font-weight: 600; }

/* 详情页字段表（仿表格版式） */
.detail .detail-head { text-align: center; margin-bottom: 12px; }
.detail .detail-head h2 { font-size: 20px; margin: 0 0 8px; }
.detail .detail-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.table.grid th { width: 86px; background: #fafbfc; color: #5a6675; font-weight: 500; }
.table.grid td { min-width: 110px; }

/* 跟进列表 */
.follow-list { margin: 0 0 16px; padding-left: 22px; }
.follow-list li { padding: 8px 0; border-bottom: 1px solid #f2f4f7; }
.follow-date { color: #7a8595; margin-right: 8px; }
.follow-add { background: #fafbfc; border: 1px dashed #d5dae1; border-radius: 8px; padding: 12px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.badge-blue { background: #e3efff; color: #2f6fed; }
.badge-green { background: #e3f7e9; color: #1f9d55; }
.badge-orange { background: #fff3e0; color: #d97706; }
.badge-gray { background: #eceef1; color: #6b7684; }

.btn { display: inline-block; padding: 7px 14px; border: 1px solid #d5dae1; border-radius: 6px; background: #fff; color: #333; cursor: pointer; font-size: 14px; line-height: 1.4; }
.btn:hover { background: #f2f5f9; text-decoration: none; }
.btn-primary { background: #2f6fed; border-color: #2f6fed; color: #fff; }
.btn-primary:hover { background: #2560d8; }
.btn-green { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btn-green:hover { background: #17844a; }
.btn-danger { color: #d33; border-color: #eccaca; }
.btn-danger:hover { background: #fdf1f1; }
.btn-sm { padding: 3px 10px; font-size: 13px; }
.btn-block { width: 100%; }

/* 综合查询条 */
.filterbar { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 16px; }
.filter-label { display: block; color: #1f2d3d; font-weight: 600; margin-bottom: 8px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-row input[type=text].kw { flex: 1; min-width: 220px; padding: 8px 10px; border: 1px solid #d5dae1; border-radius: 6px; font: inherit; }
.filter-row select { padding: 8px 10px; border: 1px solid #d5dae1; border-radius: 6px; background: #fff; font: inherit; }

.form label { display: block; margin-bottom: 12px; color: #5a6675; }
.form label.req { color: #b25; }
.form input, .form select, .form textarea { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #d5dae1; border-radius: 6px; font: inherit; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid #bcd3ff; border-color: #2f6fed; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
.form-actions { margin-top: 6px; display: flex; gap: 10px; }

.actions { display: flex; gap: 6px; align-items: center; white-space: nowrap; flex-wrap: wrap; }
.inline { display: inline; }
.pull-right { float: right; }

.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; }
.alert-success { background: #e3f7e9; color: #1f9d55; border: 1px solid #bfe8cc; }
.alert-error { background: #fdeaea; color: #c33; border: 1px solid #f2c7c7; }

.empty { color: #8a94a2; padding: 12px 0; }
.muted { color: #8a94a2; font-size: 13px; }

.pager { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.pager a { padding: 4px 10px; border: 1px solid #d5dae1; border-radius: 6px; background: #fff; }
.pager a.cur { background: #2f6fed; color: #fff; border-color: #2f6fed; }

.foot { text-align: center; color: #9aa4b1; font-size: 12px; padding: 28px 0 18px; }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #1f2d3d, #2f6fed); padding: 20px; }
.login-card { background: #fff; border-radius: 12px; padding: 30px 32px; width: 400px; max-width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.login-card h1 { font-size: 20px; margin: 0 0 6px; text-align: center; color: #1f2d3d; }
.slogan-line { color: #8a94a2; font-size: 13px; margin: 0 0 16px; }
.login-card label { display: block; margin-bottom: 12px; color: #5a6675; }
.login-card input { width: 100%; margin-top: 4px; padding: 9px 12px; border: 1px solid #d5dae1; border-radius: 6px; font: inherit; }

/* ===== 移动端（<768px）：表格转卡片 ===== */
@media (max-width: 768px) {
    body { padding-bottom: 60px; font-size: 15px; }
    
    .topbar { gap: 8px; padding: 10px 16px; min-height: auto; }
    .topbar nav a { padding: 4px 8px; font-size: 13px; }
    .container { margin-top: 10px; padding: 0 12px; }
    
    /* 表格转卡片 */
    .table.responsive thead { display: none; }
    .table.responsive, .table.responsive tbody, .table.responsive tr, .table.responsive td { display: block; width: auto; }
    .table.responsive tr { 
        background: #fff; 
        border: 1px solid #e6e9ee; 
        border-radius: 12px; 
        margin-bottom: 12px; 
        padding: 14px 16px; 
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
        transition: all 0.2s ease;
    }
    .table.responsive tr:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0,0,0,.08);
    }
    .table.responsive td { 
        display: flex; 
        gap: 12px; 
        border: none; 
        padding: 8px 0;
        font-size: 14px;
        line-height: 1.5;
    }
    .table.responsive td::before { 
        content: attr(data-label); 
        flex: 0 0 90px; 
        color: #7a8595; 
        font-weight: 500;
        font-size: 13px;
    }
    .table.responsive td:first-child {
        font-size: 16px;
        font-weight: 600;
        color: #1f2d3d;
    }
    .table.responsive td.actions { 
        justify-content: flex-end; 
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid #f0f2f5;
        gap: 8px;
    }
    .table.grid { display: table; }
    
    /* 筛选栏优化 */
    .filterbar { 
        padding: 14px 16px; 
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }
    .filter-label { font-size: 14px; margin-bottom: 10px; }
    .filter-row { gap: 10px; }
    .filter-row input[type=text].kw { 
        min-width: 100%; 
        margin-bottom: 10px;
        padding: 12px 14px;
        font-size: 15px;
        border-radius: 8px;
    }
    .filter-row select { 
        flex: 1; 
        min-width: calc(50% - 5px);
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
    }
    .filter-row .btn { 
        flex: 1; 
        min-width: calc(50% - 5px);
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 500;
    }
    
    /* 按钮增大触摸区域 */
    .btn { 
        padding: 12px 18px; 
        min-height: 44px;
        font-size: 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    .btn:active {
        transform: scale(0.96);
    }
    .btn-sm { 
        padding: 10px 10px 14px; 
        font-size: 13px; 
        min-height: 38px;
    }
    .btn-primary {
        font-weight: 500;
    }
    
    /* 联系人表格 */
    .contact-row { 
        padding: 12px 14px;
        border-radius: 10px;
    }
    .contacts-table { display: table; }
    .contacts-table th, .contacts-table td { 
        white-space: normal;
        padding: 10px 8px;
        font-size: 13px;
    }
    
    /* 详情页优化 */
    .detail .detail-head h2 { 
        font-size: 19px;
        margin-bottom: 12px;
    }
    .detail .detail-btns {
        gap: 10px;
        margin-bottom: 16px;
    }
    .detail .detail-btns .btn {
        flex: 1;
        min-width: 80px;
    }
    .table.grid th, .table.grid td { 
        display: block; 
        width: 100%; 
        padding: 10px 12px;
        font-size: 14px;
    }
    .table.grid th { 
        background: transparent; 
        text-align: left; 
        padding-bottom: 4px; 
        font-size: 13px;
        color: #7a8595;
        font-weight: 500;
    }
    .table.grid td { 
        padding-top: 0;
        color: #1f2d3d;
    }
    
    /* 表单优化 */
    .form label {
        font-size: 14px;
        margin-bottom: 14px;
    }
    .form input, .form select, .form textarea { 
        padding: 12px 14px; 
        font-size: 15px; 
        min-height: 46px;
        border-radius: 8px;
    }
    .form textarea {
        min-height: 100px;
        resize: vertical;
    }
    .form-actions {
        margin-top: 20px;
        gap: 12px;
    }
    .form-actions .btn { 
        flex: 1;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 500;
    }
    
    /* 面板优化 */
    .panel {
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 14px;
    }
    .panel h2 {
        font-size: 16px;
        margin-bottom: 14px;
    }
    
    /* 分页优化 */
    .pager {
        gap: 8px;
        justify-content: center;
    }
    .pager a {
        padding: 8px 14px;
        min-width: 40px;
        text-align: center;
        border-radius: 8px;
        font-size: 14px;
    }
    
    /* 空状态优化 */
    .empty {
        font-size: 14px;
        padding: 20px 0;
        text-align: center;
    }
    
    /* 提示框优化 */
    .notice {
        border-radius: 10px;
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* ===== 多联系人 ===== */
.contacts-box { border: 1px solid #d5dae1; border-radius: 10px; padding: 14px 16px 16px; margin: 14px 0; background: #fafbfc; }
.contacts-box legend { font-size: 14px; color: #165dff; font-weight: 600; padding: 0 8px; }
.contact-row { border: 1px solid #e6e9ee; background: #fff; border-radius: 8px; padding: 10px 14px 14px; margin-bottom: 10px; position: relative; }
.contact-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.primary-radio { font-size: 13px; color: #5a6675; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.primary-radio input { accent-color: #165dff; }
.contact-del { background: #fee; color: #d93026; border: 1px solid #f5c6c3; }
.contacts-table td, .contacts-table th { vertical-align: middle; }
.contacts-table .primary-contact { background: #f0f6ff; }
.contacts-table .badge { margin-left: 6px; }

/* ===== 批量导入 ===== */
.row2 { display: grid; grid-template-columns: 5fr 4fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .row2 { grid-template-columns: 1fr; } }
.form input[type=file] { padding: 6px; background: #fafbfc; }
.form fieldset { border: 1px solid #d5dae1; border-radius: 8px; padding: 10px 14px 12px; margin: 0 0 12px; }
.form fieldset legend { font-size: 13px; color: #5a6675; padding: 0 6px; }
.radio-line { display: flex !important; align-items: flex-start; gap: 8px; margin-bottom: 8px !important; cursor: pointer; }
.radio-line input[type=radio] { width: auto; margin: 3px 0 0; accent-color: #165dff; }
.tips { margin: 0; padding-left: 20px; color: #5a6675; font-size: 14px; line-height: 1.9; }
.tips li { margin-bottom: 4px; }
.ok-num { color: #1f9d55; }
.bad-num { color: #d93026; }
.sub-title { margin-top: 18px; }
.import-confirm { margin-top: 16px; }
.import-confirm .btn { width: auto; }

/* ===== 移动端底部导航栏 ===== */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e6e9ee;
    box-shadow: 0 -2px 8px rgba(0,0,0,.08);
    z-index: 1000;
    padding: 6px 0;
}

.mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    color: #7a8595;
    text-decoration: none;
    font-size: 12px;
    min-width: 60px;
    transition: color 0.2s;
}

.mobile-nav-item:active {
    background: #f5f6f8;
}

.mobile-nav-item.active {
    color: #2f6fed;
}

.mobile-nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
    
    .topbar {
        padding: 10px 16px;
        min-height: auto;
    }
    
    .topbar .userbox {
        display: none;
    }
    
    .topbar nav {
        display: none;
    }
    
    .foot {
        display: none;
    }
}

/* ===== 客户详情页现代化设计 ===== */
.customer-detail-page {
    max-width: 900px;
    margin: 0 auto;
}

/* 顶部操作栏 */
.detail-header {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.detail-company-name {
    font-size: 22px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0;
    word-break: break-word;
}

.grade-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.grade-badge.badge-green { background: #e3f7e9; color: #1f9d55; }
.grade-badge.badge-orange { background: #fff3e0; color: #d97706; }
.grade-badge.badge-gray { background: #eceef1; color: #6b7684; }
.grade-badge.badge-blue { background: #e3efff; color: #2f6fed; }

.detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
}

.btn-icon {
    font-size: 14px;
}

/* 信息卡片 */
.info-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f5;
    background: #fafbfc;
}

.info-card-icon {
    font-size: 18px;
}

.info-card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0;
    flex: 1;
}

.info-card-header .count {
    font-weight: 400;
    color: #7a8595;
    font-size: 14px;
}

.info-card-body {
    padding: 20px;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 13px;
    color: #7a8595;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #1f2d3d;
    line-height: 1.5;
    word-break: break-word;
}

.info-value.pre {
    white-space: pre-wrap;
}

.info-full-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid #f0f2f5;
}

.info-full-item:first-child {
    border-top: none;
    padding-top: 0;
}

.info-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
    margin-top: 8px;
}

.info-meta .info-value {
    font-size: 13px;
}

/* 联系人列表 */
.contacts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.contact-card {
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: #2f6fed;
    box-shadow: 0 4px 12px rgba(47,111,237,.12);
}

.contact-card.primary {
    border-color: #2f6fed;
    background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
}

.contact-header {
    margin-bottom: 12px;
}

.contact-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2d3d;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.primary-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: #2f6fed;
    color: #fff;
    border-radius: 10px;
    font-weight: 500;
}

.contact-title {
    font-size: 13px;
    color: #7a8595;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.contact-info-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.contact-link {
    color: #2f6fed;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e6e9ee;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2f6fed;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e3efff;
}

.timeline-content {
    background: #fafbfc;
    border-radius: 8px;
    padding: 14px 16px;
    border: 1px solid #eef0f3;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: #2f6fed;
}

.timeline-user {
    font-size: 13px;
    color: #7a8595;
}

.timeline-delete {
    background: none;
    border: none;
    color: #d33;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 14px;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.timeline-delete:hover {
    opacity: 1;
}

.timeline-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.timeline-text.pre {
    white-space: pre-wrap;
}

/* 添加跟进表单 */
.follow-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f2f5;
}

.follow-form h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2d3d;
    margin: 0 0 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    color: #5a6675;
    font-weight: 500;
    margin: 0;
}

.required {
    color: #d33;
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid #d5dae1;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #2f6fed;
    box-shadow: 0 0 0 3px rgba(47,111,237,.1);
}

.form-actions {
    margin-top: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    color: #7a8595;
    font-size: 15px;
}

.empty-hint {
    font-size: 13px !important;
    color: #9aa4b1 !important;
    margin-top: 8px !important;
}

/* ===== 移动端响应式优化 ===== */
@media (max-width: 768px) {
    .customer-detail-page {
        max-width: 100%;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 12px;
    }
    
    .detail-header-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .detail-company-name {
        font-size: 20px;
    }
    
    .detail-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .detail-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        min-height: 44px;
        font-size: 15px;
    }
    
    .info-card-header {
        padding: 14px 16px;
    }
    
    .info-card-header h2 {
        font-size: 15px;
    }
    
    .info-card-body {
        padding: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .info-label {
        flex: 0 0 80px;
        font-size: 14px;
    }
    
    .info-value {
        flex: 1;
        font-size: 15px;
    }
    
    .info-full-item {
        padding: 14px 0;
    }
    
    .info-full-item .info-label {
        font-size: 14px;
    }
    
    .info-full-item .info-value {
        font-size: 15px;
    }
    
    .info-meta {
        flex-direction: row;
        gap: 12px;
        padding-top: 14px;
    }
    
    .info-meta .info-label {
        flex: 0 0 80px;
    }
    
    .info-meta .info-value {
        font-size: 14px;
    }
    
    /* 联系人卡片移动端优化 */
    .contacts-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .contact-card {
        padding: 14px;
    }
    
    .contact-name {
        font-size: 15px;
    }
    
    .contact-title {
        font-size: 13px;
    }
    
    .contact-info-item {
        font-size: 14px;
    }
    
    .contact-link {
        font-size: 15px;
        padding: 4px 0;
    }
    
    /* 时间线移动端优化 */
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 5px;
    }
    
    .timeline-marker {
        left: -19px;
        width: 8px;
        height: 8px;
    }
    
    .timeline-content {
        padding: 12px 14px;
    }
    
    .timeline-header {
        gap: 8px;
    }
    
    .timeline-date {
        font-size: 13px;
    }
    
    .timeline-user {
        font-size: 12px;
    }
    
    .timeline-text {
        font-size: 14px;
    }
    
    /* 跟进表单移动端优化 */
    .follow-form {
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .follow-form h3 {
        font-size: 15px;
        margin-bottom: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-group input {
        padding: 12px 14px;
        font-size: 15px;
        min-height: 44px;
    }
    
    .form-actions .btn {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 空状态移动端优化 */
    .empty-state {
        padding: 30px 16px;
    }
    
    .empty-icon {
        font-size: 40px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
    
    .empty-hint {
        font-size: 12px !important;
    }
}

/* 平板断点优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacts-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
