/* ==================== 数据资产管理平台 ==================== */

.da-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

/* Hero / 介绍 */
.da-hero {
    text-align: center;
    padding: 80px 20px;
}
.da-hero h1 {
    font-size: 32px;
    color: #8b2500;
    margin-bottom: 12px;
}
.da-slogan {
    font-size: 16px;
    color: #c8973a;
    letter-spacing: 4px;
    margin-bottom: 48px;
}
.da-flow-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.da-flow-step {
    background: #faf6f0;
    border-radius: 12px;
    padding: 24px 20px;
    width: 160px;
    text-align: center;
}
.da-flow-step h3 {
    margin: 12px 0 4px;
    color: #8b2500;
}
.da-flow-step p {
    font-size: 13px;
    color: #666;
    margin: 0;
}
.da-flow-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b2500, #c8973a);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}
.da-flow-arrow {
    font-size: 24px;
    color: #c8973a;
}

/* Header */
.da-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.da-header h1 {
    font-size: 24px;
    color: #8b2500;
    margin: 0;
}
.da-subtitle {
    color: #666;
    font-size: 14px;
    margin: 4px 0 0;
}

/* Buttons */
.da-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.da-btn:hover { background: #f5f0e8; }
.da-btn-primary {
    background: #8b2500;
    color: #fff;
    border-color: #8b2500;
}
.da-btn-primary:hover { background: #6d1d00; }
.da-btn-accent {
    background: linear-gradient(135deg, #c8973a, #8b2500);
    color: #fff;
    border: none;
}
.da-btn-accent:hover { opacity: 0.9; }
.da-btn-sm {
    padding: 4px 12px;
    font-size: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.da-btn-sm:hover { background: #f5f0e8; }
.da-btn-danger { color: #dc3545; border-color: #dc3545; }
.da-btn-danger:hover { background: #fff5f5; }

/* Project Grid */
.da-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.da-project-card {
    background: #fff;
    border: 1px solid #e0d5c5;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
    cursor: pointer;
}
.da-project-card:hover { box-shadow: 0 4px 16px rgba(139,37,0,0.1); }
.da-project-card h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 17px;
}
.da-project-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}
.da-project-meta span { margin-right: 16px; }
.da-project-actions {
    display: flex;
    gap: 8px;
}
.da-project-progress {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
}
.da-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0d5c5;
}
.da-progress-dot.done { background: #28a745; }
.da-progress-dot.active { background: #c8973a; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Status */
.da-status { font-weight: bold; font-size: 13px; }
.da-status-draft { color: #666; }
.da-status-inventory { color: #c8973a; }
.da-status-compliance { color: #0d6efd; }
.da-status-valuation { color: #6f42c1; }
.da-status-registered { color: #28a745; }

/* Detail Header */
.da-detail-header { margin-bottom: 24px; }
.da-detail-header h1 { font-size: 24px; color: #333; margin: 8px 0 4px; }
.da-back {
    font-size: 14px;
    color: #8b2500;
    text-decoration: none;
}
.da-back:hover { text-decoration: underline; }

/* Tabs */
.da-tabs {
    display: flex;
    border-bottom: 2px solid #e0d5c5;
    margin-bottom: 24px;
    gap: 0;
}
.da-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.da-tab:hover { color: #8b2500; }
.da-tab.active {
    color: #8b2500;
    font-weight: bold;
    border-bottom-color: #8b2500;
}
.da-tab-content { display: none; }
.da-tab-content.active { display: block; }

/* Toolbar */
.da-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Table */
.da-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.da-table th {
    background: #8b2500;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    font-weight: 500;
}
.da-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0d5c5;
}
.da-table tr:hover { background: #faf6f0; }

/* Tags */
.da-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.da-tag-type { background: #e8f0fe; color: #1a73e8; }
.da-tag-none { background: #f0f0f0; color: #999; }
.da-tag-general, .da-tag-\4e00\822c { background: #d4edda; color: #28a745; }
.da-tag-important, .da-tag-\91cd\8981 { background: #fff3cd; color: #856404; }
.da-tag-sensitive, .da-tag-\654f\611f { background: #f8d7da; color: #dc3545; }
.da-tag-core, .da-tag-\6838\5fc3 { background: #dc3545; color: #fff; }

/* Progress */
.da-progress {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.da-progress-bar {
    flex: 1;
    height: 8px;
    background: #e0d5c5;
    border-radius: 4px;
    overflow: hidden;
}
.da-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #c8973a, #8b2500);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s;
}

/* Compliance Dashboard */
.da-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.da-stat-card {
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.da-stat-num { font-size: 28px; font-weight: bold; }
.da-stat-label { font-size: 13px; margin-top: 4px; }
.da-stat-low { background: #d4edda; color: #28a745; }
.da-stat-mid { background: #fff3cd; color: #856404; }
.da-stat-high { background: #ffe0cc; color: #fd7e14; }
.da-stat-severe { background: #f8d7da; color: #dc3545; }

.da-compliance-item {
    background: #fff;
    border: 1px solid #e0d5c5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}
.da-compliance-item h4 { margin: 0 0 8px; color: #333; }
.da-compliance-item .risk-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}
.risk-low { background: #d4edda; color: #28a745; }
.risk-mid { background: #fff3cd; color: #856404; }
.risk-high { background: #ffe0cc; color: #fd7e14; }
.risk-severe { background: #f8d7da; color: #dc3545; }
.da-risk-detail {
    font-size: 13px;
    color: #555;
    margin: 4px 0;
    padding-left: 16px;
    border-left: 3px solid #e0d5c5;
}
.da-risk-detail strong { color: #8b2500; }

/* Valuation */
.da-val-highlight {
    background: linear-gradient(135deg, #8b2500, #c8973a);
    color: #fff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}
.da-val-num { font-size: 42px; font-weight: bold; }
.da-val-range { font-size: 14px; opacity: 0.9; margin-top: 8px; }
.da-val-method { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.da-val-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}
.da-val-item {
    background: #faf6f0;
    border-radius: 8px;
    padding: 16px;
}
.da-val-item h4 { margin: 0 0 8px; color: #333; font-size: 15px; }
.da-val-item .val-range { color: #8b2500; font-weight: bold; font-size: 16px; }
.da-val-item .val-factors { font-size: 13px; color: #666; margin-top: 4px; }
.da-val-basis {
    background: #f8f4ee;
    border-left: 4px solid #c8973a;
    padding: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}
.da-val-recs ul { padding-left: 20px; }
.da-val-recs li { margin-bottom: 6px; font-size: 14px; }

/* Reports */
.da-report-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0d5c5;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 8px;
}
.da-report-no { font-weight: bold; color: #8b2500; margin-right: 12px; }
.da-report-type {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    margin-right: 12px;
}
.da-report-date { font-size: 13px; color: #999; }
.da-report-actions { display: flex; gap: 8px; }
.da-report-frame {
    width: 100%;
    height: 80vh;
    border: 1px solid #e0d5c5;
    border-radius: 8px;
    margin-top: 12px;
}

/* Modal */
.da-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.da-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
}
.da-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.da-modal-header h3 { margin: 0; color: #333; }
.da-modal-close {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.da-form-group {
    margin-bottom: 16px;
}
.da-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}
.da-form-group input,
.da-form-group select,
.da-form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
.da-form-group textarea { resize: vertical; }
.da-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.da-form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
}
.da-form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.required { color: #dc3545; }

/* Empty / Loading */
.da-empty {
    text-align: center;
    color: #999;
    padding: 48px 20px;
    font-size: 14px;
}
.da-loading {
    text-align: center;
    color: #c8973a;
    padding: 32px;
    font-size: 14px;
}

/* Hero features */
.da-hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto 36px;
    text-align: left;
}
.da-feature-card {
    background: #faf6f0;
    border-radius: 12px;
    padding: 20px;
}
.da-feature-card h4 { color: #8b2500; margin: 0 0 8px; }
.da-feature-card p { font-size: 13px; color: #555; margin: 0; line-height: 1.6; }
.da-btn-lg { padding: 14px 40px; font-size: 16px; border-radius: 8px; }

/* Mode tabs */
.da-mode-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: #f5f0e8;
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
}
.da-mode-tab {
    padding: 10px 28px;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}
.da-mode-tab.active {
    background: #8b2500;
    color: #fff;
    font-weight: bold;
}
.da-mode-content { display: none; }
.da-mode-content.active { display: block; }

/* Quick assess */
.da-quick-intro {
    background: linear-gradient(135deg, #faf6f0, #f5ede0);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.da-quick-intro p { margin: 0 0 6px; font-size: 14px; color: #555; }
.da-privacy-note {
    background: #d4edda;
    color: #155724;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 8px;
}
.da-section-card {
    background: #fff;
    border: 1px solid #e0d5c5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.da-section-card h3 { margin: 0 0 16px; color: #8b2500; font-size: 16px; }
.da-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.da-section-header h3 { margin: 0; }

/* Quick item card */
.da-quick-item {
    background: #faf6f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid #e8e0d0;
}
.da-quick-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.da-quick-item-num {
    width: 28px;
    height: 28px;
    background: #8b2500;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Assess action */
.da-assess-action {
    text-align: center;
    padding: 24px;
}
.da-assess-hint {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* Phase status */
.da-phase-status {
    margin-bottom: 8px;
    font-size: 14px;
}
.da-phase-active {
    color: #c8973a;
    font-weight: bold;
}

/* Progress log */
.da-progress-log {
    max-height: 240px;
    overflow-y: auto;
    font-size: 13px;
    font-family: monospace;
    background: #faf6f0;
    border-radius: 8px;
    padding: 12px;
}
.da-log-item {
    padding: 3px 0;
    border-bottom: 1px solid #e8e0d0;
}

/* Result actions */
.da-result-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

/* VIP lock */
.da-vip-lock {
    text-align: center;
    padding: 60px 20px;
}
.da-vip-lock-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #c8973a, #8b2500);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}
.da-vip-lock h3 { color: #333; margin-bottom: 8px; }
.da-vip-lock p { color: #666; font-size: 14px; margin-bottom: 8px; }

/* Responsive */
@media (max-width: 600px) {
    .da-hero-features { grid-template-columns: 1fr; }
    .da-hero h1 { font-size: 22px; }
    .da-flow-intro { flex-direction: column; }
    .da-flow-arrow { transform: rotate(90deg); }
    .da-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .da-tabs { overflow-x: auto; }
    .da-tab { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
    .da-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .da-form-row { grid-template-columns: 1fr; }
    .da-table { font-size: 12px; }
    .da-table th, .da-table td { padding: 8px 6px; }
    .da-project-grid { grid-template-columns: 1fr; }
    .da-report-card { flex-direction: column; gap: 8px; align-items: flex-start; }
}
