/* 全局样式 */
* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(160deg, #0f0c29 0%, #1a1a3e 30%, #24243e 60%, #1a1a3e 100%);
    min-height: 100vh;
    padding: 24px;
}

.container {
    max-width: 1400px;
    margin:0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2b55 40%, #3d3b6e 100%);
    color: white;
    padding: 36px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(102,126,234,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118,75,162,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.header h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 18px;
    opacity: 0.85;
    position: relative;
    z-index: 1;
}

/* 标签导航 */
.tab-navigation {
    display: flex;
    background: #fafbfd;
    border-bottom: 1px solid #e8ecf3;
    padding: 12px 32px;
    gap: 12px;
}

.tab-btn {
    flex:1;
    padding: 14px 20px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    letter-spacing: 0.3px;
}

.tab-btn:hover {
    background: #e8edf5;
    border-color: #c5cae9;
    color: #3949ab;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(57,73,171,0.12);
}

.tab-btn.active {
    background: linear-gradient(135deg, #3d3b6e 0%, #5b58a0 100%);
    color: #fff;
    border-color: #4a4790;
    box-shadow: 0 6px 20px rgba(61,59,110,0.35);
    transform: translateY(-1px);
}

/* ==================== 申报类型切换 — 卡片Pill按钮 ==================== */
.mode-switch-wrap {
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 20px;
    background: #f0fdf4;
    box-shadow: 0 2px 12px rgba(16,185,129,0.10);
}

.mode-switch-row {
    display: flex;
    gap: 16px;
}

.mode-pill {
    flex: 1;
    padding: 18px 24px;
    background: #fff;
    border: 2px solid #e8ecf1;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    letter-spacing: 0.5px;
}

.mode-pill:hover {
    border-color: #10b981;
    color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 4px 14px rgba(16,185,129,0.12);
    transform: translateY(-1px);
}

.mode-pill.active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-color: #059669;
    color: #fff;
    box-shadow: 0 6px 20px rgba(5,150,105,0.3);
    transform: translateY(-1px);
}

.mode-pill.active:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(5,150,105,0.35);
}

.mode-pill .pill-icon {
    font-size: 20px;
    line-height: 1;
}

.mode-pill .pill-label {
    font-size: 15px;
    font-weight: 600;
}

.mode-pill .pill-tag {
    position: absolute;
    top: -8px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
    display: none;
}

.mode-pill.active .pill-tag {
    display: none;
}

/* 硬性准入门槛展示 */
.threshold-info {
    background: #fffcf0;
    border: 1px solid #f0e4c0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.threshold-info h3 {
    color: #b45309;
    font-size: 15px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.threshold-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.threshold-card {
    background: white;
    border-radius: 6px;
    padding: 10px 14px;
    border-left: 3px solid #f57f17;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    font-size: 13px;
}

.threshold-card .threshold-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.threshold-card .threshold-req {
    color: #e65100;
    font-size: 12px;
    margin-bottom: 3px;
}

.threshold-card .threshold-material {
    color: #666;
    font-size: 11px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .threshold-grid {
        grid-template-columns: 1fr;
    }
    
    .threshold-card {
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* 系统信息区域 */
.system-info {
    background: linear-gradient(135deg, #4a3fcf 0%, #6366f1 35%, #8b5cf6 100%);
    color: white;
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}

.system-info::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.system-info h2 {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(255,255,255,0.5), 0 0 8px rgba(255,255,255,0.3);
}

.system-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.meta-item {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-weight: 600;
}

/* 主要内容区域 */
.main-content {
    display: flex;
    min-height: 800px;
}

/* 输入区域 */
.input-section {
    flex:1;
    padding: 32px;
    background: #fafbfd;
    border-right: 1px solid #eef1f6;
    overflow-y: auto;
    max-height: 90vh;
}

.input-section h2 {
    color: #3d3b6e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
    font-size: 20px;
}

.section {
    background: white;
    padding: 24px;
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef1f6;
    transition: box-shadow 0.3s ease;
}

.section:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.section h3 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.2px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.25s ease;
    background: #fafcfd;
    color: #334155;
}

.form-group input:hover,
.form-group select:hover {
    border-color: #c5cae9;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5b58a0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91,88,160,0.1), 0 2px 8px rgba(0,0,0,0.04);
}

.hint {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 5px;
}

/* ========== 硬性申报门槛 - 全新卡片式设计 ========== */
.threshold-section {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #e8ecf3;
}

.threshold-section > h3 {
    margin: 0;
    padding: 20px 28px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2b55 40%, #3d3b6e 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
    transition: background 0.4s ease, color 0.4s ease;
}

.threshold-section.mode-review > h3 {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 100%);
}

.threshold-section .section-desc {
    margin: 0;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f0f4ff, #e8ecf8);
    color: #3949ab;
    font-size: 13px;
    border-bottom: 1px solid #dde2f0;
    transition: background 0.4s ease, color 0.4s ease;
}

.threshold-section.mode-review .section-desc {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d47a1;
}

.threshold-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.threshold-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    background: #fafbfd;
    border-radius: 12px;
    border: 1px solid #e8ecf3;
    border-left: 4px solid #cbd5e1;
    transition: all 0.3s ease;
    position: relative;
    margin: 6px 16px;
}

.threshold-card-item:first-child {
    margin-top: 16px;
}

.threshold-card-item:last-child {
    margin-bottom: 16px;
}

.threshold-card-item:hover {
    background: #f4f6fb;
    border-color: #c5cae9;
    border-left-color: #667eea;
    box-shadow: 0 2px 12px rgba(102,126,234,0.1);
    transform: translateX(2px);
}

.threshold-card-item.pass-border {
    border-left-color: #10b981;
    background: #f8fdfb;
}

.threshold-card-item.fail-border {
    border-left-color: #ef4444;
    background: #fefafa;
}

/* 序号徽章 */
.th-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    box-shadow: 0 2px 6px rgba(102,126,234,0.25);
}

