:root {
            --primary: #1a73e8;
            --primary-dark: #0d47a1;
            --secondary: #34a853;
            --warning: #f9ab00;
            --danger: #ea4335;
            --light-bg: #f8f9fa;
            --dark-text: #202124;
            --light-text: #5f6368;
            --border: #dadce0;
            --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Noto Sans SC', sans-serif;
            line-height: 1.6;
            color: var(--dark-text);
            background-color: #f5f7fa;
            padding: 0;
            margin: 0;
        }

        .container {
            max-width: 720px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 25px 20px;
            border-radius: 0 0 10px 10px;
            margin-bottom: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .company-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .company-info h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .company-info p {
            font-size: 16px;
            opacity: 0.9;
        }

        .stock-info {
            background: rgba(255, 255, 255, 0.15);
            padding: 10px 15px;
            border-radius: 8px;
            font-weight: 500;
        }

        .progress-container {
            margin: 40px 0 20px;
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: var(--card-shadow);
        }

        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .progress-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
        }

        .progress-steps {
            display: flex;
            overflow-x: auto;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .step {
            flex: 0 0 auto;
            width: 110px;
            text-align: center;
            margin-right: 15px;
            position: relative;
        }

        .step:after {
            content: "";
            position: absolute;
            top: 25px;
            left: 100px;
            width: 20px;
            height: 2px;
            background: var(--border);
            z-index: 1;
        }

        .step:last-child:after {
            display: none;
        }

        .step-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--light-bg);
            color: var(--light-text);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-weight: 600;
            font-size: 18px;
            position: relative;
            z-index: 2;
            border: 2px solid var(--border);
        }

        .step.active .step-circle {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .step.completed .step-circle {
            background: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }

        .step-text {
            font-size: 13px;
            color: var(--light-text);
        }

        .step.active .step-text,
        .step.completed .step-text {
            color: var(--dark-text);
            font-weight: 500;
        }

        .analysis-section {
            background: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 25px;
            box-shadow: var(--card-shadow);
            scroll-margin-top: 90px;
        }

        .section-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border);
        }

        .section-number {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--primary-dark);
        }

        .section-description {
            color: var(--light-text);
            margin-top: 5px;
            font-size: 14px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0 20px;
            font-size: 14px;
            table-layout: auto;
        }

        th {
            background-color: var(--light-bg);
            padding: 12px 15px;
            text-align: left;
            font-weight: 600;
            color: var(--dark-text);
            border-bottom: 2px solid var(--border);
        }

        td {
            padding: 12px 15px;
            border-bottom: 1px solid var(--border);
        }

        tr:hover {
            background-color: rgba(26, 115, 232, 0.04);
        }

        .positive {
            color: var(--secondary);
            font-weight: 500;
        }

        .negative {
            color: var(--danger);
            font-weight: 500;
        }

        .warning {
            color: var(--warning);
            font-weight: 500;
        }

        .chart-container {
            height: 300px;
            margin: 25px 0;
        }

        .conclusion {
            background: var(--light-bg);
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            border-left: 4px solid var(--primary);
        }

        .conclusion h4 {
            color: var(--primary-dark);
            margin-bottom: 10px;
        }

        .nav-sidebar {
            position: fixed;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border-radius: 10px;
            padding: 15px 10px;
            box-shadow: var(--card-shadow);
            z-index: 100;
            display: none;
        }

        .nav-sidebar a {
            display: block;
            text-align: center;
            width: 40px;
            height: 40px;
            line-height: 40px;
            border-radius: 50%;
            margin-bottom: 10px;
            text-decoration: none;
            color: var(--light-text);
            font-weight: 600;
            background: var(--light-bg);
            transition: all 0.3s;
        }

        .nav-sidebar a:hover,
        .nav-sidebar a.active {
            background: var(--primary);
            color: white;
        }

        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 100;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .back-to-top.visible {
            opacity: 1;
        }

        footer {
            text-align: center;
            padding: 30px 0;
            color: var(--light-text);
            font-size: 14px;
            margin-top: 50px;
            border-top: 1px solid var(--border);
        }

        @media (min-width: 992px) {
            .nav-sidebar {
                display: block;
            }

            .company-info h1 {
                font-size: 28px;
            }
        }

        @media (max-width: 768px) {
            .company-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .stock-info {
                margin-top: 15px;
            }

            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .section-number {
                margin-bottom: 10px;
            }

            table {
                display: block;
                width: 100%;
                min-width: 100%;
                overflow-x: auto;
            }
            th, td {
                min-width: 80px;
                padding: 8px;
            }
        }
.chart-container {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-container canvas {
    width: 100% !important;
    height: 320px !important;
    max-width: 100%;
    display: block;
}
@media (max-width: 768px) {
    .analysis-section > table,
    .analysis-section .chart-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .chart-container {
        min-width: 0 !important;
    }
}
