    <style>
/* ========================================
   СТИЛИ ШАПКИ
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7f6;
    padding: 20px;
}

.header-container {
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 30px 0 30px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-title {
    text-align: center;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header-title .fullscreen-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
}

.header-title .fullscreen-btn:hover {
    background: #2980b9;
}

/* ========================================
   ВКЛАДКИ (ОДИНАКОВАЯ ШИРИНА + МАКСИМУМ)
   ======================================== */
.header-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    overflow: visible;
}

.header-tab-btn {
    background: #eef2f7;
    border: none;
    padding: 10px 3px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 0;
    color: #7f8c8d;
    cursor: pointer;
    flex: 1 1 0;
    max-width: 160px;
    min-width: 60px;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.2s;
    position: relative;
}

.header-tab-btn:hover {
    background: #d5e1f0;
}

.header-tab-btn.active {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.4);
}

/* ========================================
   КОНТЕЙНЕР ДЛЯ IFRAME
   ======================================== */
#iframe-wrapper {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    position: relative;
    min-height: 500px;
}

#content-iframe {
    width: 100%;
    border: none;
    display: block;
    background: white;
    height: 600px;
    overflow-y: auto;
}

/* Кнопки управления iframe */
.iframe-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.iframe-controls button {
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.iframe-controls button:hover {
    background: rgba(0,0,0,0.9);
}

/* Индикатор загрузки */
.iframe-loading {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 18px;
    background: white;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.iframe-loading::after {
    content: '...';
    animation: dots 1.5s steps(4) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* ========================================
   ПОЛНОЭКРАННЫЙ РЕЖИМ
   ======================================== */
#iframe-wrapper.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    z-index: 9999;
    background: white;
    min-height: 100vh;
}

#iframe-wrapper.fullscreen #content-iframe {
    height: 100vh;
}

#iframe-wrapper.fullscreen .iframe-controls {
    bottom: 30px;
    right: 30px;
}

body.fullscreen-mode .header-container {
    display: none;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 600px) {
    .header-container {
        padding: 15px 15px 0 15px;
    }
    
    .header-tabs {
        gap: 4px;
        padding-right: 4px;
    }
    
    .header-tab-btn {
        padding: 8px 6px;
        font-size: 11px;
        border-radius: 6px;
        max-width: 100px;
        min-width: 35px;
    }
    
    #iframe-wrapper {
        border-radius: 0 0 15px 15px;
        min-height: 350px;
    }
    
    #content-iframe {
        height: 400px;
    }
    
    .iframe-controls button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Дополнительная защита для очень маленьких экранов */
@media (max-width: 400px) {
    .header-tab-btn {
        padding: 6px 4px;
        font-size: 10px;
        max-width: 80px;
        min-width: 30px;
    }
    
    .header-tabs {
        gap: 3px;
        padding-right: 3px;
    }
}

/* ========================================
   КОПИРАЙТ (МИНИМАЛИСТИЧНЫЙ, НО ЧИТАЕМЫЙ)
   ======================================== */
.footer-copyright {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 5px 20px;
    text-align: center;
    font-size: 14px;
    color: #5a6a7a;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: transparent;

}

.footer-copyright p {
    margin: 0;
    opacity: 1;
line-height: 2;  /* ← УВЕЛИЧЬТЕ ЭТО ЗНАЧЕНИЕ */	
}

.footer-copyright a {
    color: #4a7ca8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-copyright a:hover {
    color: #3498db;
    text-decoration: underline;
}

.footer-divider {
    margin: 0 8px;
    color: #bdc3c7;
    opacity: 0.6;
}

/* ========================================
   ПРИОБРЕСТИ ПОЛНЫЙ КУРС (СТИЛИЗОВАННАЯ ССЫЛКА, БЕЗ СВЕЧЕНИЯ)
   ======================================== */
.cabinet-link {
    text-align: right;
    margin-bottom: 5px;
}

.cabinet-link a {
    display: inline-block;

background: linear-gradient(135deg, #ffa500, #ff8c00);	
    color: white;
    font-size: 15px;
    font-weight: 0;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Calibri', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.cabinet-link a:hover {
    background: linear-gradient(135deg, #ff8c00, #e67600);
    transform: translateY(-2px) scale(1.03);
}

.cabinet-link a:active {
    transform: translateY(0) scale(0.98);
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .cabinet-link a {
        font-size: 13px;
        padding: 6px 16px;
    }
}
    </style>