/* 内容区 */
.th-body {
    flex: 1;
    min-width: 0;
}

.th-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 6px;
}

.th-hint {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 2px;
}

.th-label .required {
    color: #ef4444;
    margin-left: 2px;
}

/* 控件行：标签 + 下拉框 横排 */
.th-control-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 8px;
}

.th-control-row select {
    flex: 1;
    min-width: 0;
    padding: 9px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    appearance: auto;
}

.th-control-row select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.12);
}

/* 状态显示行 */
.th-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* 实际值显示 */
.th-actual {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    letter-spacing: 0.3px;
}
.th-actual.has-value {
    background: #f0fdf4;
    color: #059669;
    border-color: #a7f3d0;
}
.th-actual.no-data {
    background: #f8fafc;
    color: #94a3b8;
    border-color: #e2e8f0;
}

/* 状态指示器（右侧） */
.th-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.th-status.pass {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.th-status.fail {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.th-status.pending {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

/* 警告/提示信息条 */
.th-msg {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    animation: thSlideIn 0.3s ease-out;
}

.th-msg.warn {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left: 3px solid #ef4444;
    color: #b91c1c;
}

.th-msg.ok {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 3px solid #10b981;
    color: #047857;
}

.th-msg.info {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    color: #1d4ed8;
}

@keyframes thSlideIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 无下拉框的门槛项（纯展示/自动检测） */
.threshold-card-item.auto-detect .th-label {
    margin-bottom: 0;
}

.threshold-card-item.auto-detect .th-hint {
    margin-top: 4px;
    font-size: 11px;
    color: #9ca3af;
}

/* 复选框组 */
.checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: background 0.3s;
}

.checkbox-group label:hover {
    background: #e9ecef;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 按钮样式 */
.btn-evaluate {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3d3b6e 0%, #5b58a0 50%, #7c6fcf 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(61,59,110,0.3);
}

.btn-evaluate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(61,59,110,0.45);
}

.btn-evaluate:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(61,59,110,0.3);
}

.btn-reset {
    width: 100%;
    padding: 13px;
    background: #f1f5f9;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-reset:hover {
    background: #e2e8f0;
    color: #475569;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* 结果区域 */
.result-section {
    flex:1.5;
    padding: 32px;
    overflow-y: auto;
    max-height: 90vh;
    background: #ffffff;
}

.result-section h2 {
    color: #3d3b6e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
    font-size: 20px;
}

/* 结果概览 */
.result-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 28px;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2b55 40%, #3d3b6e 100%);
    border-radius: 18px;
    color: white;
    box-shadow: 0 12px 32px rgba(26,26,62,0.3);
    position: relative;
    overflow: hidden;
}

.result-summary::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(124,111,207,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 40px rgba(102,126,234,0.2);
    flex-shrink: 0;
}

.score-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

.grade-determination {
    flex:1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grade-determination h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.grade-result {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grade-item {
    padding: 10px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.grade-pass {
    background: rgba(76, 175, 80, 0.3);
    border-left: 4px solid #4CAF50;
}

.grade-fail {
    background: rgba(244, 67, 54, 0.3);
    border-left: 4px solid #f44336;
}

/* 硬性门槛核验 */
.threshold-check {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef1f6;
    margin-bottom: 30px;
}

.threshold-check h3 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

.threshold-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.threshold-item {
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.threshold-pass {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.threshold-fail {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

/* 详细评分卡片 */
.detail-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef1f6;
    border-left: 4px solid #5b58a0;
    transition: box-shadow 0.3s;
}

.detail-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.detail-card h3 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

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

.score-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
}

.score-item-label {
    flex:1;
    color: #475569;
    font-weight: 500;
}

.score-item-value {
    font-weight: 700;
    color: #5b58a0;
}

.score-item-reason {
    flex:1;
    color: #999;
    font-size: 12px;
    margin-left: 10px;
}

/* 材料清单 */
.material-checklist {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef1f6;
    margin-bottom: 30px;
}

.material-checklist h3 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

.material-category {
    margin-bottom: 20px;
}

.material-category h4 {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.material-required h4 {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.material-optional h4 {
    background: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.material-list {
    list-style: none;
    padding-left: 20px;
}

.material-list li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
}

.material-list li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    margin-right: 8px;
}

/* 提分方案 */
.improvement-plan {
    background: white;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid #eef1f6;
}

.improvement-plan h3 {
    color: #1e293b;
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 700;
}

.plan-section {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    border: 1px solid #eef1f6;
    border-left-width: 4px;
}

.plan-section h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
}

.plan-content {
    color: #555;
    line-height: 1.6;
}

/* 财务数据模块 */
.section-desc {
    font-size: 13px;
    color: #667eea;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: #f0f4ff;
    border-radius: 4px;
}

.finance-table-wrapper {
    margin-bottom: 10px;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.finance-table th,
.finance-table td {
    border: 1px solid #e0e0e0;
    padding: 8px 6px;
    text-align: center;
}

.finance-table th {
    background: linear-gradient(135deg, #1a1a3e 0%, #3d3b6e 100%);
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.finance-table .row-label {
    background: #f5f7fa;
    font-weight: 500;
    color: #555;
    text-align: left !important;
    width: 140px;
    white-space: nowrap;
}

.finance-table .row-label small {
    color: #999;
    font-weight: normal;
    font-size: 11px;
}

.finance-table input {
    width: 90%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    transition: border-color 0.3s;
}

.finance-table input:focus {
    outline: none;
    border-color: #5b58a0;
    box-shadow: 0 0 0 3px rgba(91,88,160,0.1);
}

.table-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 12px;
}

.btn-calc {
    padding: 10px 24px;
    background: linear-gradient(135deg, #3d3b6e 0%, #5b58a0 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(61,59,110,0.25);
}

.btn-calc:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61,59,110,0.4);
}

.btn-clear-finance {
    padding: 10px 24px;
    background: #f1f5f9;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-finance:hover {
    background: #e2e8f0;
    color: #475569;
}

/* 自动计算结果展示 */
.calc-result {
    margin-top: 18px;
    padding: 20px;
    background: #fafbfd;
    border: 1px solid #dde2f0;
    border-radius: 12px;
}

.calc-result h4 {
    color: #1e293b;
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 700;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calc-item {
    background: white;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.calc-item.highlight {
    border-left-color: #ff9800;
    background: #fffdf7;
}

.calc-formula {
    font-size: 11px;
    color: #777;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-all;
}

.calc-value {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.score-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 13px;
    margin-left: 6px;
}

.status-badge {
    display: inline-block;
    padding: 2px 10px;
    background: #28a745;
    color: white;
    border-radius: 12px;
    font-size: 13px;
    margin-left: 6px;
}

.status-badge.fail {
    background: #dc3545;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .finance-table {
        font-size: 12px;
    }
    
    .finance-table .row-label {
        width: 110px;
        font-size: 12px;
    }
    
    .finance-table input {
        width: 80%;
        padding: 4px;
        font-size: 11px;
    }
}

/* 自动计算结果展示样式 */
.auto-calc-result {
    background: #f8f9ff;
    border: 1px solid #c3cde6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.auto-calc-result h4 {
    color: #1976d2;
    margin-bottom: 10px;
    font-size: 14px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 13px;
}

.result-table th,
.result-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.result-table th {
    background: #e3f2fd;
    font-weight: bold;
    color: #1565c0;
}

.result-table td {
    background: white;
}

.calc-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.calc-btn:hover {
    background: #1565c0;
}

.score-result {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    color: #2e7d32;
}

/* ---- 以下 .section-desc 已在上方统一定义（第765-772行），此处移除重复定义 ---- */

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    
    .input-section {
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
        max-height: none;
    }
    
    .result-section {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 24px;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .result-summary {
        flex-direction: column;
        align-items: center;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 36px;
    }
}

/* 测试数据按钮样式 */
.btn-test {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    padding: 11px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 10px rgba(5,150,105,0.3);
}

.btn-test:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,150,105,0.4);
}

.btn-clear {
    background: #f1f5f9;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    padding: 11px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-clear:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
    transform: translateY(-1px);
}

/* 消息提示动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ========== 详细得分明细样式（新增） ========== */

/* 维度总览条 */
.dim-summary {
    margin-bottom: 16px;
}

.dim-score-bar {
    position: relative;
    height: 40px;
    background: #e8ecef;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.dim-score-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.6s ease-out;
    min-width: 2px;
}

.dim-score-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 800;
    color: #333;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

/* 单科红线标签 */
.red-line-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.red-line-tag.pass {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.red-line-tag.fail {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* 维度详情文字 */
.dim-detail {
    font-size: 13px;
    color: #555;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

/* 子项明细表格 */
.subitem-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 4px;
}

.subitem-table th {
    background: #f0f4ff;
    padding: 9px 11px;
    text-align: left;
    font-weight: 600;
    color: #3949ab;
    border-bottom: 2px solid #c5cae9;
    font-size: 12px;
}

.subitem-table td {
    padding: 9px 11px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.subitem-name {
    font-weight: 600;
    color: #333;
}

.subitem-value {
    color: #1976d2;
    font-weight: 500;
    font-family: 'Consolas', monospace;
}

.subitem-rule {
    color: #888;
    font-size: 12px;
}

.subitem-score {
    font-weight: 700;
    font-size: 14px;
}

.subitem-score.score-full { color: #2e7d32; }
.subitem-score.score-partial { color: #e65100; }
.subitem-score.score-zero { color: #c62828; }

.subitem-status {
    font-size: 15px;
}

/* 行状态色 */
.subitem-row-full td { background: #f1f8e9; }
.subitem-row-partial td { background: #fff8e1; }
.subitem-row-zero td { background: #fbe9e7; }

/* 建议行 */
.suggestion-row td {
    background: #fffde7 !important;
    border-bottom: 2px dashed #ffc107;
}

.suggestion-cell {
    padding: 10px 14px !important;
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

/* 维度级建议框 */
.dim-suggestion-box {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-left: 4px solid #ff9800;
    font-size: 13px;
    color: #e65100;
    line-height: 1.7;
}

/* 缺失材料清单 */
.material-item {
    padding: 12px 14px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #ff9800;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.material-item b {
    color: #e65100;
    font-size: 13px;
}

.material-item p {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.all-pass-msg {
    text-align: center;
    padding: 24px;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

/* 提分方案 */
.plan-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.plan-stat {
    flex: 1;
    min-width: 100px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #333;
}

.stat-value.fail {
    color: #c62828;
}

.stat-value.warn {
    color: #e65100;
}

/* 建议表格 */
.suggestion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.suggestion-table th {
    background: #3949ab;
    color: white;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
}

.suggestion-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.suggest-text {
    font-size: 12px;
    color: #444;
    line-height: 1.65;
}

.gain-points {
    font-weight: 700;
    color: #2e7d32;
    text-align: center;
    font-size: 14px;
}

.priority-high {
    background: #ffebee;
    color: #c62828;
    font-weight: 800;
    text-align: center;
    width: 36px;
    border-radius: 50%;
}

.priority-mid {
    background: #fff8e1;
    color: #f57f17;
    font-weight: 700;
    text-align: center;
    width: 36px;
    border-radius: 50%;
}

.priority-low {
    background: #f5f5f5;
    color: #666;
    font-weight: 600;
    text-align: center;
    width: 36px;
    border-radius: 50%;
}

/* ========== 网站底部版权 ========== */
.site-footer {
    display: none;
}

/* 顶部居中版权 */
.header-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.site-footer a {
    color: #667eea;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}
