/* ===================================
   Header Navigation & Actions
   =================================== */
.dashboard-header .header-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-header .btn-settings {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-header .btn-settings:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* ===================================
   Executive Summary Styles
   =================================== */
.executive-summary {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.exec-charts-primary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.exec-chart-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
}

.exec-chart-card .chart-body {
    min-height: 260px;
}

.exec-insights-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* exec-overview is just a container - the visual styling is on exec-intro-brief */
.exec-overview {
    /* No background - this is just a semantic wrapper */
}

.exec-overview h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.exec-intro {
    margin-bottom: 2rem;
}

.exec-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.exec-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.exec-key-findings h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.finding-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.finding-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.finding-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.finding-icon.success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-low);
}

.finding-icon.warning {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-critical);
}

.finding-icon.info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-primary);
}

.finding-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.finding-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Risk Summary Section */
.exec-risk-summary {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-risk-summary h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.risk-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.risk-summary-chart {
    max-width: 400px;
    margin: 0 auto;
}

.risk-summary-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.risk-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.risk-stat-item.critical {
    border-left-color: var(--color-critical);
}

.risk-stat-item.high {
    border-left-color: var(--color-high);
}

.risk-stat-item.medium {
    border-left-color: var(--color-medium);
}

.risk-stat-item.low {
    border-left-color: var(--color-low);
}

.risk-stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.risk-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.risk-stat-item.critical .risk-stat-value { color: var(--color-critical); }
.risk-stat-item.high .risk-stat-value { color: var(--color-high); }
.risk-stat-item.medium .risk-stat-value { color: var(--color-medium); }
.risk-stat-item.low .risk-stat-value { color: var(--color-low); }

/* Top/Bottom Performers */
.exec-top-performers {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-top-performers h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.performers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.performers-column {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.performers-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.performers-title.success {
    color: var(--color-low);
    border-bottom-color: var(--color-low);
}

.performers-title.warning {
    color: var(--color-critical);
    border-bottom-color: var(--color-critical);
}

.performers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
}

.performer-item:hover {
    transform: translateX(4px);
    background: var(--bg-card-hover);
}

.performer-info {
    flex: 1;
}

.performer-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.performer-industry {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.performer-score {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 1rem;
}

/* Domain Insights */
.exec-domain-insights {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-domain-insights h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.domain-insights-grid {
    display: grid;
    gap: 1.5rem;
}

.domain-insight-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.domain-insight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.domain-insight-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.domain-insight-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.domain-insight-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.domain-insight-issues {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.insight-tag {
    padding: 0.375rem 0.75rem;
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-critical);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Recommendations */
.exec-recommendations {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-recommendations h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.recommendations-grid {
    display: grid;
    gap: 1.25rem;
}

.recommendation-card {
    background: var(--bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.recommendation-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.recommendation-header {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recommendation-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.recommendation-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.recommendation-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.recommendation-impact {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-low);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Actions Timeline */
.exec-actions {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-actions h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.actions-timeline {
    display: grid;
    gap: 1.5rem;
}

.critical-companies-grid,
.top-performers-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.action-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid;
}

.action-item.immediate {
    border-left-color: var(--color-critical);
}

.action-item.short-term {
    border-left-color: var(--color-high);
}

.action-item.medium-term {
    border-left-color: var(--color-medium);
}

.action-timeline-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-timeframe {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.action-item.immediate .action-timeframe { color: var(--color-critical); }
.action-item.short-term .action-timeframe { color: var(--color-high); }
.action-item.medium-term .action-timeframe { color: var(--color-medium); }

.action-days {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.action-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.action-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.action-companies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-company-tag {
    padding: 0.25rem 0.625rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===================================
   Settings Modal Styles
   =================================== */
.settings-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--border-radius);
}

.weights-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.weight-control {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.weight-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weight-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.weight-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.weight-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    outline: none;
    transition: var(--transition);
}

.weight-slider:hover {
    background: var(--bg-card-hover);
}

.weight-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.weight-slider::-webkit-slider-thumb:hover {
    background: var(--color-primary-light);
    transform: scale(1.1);
}

.weight-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.weight-slider::-moz-range-thumb:hover {
    background: var(--color-primary-light);
    transform: scale(1.1);
}

.weight-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.weight-total .weight-value {
    font-size: 1.5rem;
}

.weight-total .weight-value.invalid {
    color: var(--color-critical);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-primary);
}

/* ===================================
   Responsive Design for New Sections
   =================================== */
@media (max-width: 1200px) {
    .risk-summary-grid,
    .performers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .executive-summary {
        padding: 1.5rem;
    }

    .header-navigation {
        flex-direction: column;
    }

    .nav-tab {
        text-align: center;
    }

    .performers-grid {
        grid-template-columns: 1fr;
    }

    .action-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ========================================
   Chart Descriptions
   ======================================== */

.chart-description {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin: 1rem 0 1.5rem 0;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.chart-description strong {
    color: var(--color-primary);
    font-weight: 600;
}

.chart-description-small {
    background: rgba(59, 130, 246, 0.05);
    border-left: 2px solid var(--color-primary);
    padding: 0.75rem 1rem;
    margin: 0.5rem 0 1rem 0;
    border-radius: 4px;
    color: var(--text-tertiary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.chart-description-small strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   Risk Impact Analysis Section
   ======================================== */

.exec-risk-impact {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

.exec-risk-impact h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.risk-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.impact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.impact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon.critical {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-critical);
}

.card-icon.high {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-high);
}

.card-icon.medium {
    background: rgba(234, 179, 8, 0.15);
    color: var(--color-medium);
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.impact-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.metric-value.critical { color: var(--color-critical); }
.metric-value.high { color: var(--color-high); }
.metric-value.medium { color: var(--color-medium); }
.metric-value.low { color: var(--color-low); }
.metric-value.primary { color: var(--color-primary); }

.metric-sublabel {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.metric-sublabel strong {
    color: var(--text-primary);
    font-weight: 600;
}

.impact-details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem;
    background: var(--bg-card);
    border-radius: 6px;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-value.critical { color: var(--color-critical); }
.detail-value.high { color: var(--color-high); }
.detail-value.medium { color: var(--color-medium); }
.detail-value.success { color: var(--color-low); }

.impact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impact-list-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.impact-list-item::before {
    content: "→";
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.warning-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.warning-banner svg {
    color: var(--color-critical);
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.warning-text strong {
    color: var(--color-critical);
    font-weight: 600;
}

.success-banner {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.success-banner svg {
    color: var(--color-low);
    flex-shrink: 0;
    margin-top: 2px;
}

.success-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.success-text strong {
    color: var(--color-low);
    font-weight: 600;
}

/* Responsive adjustments for risk impact section */
@media (max-width: 1200px) {
    .risk-impact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   CHART SUPPORTING INFORMATION
   ======================================== */

.chart-support-section {
    margin-top: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.chart-support-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.support-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.support-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.support-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-icon.critical {
    background: rgba(239, 68, 68, 0.1);
}

.support-icon.high {
    background: rgba(249, 115, 22, 0.1);
}

.support-icon.medium {
    background: rgba(234, 179, 8, 0.1);
}

.support-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.support-metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.metric-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.support-detail {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.support-detail.status-critical {
    color: var(--color-critical);
    font-weight: 600;
}

.support-detail.status-success {
    color: var(--color-low);
    font-weight: 600;
}

@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .chart-support-section {
        padding: 1.5rem;
    }
}

/* ===================================
   NEW EXECUTIVE SUMMARY LAYOUT
   Chart-Heavy, Big Picture Focus
   =================================== */

/* Brief Introduction */
.exec-intro-brief {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.exec-text-brief {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.exec-text-brief strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Primary Charts Grid */
.exec-charts-primary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 1400px) {
    .exec-charts-primary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .exec-charts-primary {
        grid-template-columns: 1fr;
    }
}

.exec-chart-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.exec-chart-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.chart-header {
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin: 0;
}

.chart-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 1rem 0;
}

.chart-insight {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.chart-insight strong {
    color: var(--text-primary);
}

.chart-insight.critical {
    color: var(--color-critical);
}

.chart-insight.warning {
    color: var(--color-high);
}

.chart-insight.success {
    color: var(--color-low);
}

/* Critical Companies Section */
.exec-critical-companies {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--color-critical);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header-exec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-exec h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.critical-count-badge {
    background: var(--color-critical);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    min-width: 50px;
    text-align: center;
}

.critical-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.critical-company-card {
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--color-critical);
    transition: all 0.3s ease;
}

.critical-company-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.critical-company-card.high {
    border-left-color: var(--color-high);
}

.critical-company-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.critical-company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.critical-company-industry {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.critical-score-badge {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-critical);
}

.critical-issues {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.critical-issue-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.critical-issue-item::before {
    content: '⚠';
    color: var(--color-high);
}

.critical-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-critical-report {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-critical-report:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Insights & Actions Section */
.exec-insights-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.insights-column,
.actions-column {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.insights-column h3,
.actions-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.insights-list,
.actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insights-list li,
.actions-list li {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 1.75rem;
    position: relative;
}

.insights-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.actions-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-high);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 0.8;
}

.insights-list li strong,
.actions-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Top Performers Compact */
.exec-top-performers-compact {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.exec-top-performers-compact h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-performers-compact-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-performer-chip {
    background: var(--bg-tertiary);
    border: 1px solid var(--color-low);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.top-performer-chip:hover {
    background: rgba(34, 197, 94, 0.1);
    transform: scale(1.05);
}

.top-performer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.top-performer-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-low);
}

/* Responsive Design for New Executive Layout */
@media (max-width: 1200px) {
    .exec-charts-primary {
        grid-template-columns: 1fr;
    }

    .exec-insights-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .executive-summary {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }

    .exec-intro-brief {
        padding: 1rem 1.5rem;
    }

    .exec-text-brief {
        font-size: 0.95rem;
    }

    .exec-chart-card {
        padding: 1.5rem;
    }

    .chart-body {
        min-height: 250px;
    }

    .exec-critical-companies {
        padding: 1.5rem;
    }

    .critical-companies-grid {
        grid-template-columns: 1fr;
    }

    .section-header-exec {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .top-performers-compact-grid {
        flex-direction: column;
    }
}

/* ===================================
   Performer Cards Compact (CIS Dashboard)
   =================================== */
.performer-card-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.performer-card-compact:hover {
    background: var(--bg-card-hover);
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.performer-rank {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-tertiary);
    min-width: 35px;
}

.performer-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.performer-score {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 50px;
    text-align: right;
}

.performer-level {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-tertiary);
    min-width: 80px;
    text-align: right;
}

/* Critical Company Card Details */
.critical-company-card {
    cursor: pointer;
}

.critical-company-header .company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.critical-company-header .company-score {
    font-size: 1.25rem;
    font-weight: 700;
}

.critical-company-header .company-score.critical {
    color: var(--color-critical);
}

.critical-company-header .company-score.high {
    color: var(--color-high);
}

.critical-company-details {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.critical-company-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Demo Mode Banner */
.demo-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-banner-icon {
    font-size: 1.5rem;
}

.demo-banner-text {
    flex: 1;
}

.demo-banner-text strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.demo-banner-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===================================
   No Data Prompt
   =================================== */
.no-data-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
}

.no-data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg, 12px);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.no-data-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.no-data-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.no-data-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.no-data-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.no-data-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.no-data-btn.primary {
    background: var(--btn-primary-bg, #6366f1);
    color: var(--btn-primary-text, white);
    border: 1px solid var(--btn-primary-bg, #6366f1);
}

.no-data-btn.primary:hover {
    background: var(--btn-primary-bg-hover, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.no-data-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.no-data-btn.secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.no-data-btn svg {
    flex-shrink: 0;
}

/* Light mode is handled by CSS variables in base.css - no page-specific overrides needed */
