/* 住觅家·装修报价合同助手 - 主样式 */

/* ===== 品牌色系 ===== */
:root {
    /* 住觅家暖棕金配色 */
    --brand-primary: #B08D57;
    --brand-primary-dark: #8B6F4E;
    --brand-primary-light: #F5F0E8;
    --brand-primary-hover: #C9A06A;
    --brand-accent: #7A9E7E;
    --brand-danger: #D9534F;
    --brand-danger-light: #FDF3F2;
    --brand-warning: #D8893C;
    --brand-warning-light: #FDF8F2;
    --brand-safe: #7A9E7E;
    --brand-safe-light: #F1F6F1;
    --brand-bg: #FDFBF7;
    --brand-card: #FFFFFF;
    --brand-text: #2D2D2D;
    --brand-text-light: #7A7A7A;
    --brand-border: #E8E2D8;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --font-main: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.14);
}

/* ===== 基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--brand-text);
    background: var(--brand-bg);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== 布局容器 ===== */
.app-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== 顶部导航 ===== */
.app-header {
    background: var(--brand-card);
    padding: 16px 0;
    border-bottom: 1px solid var(--brand-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.brand-icon {
    color: var(--brand-primary);
    width: 28px;
    height: 28px;
}

.brand-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-text);
    letter-spacing: 2px;
}

/* ===== 主内容 ===== */
.app-main {
    flex: 1;
    padding: 24px 0;
}

.section {
    animation: fadeIn 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 8px;
}

.section-desc {
    font-size: 14px;
    color: var(--brand-text-light);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 上传区 ===== */
.upload-area {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.upload-methods {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.method-btn {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-md);
    background: var(--brand-bg);
    color: var(--brand-text-light);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.method-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.method-btn.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 600;
}

.drop-zone {
    border: 2px dashed var(--brand-border);
    border-radius: var(--radius-md);
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--brand-bg);
}

.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.drop-zone-content p {
    font-size: 14px;
    color: var(--brand-text);
    margin-top: 8px;
}

.drop-zone-hint {
    font-size: 12px;
    color: var(--brand-text-light);
    margin-top: 4px;
}

/* ===== 文件列表 ===== */
.file-list {
    background: var(--brand-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-sm);
}

.file-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.clear-btn {
    font-size: 12px;
    color: var(--brand-danger);
    cursor: pointer;
    background: none;
    border: none;
}

.file-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--brand-bg);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.file-item-name {
    color: var(--brand-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-item-size {
    color: var(--brand-text-light);
    font-size: 12px;
}

.file-item-remove {
    color: var(--brand-danger);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 14px;
    padding: 4px;
}

/* ===== 按钮 ===== */
.action-area {
    text-align: center;
    margin-top: 20px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.primary-btn:hover:not(:disabled) {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.primary-btn:disabled {
    background: var(--brand-border);
    color: var(--brand-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--brand-card);
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background: var(--brand-primary-light);
}

/* ===== 功能介绍 ===== */
.feature-intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--brand-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 20px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 14px;
    color: var(--brand-text);
}

.feature-text span {
    font-size: 12px;
    color: var(--brand-text-light);
}

/* ===== 分析进度 ===== */
.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--brand-border);
    font-size: 15px;
    color: var(--brand-text-light);
}

.step-item:last-child {
    border-bottom: none;
}

.step-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-bg);
    font-size: 16px;
}

.step-item.done {
    color: var(--brand-accent);
}

.step-item.done .step-icon {
    background: var(--brand-safe-light);
    color: var(--brand-accent);
}

.step-item.active {
    color: var(--brand-primary);
    font-weight: 600;
}

.step-item.active .step-icon {
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.step-label {
    flex: 1;
}

.progress-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--brand-text-light);
}

/* ===== 评分卡片 ===== */
.score-card {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    margin-bottom: 16px;
}

.score-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--brand-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--brand-border);
}

.score-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-primary);
}

.score-label {
    font-size: 12px;
    color: var(--brand-text-light);
}

.score-details {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.score-detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.score-detail-label {
    font-size: 12px;
    color: var(--brand-text-light);
}

.score-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-text);
}

/* ===== 风险清单 ===== */
.findings-card {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 16px;
}

.finding-group {
    margin-bottom: 12px;
}

.finding-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.finding-group-header.danger {
    background: var(--brand-danger-light);
    color: var(--brand-danger);
}

.finding-group-header.warning {
    background: var(--brand-warning-light);
    color: var(--brand-warning);
}

.finding-group-header.safe {
    background: var(--brand-safe-light);
    color: var(--brand-safe);
}

.finding-badge {
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    min-width: 72px;
    text-align: center;
}

.danger-badge {
    background: var(--brand-danger);
    color: white;
}

.warning-badge {
    background: var(--brand-warning);
    color: white;
}

.safe-badge {
    background: var(--brand-safe);
    color: white;
}

.finding-count {
    font-size: 13px;
}

.finding-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.finding-item {
    padding: 12px;
    background: var(--brand-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid;
}

.finding-item.danger-item {
    border-left-color: var(--brand-danger);
}

.finding-item.warning-item {
    border-left-color: var(--brand-warning);
}

.finding-item.safe-item {
    border-left-color: var(--brand-safe);
}

.finding-item-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-text);
}

.finding-item-detail {
    font-size: 13px;
    color: var(--brand-text-light);
    margin-top: 4px;
}

.finding-item-suggestion {
    font-size: 13px;
    color: var(--brand-primary);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--brand-border);
}

/* ===== 问题清单 ===== */
.checklist-card {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
}

.checklist-desc {
    font-size: 13px;
    color: var(--brand-text-light);
    margin-bottom: 16px;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    background: var(--brand-bg);
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.5;
}

