@media print {
            body {
                background-color: white;
                color: black;
                font-size: 12pt;
            }
            
            .no-print {
                display: none !important;
            }
            
            .page-break {
                page-break-after: always;
            }
        }
        :root {
            --primary-color: #3498db;
            --success-color: #27ae60;
            --danger-color: #e74c3c;
            --light-gray: #f2f2f2;
            --border-color: #ddd;
        }
        
        body {
            font-family: 'Roboto','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            /* padding: 20px; */
            color: #333;
            min-width: 1300px;
        }
        
        .container {
            max-width: 1400px;
            margin: 20px auto;
        }
        
        h1, h2, h3 {
            color: #2c3e50;
            margin-top: 0;
        }
        
        .section {
            margin-bottom: 30px;
            padding: 20px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            background-color: #f9f9f9;
        }
        
        button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }
        
        button:hover {
            opacity: 0.9;
        }
        
        .export-btn {
            background-color: var(--success-color);
        }
        
        .clear-btn {
            background-color: var(--danger-color);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            font-size: 14px;
        }
        
        th, td {
            border: 1px solid var(--border-color);
            padding: 8px 12px;
            text-align: left;
            white-space: nowrap;
        }
        
        th {
            background-color: var(--light-gray);
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .file-input {
            margin: 15px 0;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .tabs {
            display: flex;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .tab {
            padding: 10px 20px;
            cursor: pointer;
            background-color: #eee;
            border: 1px solid var(--border-color);
            border-bottom: none;
            border-radius: 5px 5px 0 0;
        }
        
        .tab.active {
            background-color: #fff;
            border-bottom: 1px solid #fff;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .chart-container {
            width: 100%;
            height: 400px;
            margin: 20px 0;
        }
        
        .passed {
            color: var(--success-color);
            font-weight: bold;
        }
        
        .failed {
            color: var(--danger-color);
            font-weight: bold;
        }
        
        .table-container {
            max-height: 600px;
            overflow-y: auto;
            margin-bottom: 20px;
            border: 1px solid var(--border-color);
            border-radius: 5px;
        }
        
        .filter-row th {
            padding: 5px;
        }
        
        .filter-row input, 
        .filter-row select {
            width: 100%;
            padding: 5px;
            box-sizing: border-box;
            border: 1px solid var(--border-color);
            border-radius: 3px;
        }
        
        .status-badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .status-passed {
            background-color: rgba(39, 174, 96, 0.2);
            color: var(--success-color);
        }
        
        .status-failed {
            background-color: rgba(231, 76, 60, 0.2);
            color: var(--danger-color);
        }
        
        .upload-status {
            padding: 10px;
            border-radius: 4px;
            margin-top: 10px;
        }
        
        .upload-success {
            background-color: rgba(39, 174, 96, 0.1);
            color: var(--success-color);
            border: 1px solid rgba(39, 174, 96, 0.3);
        }
        
        .upload-error {
            background-color: rgba(231, 76, 60, 0.1);
            color: var(--danger-color);
            border: 1px solid rgba(231, 76, 60, 0.3);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .stat-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 5px;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .stat-card h4 {
            margin-top: 0;
            color: #2c3e50;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 10px;
        }
        
        .no-data {
            color: #7f8c8d;
            font-style: italic;
            padding: 20px;
            text-align: center;
        }
        .sticky-header {
            position: sticky;
            top: 0;
            background-color: white;
            z-index: 100;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .sortable-header {
            cursor: pointer;
            position: relative;
            padding-right: 20px;
        }
        
        .sortable-header:hover {
            background-color: #f0f0f0;
        }
        
        .sort-icon {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .export-buttons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        /* Новые стили для исторических данных */
        .year-selector {
            margin: 15px 0;
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .year-selector label {
            font-weight: bold;
        }
        .year-selector select {
            padding: 8px 12px;
            border-radius: 4px;
            border: 1px solid #ddd;
        }
        .history-table {
            width: 100%;
            margin: 20px 0;
            border-collapse: collapse;
        }
        .history-table th, .history-table td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
        }
        .history-table th {
            background-color: #f2f2f2;
        }
        .history-table tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        .history-tabs {
            margin-bottom: 15px;
        }
        .history-tab {
            padding: 8px 15px;
            cursor: pointer;
            background-color: #eee;
            border: 1px solid #ddd;
            border-radius: 4px;
            margin-right: 5px;
            display: inline-block;
        }
        .history-tab.active {
            background-color: #3498db;
            color: white;
        }
        .charts-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        header {
            background-color: #4CAF50;
            color: white;
            padding: 15px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 24px;
            font-weight: 500;
        }
        
        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
        }
        
        .user-details {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
        }
        
        .user-name {
            font-weight: 500;
            font-size: 16px;
        }
        
        .user-position {
            font-size: 13px;
            opacity: 0.9;
        }
        
        .avatar-dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            top: 100%; /* Меню появляется прямо под аватаром */
            margin-top: 0px; /* Небольшой отступ */
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 4px;
            overflow: hidden;
        }

        .dropdown-content a {
            color: #333;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: background-color 0.3s;
        }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

        .avatar-dropdown:hover .dropdown-content {
            display: block;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #7986cb;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
            flex-shrink: 0;
        }
        
        .avatar-dropdown:hover .user-avatar {
            transform: scale(1.1);
        }
        .user-info-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .user-text-info {
            display: flex;
            flex-direction: column;
        }

        .user-name {
            font-weight: 500;
            white-space: nowrap;
        }

        .user-position {
            font-size: 14px;
            color: #e0e0e0;
            white-space: nowrap;
        }

        .user-avatar img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-info-container {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }

        .user-text-info {
            display: flex;
            flex-direction: column;
        }
		.hcontainer {
		max-width: 1200px;
		margin: 0 auto;
		border-radius: 8px;
	}