/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 导航标签样式 */
.tab-navigation {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.tab-btn:hover {
    background-color: #f8f9fa;
}

.tab-btn.active {
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 标签内容样式 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 概览页面样式 */
/* Overview Radar Chart Styles */
.overview-radar-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.overview-radar-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}

/* Chart Container Styles */
.overview-chart-container {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-radar-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
}


.overview-bar-chart {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-bar-chart canvas {
    max-width: 100%;
    max-height: 100%;
}

.overview-radar-description {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

.overview-radar-description h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.overview-radar-description p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.chart-explanation,
.scoring-formula,
.interaction-guide {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid transparent;
}

.chart-explanation:last-child,
.scoring-formula:last-child,
.interaction-guide:last-child {
    margin-bottom: 0;
}

.chart-explanation h5,
.scoring-formula h5,
.interaction-guide h5 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.chart-explanation ul,
.interaction-guide ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.chart-explanation li,
.interaction-guide li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    color: #555;
}

.chart-explanation li::before,
.interaction-guide li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.formula-details {
    margin-bottom: 15px;
}

.formula-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.formula-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.formula-label {
    font-weight: 500;
    color: #495057;
    flex: 1;
}

.formula-value {
    font-weight: bold;
    color: #667eea;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.formula-note {
    font-style: italic;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    padding: 10px;
    background: #e9ecef;
    border-radius: 6px;
}

.overview-radar-legend {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

.overview-radar-legend h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.overview-radar-legend p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Supplier Legend Items */
.supplier-legend-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.supplier-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.supplier-legend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #667eea;
    background: #f8f9ff;
}

.supplier-legend-item.highlighted {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateX(8px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.supplier-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.supplier-legend-name {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.supplier-legend-item:hover .supplier-legend-name {
    color: #667eea;
    font-weight: 600;
}

/* Product Score Tooltip */
.product-score-tooltip {
    position: absolute;
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-score-tooltip.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.product-score-tooltip h4 {
    margin: 0 0 15px 0;
    color: #667eea;
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    animation: slideInDown 0.4s ease-out;
}

.tooltip-score-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tooltip-score-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.tooltip-supplier-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.tooltip-supplier-name {
    font-weight: 500;
    color: #333;
    min-width: 80px;
}

.tooltip-score-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.tooltip-score-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
    position: relative;
    width: 0;
    animation: fillAnimation 0.8s ease-out forwards;
}

.tooltip-score-value {
    font-weight: bold;
    color: #333;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: right;
}

.tooltip-score-rank {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

/* Tooltip Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fillAnimation {
    from {
        width: 0;
    }
    to {
        width: var(--fill-width, 0%);
    }
}

/* Pulse effect for tooltip appearance */
@keyframes tooltipPulse {
    0% {
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }
}

.product-score-tooltip.show {
    animation: tooltipPulse 0.6s ease-out;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-item span:last-child {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.overview-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.overview-card.clickable {
    cursor: pointer;
    border: 2px solid transparent;
}

.overview-card.clickable:hover {
    border-color: #667eea;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

.overview-card.clickable:active {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.overview-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.metric {
    font-size: 3rem;
    font-weight: bold;
    color: #764ba2;
    margin-bottom: 10px;
}

.overview-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-link {
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 10px;
}

.overview-card.clickable:hover .card-link {
    opacity: 1;
}

.card-link:hover {
    color: #764ba2;
}

/* Overview Sidebar Styles */
.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.overview-card-compact {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.overview-card-compact.clickable {
    cursor: pointer;
}

.overview-card-compact.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.overview-card-compact.clickable:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.overview-card-compact h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.metric-compact {
    font-size: 2rem;
    font-weight: bold;
    color: #764ba2;
    margin-bottom: 8px;
    line-height: 1;
}

.overview-card-compact p {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.overview-card-compact .card-link {
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 8px;
}

.overview-card-compact.clickable:hover .card-link {
    opacity: 1;
}

.overview-card-compact .card-link:hover {
    color: #764ba2;
}


/* 主评估表样式 */
.table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.table-container h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.assessment-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 1200px;
}

.assessment-table th,
.assessment-table td {
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #dee2e6;
    white-space: nowrap;
}

.assessment-table th {
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.assessment-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.assessment-table tbody tr:hover {
    background-color: #e3f2fd;
}

/* 评级颜色样式 */
.rating-ule { background-color: #d4edda !important; color: #155724; font-weight: bold; }
.rating-low { background-color: #d1ecf1 !important; color: #0c5460; font-weight: bold; }
.rating-mid { background-color: #fff3cd !important; color: #856404; font-weight: bold; }
.rating-high { background-color: #f8d7da !important; color: #721c24; font-weight: bold; }
.rating-tbd { background-color: #e2e3e5 !important; color: #383d41; font-weight: bold; }

/* 变化指示器样式 - 悬停工具提示 */
.cell-with-change {
    position: relative;
    display: inline-block;
    width: 100%;
}

.current-value {
    font-weight: bold;
    font-size: 0.9rem;
}

/* N/A cells styling - match product column exactly */
.current-value.no-hover {
    font-weight: normal;
    color: #333;
    font-size: 0.9rem;
}

.change-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.change-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.has-change:hover .change-tooltip {
    opacity: 1;
    visibility: visible;
}

.tooltip-from,
.tooltip-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tooltip-value {
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1.2;
}

.tooltip-year {
    font-size: 0.65rem;
    opacity: 0.8;
    margin-top: 2px;
}

.change-arrow {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 6px;
    color: #667eea;
}

/* 变化指示器箭头样式 */
.change-indicator {
    font-size: 1.2rem;
    font-weight: 900;
    margin-left: 0px;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1;
    text-shadow: 0 0 1px currentColor;
}

.improvement-arrow {
    color: #28a745;
    animation: pulse-green 2s infinite;
}

.degradation-arrow {
    color: #dc3545;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 变化单元格特殊样式 */
.has-change {
    position: relative;
}

/* 悬停效果增强 */
.has-change:hover {
    background-color: #f0f4ff !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .current-value {
        font-size: 0.8rem;
    }
    
    .change-tooltip {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .change-arrow {
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .current-value {
        font-size: 0.75rem;
    }
    
    .change-tooltip {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}

/* 总结报告样式 */
.summary-container {
    max-width: 1000px;
    margin: 0 auto;
}

.summary-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.summary-header h3 {
    font-size: 1.8rem;
    color: #333;
}

.risk-level {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.risk-level.high {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.summary-content h4 {
    color: #667eea;
    margin: 25px 0 15px 0;
    font-size: 1.3rem;
}

.summary-content h5 {
    color: #764ba2;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
}

.summary-content ol,
.summary-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.summary-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.mitigation-plan,
.conversion-plan {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.plan-section {
    margin-bottom: 20px;
}

.timeline-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

/* 技术详情样式 */
.details-container h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.detail-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
}

.detail-card h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.4rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.detail-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.detail-content ul,
.detail-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.detail-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* 供应商导航样式 */
.supplier-navigation {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.supplier-navigation h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.nav-method {
    margin-bottom: 40px;
}

.nav-method h4 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

/* 方法1: 卡片网格 */
.supplier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.supplier-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.supplier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.supplier-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #232f3e, #131a22);;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.supplier-card h5 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.risk-indicator {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.risk-indicator.high {
    background-color: #f8d7da;
    color: #721c24;
}

.risk-indicator.mid {
    background-color: #fff3cd;
    color: #856404;
}

.risk-indicator.low {
    background-color: #d1ecf1;
    color: #0c5460;
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quick-stats span {
    font-size: 0.85rem;
    color: #666;
}

/* 方法2: 列表视图 */
.supplier-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.supplier-list-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.supplier-list-item:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateX(5px);
}

.supplier-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.supplier-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.supplier-desc {
    color: #666;
    font-size: 0.9rem;
}

.supplier-metrics {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-item {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
}

.risk-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.risk-badge.high {
    background-color: #dc3545;
    color: white;
}

.risk-badge.mid {
    background-color: #ffc107;
    color: #212529;
}

.risk-badge.low {
    background-color: #17a2b8;
    color: white;
}

/* 方法3: 风险-能力矩阵 */
.risk-matrix {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.matrix-container {
    position: relative;
    display: grid;
    grid-template-areas: 
        ". . axis-x"
        "axis-y grid grid"
        "axis-y grid grid";
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.matrix-axis-y {
    grid-area: axis-y;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    padding-right: 10px;
    font-size: 0.8rem;
    color: #666;
}

.matrix-axis-x {
    grid-area: axis-x;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 10px;
    font-size: 0.8rem;
    color: #666;
}

.matrix-grid {
    grid-area: grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    background: white;
    border-radius: 8px;
    padding: 10px;
}

.matrix-cell {
    aspect-ratio: 1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.matrix-cell.low-risk.high-cap { background-color: #d4edda; }
.matrix-cell.mid-risk.high-cap { background-color: #fff3cd; }
.matrix-cell.high-risk.high-cap { background-color: #f8d7da; }
.matrix-cell.low-risk.mid-cap { background-color: #e2f3e8; }
.matrix-cell.mid-risk.mid-cap { background-color: #fef7e0; }
.matrix-cell.high-risk.mid-cap { background-color: #fce4e6; }
.matrix-cell.low-risk.low-cap { background-color: #f0f8f2; }
.matrix-cell.mid-risk.low-cap { background-color: #fefbf3; }
.matrix-cell.high-risk.low-cap { background-color: #fef2f2; }

.matrix-supplier {
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.matrix-supplier:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 供应商标签页样式 */
.supplier-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.supplier-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 80px;
}

.supplier-tab-btn:hover {
    background-color: #e9ecef;
}

.supplier-tab-btn.active {
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.supplier-summary {
    display: none;
}

.supplier-summary.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* 优势劣势样式 */
.advantages-disadvantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.advantages,
.disadvantages {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.advantages h4 {
    color: #28a745 !important;
    margin-bottom: 15px;
}

.disadvantages h4 {
    color: #dc3545 !important;
    margin-bottom: 15px;
}

.advantages ul,
.disadvantages ul {
    margin-left: 15px;
}

.advantages li,
.disadvantages li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Strengths and Weaknesses Container */
.strengths-weaknesses-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.strengths-section,
.weaknesses-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.strengths-title {
    color: #28a745 !important;
    margin-bottom: 15px !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.weaknesses-title {
    color: #dc3545 !important;
    margin-bottom: 15px !important;
    font-size: 1.3rem !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.strengths-list,
.weaknesses-list {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.strengths-list li,
.weaknesses-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.strengths-list li::before {
    content: "•";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

.weaknesses-list li::before {
    content: "•";
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* 风险等级样式扩展 */
.risk-level.mid {
    background-color: #fff3cd;
    color: #856404;
    border: 2px solid #ffc107;
}

.risk-level.low {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 2px solid #17a2b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        margin-bottom: 5px;
    }
    
    /* Overview radar chart responsive */
    .overview-radar-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-radar-chart {
        height: 350px;
    }
    
    .overview-radar-section {
        padding: 20px;
    }
    
    .overview-radar-section h2 {
        font-size: 1.5rem;
    }
    
    .overview-radar-description {
        padding: 20px;
    }
    
    .overview-radar-description h4 {
        font-size: 1.1rem;
    }
    
    
    .chart-explanation,
    .scoring-formula,
    .interaction-guide {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .chart-explanation h5,
    .scoring-formula h5,
    .interaction-guide h5 {
        font-size: 0.95rem;
    }
    
    .formula-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px;
    }
    
    .formula-label {
        font-size: 0.9rem;
    }
    
    .formula-value {
        align-self: flex-end;
        font-size: 0.85rem;
    }
    
    .overview-radar-legend {
        padding: 20px;
    }
    
    .overview-radar-legend h4 {
        font-size: 1.1rem;
    }
    
    .legend-items {
        gap: 8px;
    }
    
    .legend-item {
        padding: 6px 10px;
    }
    
    .legend-color {
        width: 16px;
        height: 16px;
    }
    
    .legend-item span:last-child {
        font-size: 0.9rem;
    }
    
    /* Overview sidebar responsive */
    .overview-sidebar {
        gap: 15px;
        padding: 0 5px;
    }
    
    .overview-card-compact {
        padding: 15px;
    }
    
    .overview-card-compact h3 {
        font-size: 1rem;
    }
    
    .metric-compact {
        font-size: 1.8rem;
    }
    
    .overview-card-compact p {
        font-size: 0.75rem;
    }
    
    .overview-card-compact .card-link {
        font-size: 0.7rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .assessment-table {
        font-size: 0.8rem;
    }
    
    .assessment-table th,
    .assessment-table td {
        padding: 8px 4px;
    }
    
    /* 图例响应式 */
    .legend-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legend-color,
    .legend-arrow {
        width: 20px;
        height: 20px;
    }
    
    .legend-item {
        padding: 6px 10px;
    }
    
    /* 供应商导航响应式 */
    .supplier-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .supplier-card {
        padding: 15px;
    }
    
    .supplier-logo {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .supplier-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .supplier-metrics {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .matrix-container {
        max-width: 300px;
    }
    
    .matrix-axis-y,
    .matrix-axis-x {
        font-size: 0.7rem;
    }
    
    .matrix-supplier {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    /* 供应商标签页响应式 */
    .supplier-tabs {
        flex-direction: column;
    }
    
    .supplier-tab-btn {
        margin-bottom: 5px;
    }
    
    /* 优势劣势响应式 */
    .advantages-disadvantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Strengths and Weaknesses responsive */
    .strengths-weaknesses-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .strengths-section,
    .weaknesses-section {
        padding: 15px;
    }
    
    .strengths-title,
    .weaknesses-title {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .table-container,
    .summary-card,
    .detail-card {
        padding: 20px;
    }
    
    .metric {
        font-size: 2.5rem;
    }
}


/* Matrix Section Styles */
.matrix-section {
    margin-bottom: 40px;
}

.matrix-section .table-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Radar Charts Section Styles */
.radar-charts-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.radar-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.radar-charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.radar-chart-card {
    background: transparent;
    border-radius: 0;
    padding: 15px;
    text-align: center;
    box-shadow: none;
    transition: none;
}

.radar-chart-card:hover {
    transform: none;
    box-shadow: none;
}

.radar-chart-card h3 {
    color: #667eea;
    margin-bottom: 5px;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border-radius: 0;
    padding: 10px;
    margin-top: -5px;
}

.chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* Combined Radar Chart Section Styles */
.combined-radar-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.combined-radar-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.combined-radar-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.combined-radar-chart {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.combined-radar-chart canvas {
    max-width: 100%;
    max-height: 100%;
}

.combined-radar-legend {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
}

.combined-radar-legend h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.combined-radar-legend p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.combined-legend-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.combined-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.combined-legend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.combined-legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.combined-legend-item span:last-child {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

/* Interactive Legend Styles for Combined Radar Chart */
.combined-legend-item {
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.combined-legend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #667eea;
    background: #f8f9ff;
}

.combined-legend-item.active {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    transform: translateX(8px);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.combined-legend-item.active::before {
    content: "▶";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    color: #2196f3;
    font-size: 0.8rem;
    font-weight: bold;
}

.combined-legend-item.active .combined-legend-name {
    color: #1976d2;
    font-weight: 600;
}

.combined-legend-name {
    transition: all 0.3s ease;
}

.combined-legend-item:hover .combined-legend-name {
    color: #667eea;
    font-weight: 600;
}

/* Interactive feedback for legend clicks */
.combined-legend-item:active {
    transform: translateX(3px) scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Disabled state for non-selected items when one is active */
.combined-legend-item.inactive {
    opacity: 0.6;
    background: #f1f3f4;
    border-color: #e0e0e0;
}

.combined-legend-item.inactive:hover {
    opacity: 0.8;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.combined-legend-item.inactive .combined-legend-name {
    color: #757575;
}

/* Responsive styles for separated sections */
@media (max-width: 768px) {
    .matrix-section {
        margin-bottom: 30px;
    }
    
    .matrix-section .table-container {
        padding: 20px;
    }
    
    .radar-charts-section {
        padding: 20px;
    }
    
    .radar-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chart-container {
        height: 250px;
    }
    
    .radar-container h2 {
        font-size: 1.5rem;
    }
    
    .radar-chart-card h3 {
        font-size: 1.1rem;
    }
    
    /* Combined radar chart responsive */
    .combined-radar-section {
        padding: 20px;
        margin-top: 30px;
        margin-bottom: 40px;
    }
    
    .combined-radar-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .combined-radar-chart {
        height: 350px;
    }
    
    .combined-radar-container h2 {
        font-size: 1.5rem;
    }
    
    .combined-radar-legend {
        padding: 20px;
    }
    
    .combined-radar-legend h4 {
        font-size: 1.1rem;
    }
    
    .combined-legend-items {
        gap: 8px;
    }
    
    .combined-legend-item {
        padding: 6px 10px;
    }
    
    .combined-legend-color {
        width: 16px;
        height: 16px;
    }
    
    .combined-legend-item span:last-child {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .matrix-section .table-container {
        padding: 15px;
    }
    
    .radar-charts-section {
        padding: 15px;
    }
    
    .chart-container {
        height: 200px;
    }
    
    .radar-chart-card {
        padding: 15px;
    }
    
    .combined-radar-section {
        padding: 15px;
    }
    
    .combined-radar-chart {
        height: 250px;
    }
    
    .combined-radar-legend {
        padding: 15px;
    }
}

/* Technical Details Hierarchical Structure Styles */

/* Domain Header Styles */
.domain-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.domain-header h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.audit-date,
.audit-focus {
    background: #f8f9fa;
    padding: 5px 12px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

/* Supplier Assessment Styles */
.supplier-assessment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.assessment-header h4 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.assessment-date {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.assessment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.region-info,
.evaluator-info {
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #495057;
}

/* Score Badge Styles */
.score-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.85rem;
}

.score-badge.score-low {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.score-badge.score-medium {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.score-badge.score-good {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Section Title Styles */
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.section-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.section-title strong {
    font-size: 1.1rem;
    font-weight: 600;
}

.strengths-title {
    color: #28a745 !important;
}

.weaknesses-title {
    color: #dc3545 !important;
}

.capabilities-title {
    color: #17a2b8 !important;
}

.gaps-title {
    color: #fd7e14 !important;
}

.risks-title {
    color: #dc3545 !important;
}

.issues-title {
    color: #ffc107 !important;
}

.general-title {
    color: #6f42c1 !important;
}

.remark-title {
    color: #20c997 !important;
}

.summary-title {
    color: #495057 !important;
}

.definition-title {
    color: #6c757d !important;
}

.platform-title {
    color: #007bff !important;
}

.critical-gaps-title {
    color: #dc3545 !important;
}

.limitations-title {
    color: #fd7e14 !important;
}

.impact-title {
    color: #28a745 !important;
}

/* Assessment Section Styles */
.assessment-section {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #e9ecef;
}

.assessment-section:last-child {
    margin-bottom: 0;
}

/* Assessment List Styles */
.assessment-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.assessment-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.strengths-list li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.weaknesses-list li::before,
.gaps-list li::before,
.limitations-list li::before {
    content: "⚠";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.capabilities-list li::before {
    content: "●";
    color: #17a2b8;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.risks-list li::before,
.critical-gaps-list li::before {
    content: "🚨";
    position: absolute;
    left: 0;
    top: 0;
}

.issues-list li::before {
    content: "⚠";
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.general-list li::before {
    content: "•";
    color: #6f42c1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.impact-list li::before {
    content: "📈";
    position: absolute;
    left: 0;
    top: 0;
}

/* General Assessment Styles */
.general-assessment {
    margin-bottom: 25px;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
}

/* Remark Section Styles */
.remark-section {
    margin-top: 25px;
    padding: 15px;
    background: #e8f5e8;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.remark-text {
    margin: 0;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
}

/* Risk Badge Styles for Overview Page */
.risk-badge {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.risk-badge.high {
    background-color: #dc3545;
    color: white;
}

.risk-badge.mid {
    background-color: #ffc107;
    color: #212529;
}

.risk-badge.low {
    background-color: #17a2b8;
    color: white;
}

/* Technical Risk Badge Styles for Technical Details Page */
.tech-risk-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 10px;
}

.tech-risk-badge.very-high {
    background: #dc3545;
    color: white;
}

.tech-risk-badge.high {
    background: #fd7e14;
    color: white;
}

.tech-risk-badge.medium {
    background: #ffc107;
    color: #212529;
}

.tech-risk-badge.low {
    background: #28a745;
    color: white;
}

/* Overall Risk Badge */
.overall-risk-badge {
    background: #6f42c1;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
}

.overall-risk-badge.medium-high {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: #212529;
}

/* Validation Category Styles */
.validation-category {
    margin-bottom: 25px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 600;
}

.category-header.medium-risk {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.category-header.high-risk {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.category-header.low-risk {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.category-header.general {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
    color: #383d41;
}

.category-content {
    padding: 20px;
}

/* Sub-section Styles */
.sub-section {
    margin-bottom: 15px;
}

.sub-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.sub-icon {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.sub-content {
    margin: 0;
    padding-left: 24px;
    color: #666;
    line-height: 1.5;
}

/* High Risk List Styles */
.high-risk-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
}

.low-risk-list li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
}

/* Scores Summary Styles */
.scores-summary {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.scores-table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.scores-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    text-align: left;
}

.scores-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.scores-table tbody tr:hover {
    background: #f8f9fa;
}

.score-value {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
}

.score-value.good {
    background: #d4edda;
    color: #155724;
}

.score-value.medium {
    background: #fff3cd;
    color: #856404;
}

.engagement-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.engagement-badge.low {
    background: #d4edda;
    color: #155724;
}

.engagement-badge.medium {
    background: #fff3cd;
    color: #856404;
}

/* Score Definition Styles */
.score-definition {
    margin-top: 25px;
    padding: 20px;
    background: #e9ecef;
    border-radius: 10px;
}

.definition-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.definition-list li {
    margin-bottom: 8px;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-range {
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.85rem;
    min-width: 80px;
    text-align: center;
}

.score-range.ule {
    background: #d4edda;
    color: #155724;
}

.score-range.le {
    background: #d1ecf1;
    color: #0c5460;
}

.score-range.me {
    background: #fff3cd;
    color: #856404;
}

.score-range.he {
    background: #f8d7da;
    color: #721c24;
}

.score-range.disqualified {
    background: #343a40;
    color: white;
}

/* Platform Section Styles */
.platform-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    border-left: 3px solid #2196f3;
}

.platform-details {
    margin-top: 10px;
}

.platform-item {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
    gap: 10px;
}

.platform-label {
    font-weight: 600;
    color: #495057;
    min-width: 120px;
    flex-shrink: 0;
}

.platform-value {
    color: #666;
    line-height: 1.5;
}

/* Responsive Design for Technical Details */
@media (max-width: 768px) {
    .domain-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .assessment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .assessment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .supplier-assessment {
        padding: 15px;
    }
    
    .assessment-section {
        padding: 12px;
    }
    
    .section-title strong {
        font-size: 1rem;
    }
    
    .validation-category {
        margin-bottom: 20px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .category-content {
        padding: 15px;
    }
    
    .scores-table th,
    .scores-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .platform-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .platform-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .domain-header h3 {
        font-size: 1.3rem;
    }
    
    .assessment-header h4 {
        font-size: 1.1rem;
    }
    
    .supplier-assessment {
        padding: 12px;
    }
    
    .assessment-section {
        padding: 10px;
    }
    
    .section-title {
        gap: 6px;
    }
    
    .section-icon {
        font-size: 1rem;
        width: 18px;
    }
    
    .scores-table th,
    .scores-table td {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .score-value,
    .engagement-badge {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #232f3e, #131a22);;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.back-to-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.back-to-top-icon {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 0.75;
    text-shadow: 0 0 2px currentColor;
}

/* Responsive Back to Top Button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top-icon {
        font-size: 1.2rem;
    }
}

/* Product-Specific Radar Chart Section Styles */
.product-specific-radar-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-specific-radar-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.product-selector-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.section-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    padding: 0 10px;
    font-style: italic;
}

.selector-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.product-selector-label {
    font-weight: 600;
    color: #667eea;
    font-size: 1.1rem;
    white-space: nowrap;
}

.product-selector {
    padding: 10px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.product-selector:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.product-selector:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.product-radar-container {
    margin-top: 20px;
}

.product-radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-radar-chart-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.product-radar-chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.product-radar-chart-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.product-chart-container canvas {
    max-width: 100%;
    max-height: 100%;
}

/* No data message styling */
.no-data-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-data-message .no-data-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 10px;
}

.no-data-message .no-data-text {
    font-size: 1rem;
    color: #6c757d;
}

/* Responsive styles for product-specific radar section */
@media (max-width: 768px) {
    .product-specific-radar-section {
        padding: 20px;
    }
    
    .product-specific-radar-section h2 {
        font-size: 1.5rem;
    }
    
    .product-selector-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .product-selector {
        min-width: 250px;
    }
    
    .product-radar-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-radar-chart-card {
        padding: 15px;
    }
    
    .product-radar-chart-card h3 {
        font-size: 1.1rem;
        height: 40px;
    }
    
    .product-chart-container {
        height: 250px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .product-specific-radar-section {
        padding: 15px;
    }
    
    .product-selector-container {
        padding: 10px;
    }
    
    .product-selector {
        min-width: 200px;
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .product-radar-chart-card {
        padding: 12px;
    }
    
    .product-radar-chart-card h3 {
        font-size: 1rem;
        height: 35px;
    }
    
    .product-chart-container {
        height: 200px;
        padding: 8px;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
    }
    
    .tab-navigation {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        page-break-after: always;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .assessment-table {
        font-size: 0.7rem;
    }
    
    
    .radar-chart-card {
        page-break-inside: avoid;
    }
    
    .supplier-assessment {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .validation-category {
        page-break-inside: avoid;
    }
    
    /* Product-specific radar section print styles */
    .product-specific-radar-section {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .product-radar-chart-card {
        page-break-inside: avoid;
    }
    
    /* Hide back to top button when printing */
    .back-to-top {
        display: none !important;
    }
}