.checklist-item-num {
    color: var(--brand-primary);
    font-weight: 600;
    min-width: 28px;
}

.checklist-item-text {
    color: var(--brand-text);
}

.checklist-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.action-btn {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-btn {
    background: var(--brand-primary);
    color: white;
    border: none;
    font-weight: 500;
}

.copy-btn:hover {
    background: var(--brand-primary-hover);
}

/* ===== OCR原文 ===== */
.ocr-card {
    background: var(--brand-card);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.ocr-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 14px;
    color: var(--brand-text-light);
}

.ocr-toggle:hover {
    color: var(--brand-primary);
}

.toggle-arrow {
    transition: transform 0.2s;
}

.toggle-arrow.open {
    transform: rotate(180deg);
}

.ocr-content {
    padding: 16px;
    border-top: 1px solid var(--brand-border);
}

.ocr-content pre {
    font-size: 12px;
    color: var(--brand-text-light);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 300px;
    overflow-y: auto;
    background: var(--brand-bg);
    padding: 12px;
    border-radius: var(--radius-sm);
}

/* ===== 底部 ===== */
.app-footer {
    padding: 24px 0 16px;
    text-align: center;
    border-top: 1px solid var(--brand-border);
}

.app-footer p {
    font-size: 12px;
    color: var(--brand-text-light);
}

.footer-brand {
    font-weight: 600;
    color: var(--brand-text) !important;
    margin-bottom: 2px;
}

.footer-slogan {
    margin-bottom: 8px;
}

.footer-note {
    font-size: 11px;
    color: var(--brand-text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-extra {
    margin-top: 8px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--brand-primary-light);
    border: 1px solid var(--brand-primary);
    border-radius: 20px;
    font-size: 12px;
    color: var(--brand-primary-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.footer-link:hover {
    background: var(--brand-primary);
    color: white;
}

.footer-link:hover svg {
    stroke: white;
}

/* ===== 备案信息 ===== */
.footer-compliance {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--brand-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-icp {
    font-size: 11px;
    color: var(--brand-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-icp:hover {
    color: var(--brand-primary);
}

.footer-divider {
    font-size: 11px;
    color: var(--brand-border);
}

/* ===== 开发中弹窗 ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

.modal-content {
    position: relative;
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    max-width: 320px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 14px;
    color: var(--brand-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-btn {
    padding: 10px 28px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn:hover {
    background: var(--brand-primary-hover);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-text);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    z-index: 1000;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ===== Loading ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(247, 250, 252, 0.9);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--brand-border);
    border-top: 3px solid var(--brand-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    margin-top: 12px;
    font-size: 14px;
    color: var(--brand-text-light);
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
    .app-container {
        max-width: 600px;
    }

    .feature-intro {
        flex-direction: row;
    }

    .feature-item {
        flex: 1;
    }
}

/* ===== 初步检查预览卡片 ===== */
.preview-card {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.preview-icon {
    font-size: 36px;
    min-width: 48px;
    text-align: center;
}

.preview-info {
    flex: 1;
}

.preview-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 4px;
}

.preview-subtitle {
    font-size: 13px;
    color: var(--brand-text-light);
}

.preview-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--brand-bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.preview-item.danger {
    background: var(--brand-danger-light);
}

.preview-item.warning {
    background: var(--brand-warning-light);
}

.preview-item.safe {
    background: var(--brand-safe-light);
}

.preview-item-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

.preview-item-badge.danger {
    background: var(--brand-danger);
    color: white;
}

.preview-item-badge.warning {
    background: var(--brand-warning);
    color: white;
}

.preview-item-badge.safe {
    background: var(--brand-safe);
    color: white;
}

.preview-item-name {
    flex: 1;
    color: var(--brand-text);
    font-weight: 500;
}

.preview-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--brand-primary-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--brand-primary-dark);
    line-height: 1.5;
}

.preview-tip svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* ===== 线索获客表单 ===== */
.lead-capture {
    background: var(--brand-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

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

.lead-icon {
    font-size: 28px;
}

.lead-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-text);
}

.lead-desc {
    font-size: 14px;
    color: var(--brand-text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lead-desc strong {
    color: var(--brand-primary);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-type-toggle {
    display: flex;
    gap: 10px;
}

.lead-type-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-md);
    background: var(--brand-bg);
    color: var(--brand-text-light);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.lead-type-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.lead-type-btn.active {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 600;
}

.lead-input-group {
    width: 100%;
}

.lead-input-group.optional {
    margin-bottom: 0;
}

.lead-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--brand-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--brand-text);
    background: var(--brand-bg);
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--font-main);
}

.lead-input:focus {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.lead-input::placeholder {
    color: var(--brand-text-light);
}

.lead-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-md);
}

.lead-submit-btn:hover:not(:disabled) {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.lead-submit-btn:disabled {
    background: var(--brand-border);
    color: var(--brand-text-light);
    cursor: not-allowed;
    box-shadow: none;
}

.spin-icon {
    animation: spin 1s linear infinite;
}

/* 线索提交成功提示 */
.lead-success {
    text-align: center;
    padding: 20px 0;
}

.lead-success-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.lead-success h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 8px;
}

.lead-success p {
    font-size: 14px;
    color: var(--brand-text-light);
    line-height: 1.6;
    margin-bottom: 8px;
}

.lead-success-tip {
    font-size: 12px;
    color: var(--brand-primary);
    padding: 10px 16px;
    background: var(--brand-primary-light);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.lead-trust {
    text-align: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--brand-border);
    font-size: 12px;
    color: var(--brand-text-light);
}

.lead-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== 后台线索列表样式（简易） ===== */
@media (min-width: 768px) {
    .lead-type-toggle {
        flex-direction: row;
    }
}
