* { margin:0; padding:0; box-sizing:border-box; }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #333;
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
        }
        .left-panel {
            width: 30%;
            background: #fff;
            border-right: 2px solid #e0e6ed;
            overflow-y: auto;
            height: 100vh;
            position: fixed;
            left: 0; top: 0;
            padding: 20px;
            box-shadow: 5px 0 15px rgba(0,0,0,0.05);
        }
        .center-panel {
            width: 70%;
            margin-left: 30%;
            padding: 30px;
        }

        /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ MOBILE RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
        @media (max-width: 992px) {
            body { flex-direction: column; }
            .left-panel {
                position: relative;
                width: 100%;
                height: auto;
                max-height: 50vh;
                border-right: none;
                border-bottom: 2px solid #e0e6ed;
                padding: 15px;
            }
            .center-panel {
                width: 100%;
                margin-left: 0;
                padding: 20px 15px;
            }
        }
        @media (max-width: 600px) {
            .main-title { font-size: 2rem; }
            .main-subtitle { font-size: 1rem; }
            .prediction-form { padding: 20px; }
            .form-input, .form-textarea, .form-select { font-size: 0.95rem; }
            .submit-btn { width: 100%; padding: 14px; font-size: 1rem; }
            .tab { padding: 8px 16px; font-size: 0.9rem; }
            .tabs { gap: 8px; }
        }

        .main-header { text-align: center; padding: 20px 0 40px; margin-bottom: 40px; border-bottom: 2px solid #e0e6ed; }
        .main-title { font-size: 2.5rem; color: #2c3e50; margin-bottom: 15px; }
        .main-subtitle { color: #7f8c8d; font-size: 1.1rem; font-weight: 400; line-height: 1.5; max-width: 800px; margin: 0 auto; }
        .intro-text { background: #fff; border-radius: 15px; padding: 30px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-left: 5px solid #3498db; }
        .intro-text h2 { color: #2c3e50; margin-bottom: 20px; font-size: 1.8rem; }
        .intro-welcome-title { color: #2c3e50; margin-bottom: 20px; font-size: 1.8rem; font-weight: 600; }
        .horizon-block { background: #fff; border-radius: 15px; padding: 30px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-left: 5px solid #8e44ad; }
        .horizon-title { color: #2c3e50; margin-bottom: 18px; font-size: 1.65rem; font-weight: 600; }
        .horizon-block > p:not(.horizon-focus) { margin-bottom: 1rem; }
        .horizon-block > p:not(.horizon-focus):last-of-type { margin-bottom: 0; }
        .horizon-focus { margin-top: 1.25rem; margin-bottom: 0 !important; padding: 18px 20px; background: linear-gradient(135deg, #e8f4fc 0%, #eef6ff 100%); border-left: 4px solid #2980b9; border-radius: 10px; font-size: 1.08rem; font-weight: 600; color: #1a5276; line-height: 1.55; }
        .horizon-focus-lead { display: inline; font-weight: 700; color: #2c3e50; }
        #blogTeaser .blog-section-heading { font-size: 1.35rem; font-weight: 600; color: #2c3e50; margin-bottom: 8px; }
        .blog-teaser-latest { color: #7f8c8d; font-size: 0.95rem; margin-bottom: 12px; }
        #blogTab > .blog-section-heading { margin-bottom: 24px; font-size: 1.8rem; color: #2c3e50; }
        .tabs { display: flex; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
        .tab { padding: 10px 25px; background: #e0e6ed; border-radius: 8px 8px 0 0; cursor: pointer; font-weight: 600; transition: all 0.2s; }
        .tab.active { background: #3498db; color: white; }
        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .blog-post { background: #fff; border-radius: 15px; padding: 25px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        .blog-post h3 { color: #2c3e50; margin-bottom: 15px; font-size: 1.8rem; }
        .blog-date { color: #7f8c8d; font-size: 0.95rem; margin-bottom: 15px; }
        .blog-teaser { margin-bottom: 20px; font-size: 1.05rem; }
        .read-more { color: #3498db; font-weight: 600; cursor: pointer; }
        .link-copy { margin-top: 15px; font-size: 0.9rem; color: #7f8c8d; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
        .link-copy input { flex: 1; padding: 8px; border: 1px solid #e0e6ed; border-radius: 6px; font-size: 0.9rem; min-width: 180px; }
        .link-copy button { padding: 8px 12px; background: #3498db; color: white; border: none; border-radius: 6px; cursor: pointer; }
        .prediction-form { background: #fff; border-radius: 15px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
        .form-group { margin-bottom: 25px; }
        .form-label { display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50; font-size: 1.1rem; }
        .form-label span { color: #e74c3c; }
        .form-input, .form-textarea, .form-select { width: 100%; padding: 12px 15px; border: 2px solid #e0e6ed; border-radius: 10px; font-size: 1rem; font-family: inherit; transition: border-color 0.3s; }
        .form-input:focus, .form-textarea:focus, .form-select:focus { border-color: #3498db; outline: none; box-shadow: 0 0 0 3px rgba(52,152,219,0.1); }
        .form-textarea { min-height: 120px; resize: vertical; }
        .word-counter { font-size: 0.9rem; color: #7f8c8d; margin-top: 5px; text-align: right; }
        .word-counter.warning { color: #e67e22; }
        .word-counter.danger { color: #e74c3c; font-weight: bold; }
        .submit-btn { background: linear-gradient(135deg, #2ecc71, #27ae60); color: white; border: none; padding: 15px 40px; border-radius: 10px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; margin: 30px auto 0; display: block; }
        .submit-btn:hover { transform: translateY(-3px); box-shadow: 0 7px 15px rgba(46,204,113,0.3); }
        .submit-btn:disabled { background: #95a5a6; cursor: not-allowed; }
        .code-group { margin-top: 40px; padding-top: 20px; border-top: 2px solid #e0e6ed; }
        .code-input { width: 100%; padding: 12px 15px; border: 2px solid #e0e6ed; border-radius: 10px; font-size: 1rem; }
        .code-error { color: #e74c3c; font-size: 0.9rem; margin-top: 8px; display: none; }
        .forecast-item { background: #f8fafc; border-radius: 10px; padding: 12px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; position: relative; }
        .forecast-item:hover { background: #e8f4fc; }
        .forecast-item.active { background: #d1e8ff; border: 2px solid #3498db; }
        .forecast-detail { margin: 0 0 30px 0; background: #fff; padding: 25px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); display: none; }
        .forecast-detail.active { display: block; }
        .group-header { cursor: pointer; display: flex; align-items: center; padding: 12px; background: #f8fafc; border-radius: 8px; margin-bottom: 10px; transition: all 0.2s; }
        .group-header:hover { background: #e8f4fc; transform: translateX(5px); }
        .group-icon { font-size: 1.6rem; margin-right: 15px; color: #3498db; }
        .group-title { font-weight: 600; color: #2c3e50; flex: 1; }
        .group-number { font-size: 0.9rem; color: #7f8c8d; margin-left: 8px; }
        .disciplines-list-left { display: none; padding-left: 20px; }
        .disciplines-list-left.active { display: block; }
        /* Прогнозы только после клика по дисциплине */
        .forecast-bucket {
            display: none;
            padding-left: 28px;
            margin-bottom: 8px;
            border-left: 2px solid #e0e6ed;
        }
        .discipline-item-left.show-forecasts + .forecast-bucket { display: block; }
        .discipline-item-left { display: flex; align-items: center; padding: 10px 0; cursor: pointer; transition: color 0.2s; }
        .discipline-item-left:hover { color: #3498db; }
        .discipline-item-left.selected { color: #3498db; font-weight: 600; background: #e8f4fc; border-radius: 6px; padding-left: 10px; }
        .discipline-icon-left { margin-right: 12px; color: #7f8c8d; }
        .discipline-name-left { font-size: 1rem; flex: 1; }
        .forecast-count { font-size: 0.85rem; color: #7f8c8d; margin-left: 8px; }
        .total-forecasts { margin-top: 30px; padding: 15px; background: #f8fafc; border-radius: 10px; text-align: center; font-weight: 600; color: #2c3e50; }
        .selected-discipline-info { margin-top: 10px; padding: 12px; background: #e8f4fc; border-radius: 8px; font-size: 0.95rem; color: #2c3e50; }
        .admin-auth-section {
            margin-top: 40px;
            padding: 22px 25px;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
            border: 1px solid #e0e6ed;
        }
        .admin-auth-title { color: #2c3e50; margin-bottom: 8px; font-size: 1.25rem; }
        .admin-auth-hint { color: #7f8c8d; font-size: 0.95rem; margin-bottom: 16px; line-height: 1.5; }
        .admin-auth-form-wrap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
        .admin-auth-input {
            flex: 1;
            min-width: 160px;
            padding: 10px 14px;
            border: 2px solid #e0e6ed;
            border-radius: 8px;
            font-size: 1rem;
        }
        .admin-auth-input:focus { border-color: #3498db; outline: none; }
        .admin-signin-btn { background: #34495e !important; margin: 0 !important; }
        .admin-signout-btn { background: #7f8c8d !important; margin: 0 !important; }
        .admin-auth-logged-in { flex-wrap: wrap; gap: 12px; align-items: center; }
        .admin-auth-label { color: #2c3e50; font-weight: 600; }
        .admin-auth-message { margin-top: 12px; color: #c0392b; font-size: 0.95rem; }
        #adminPanel { margin-top: 24px; padding: 25px; background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #ddd; }
        .admin-btn { padding: 10px 20px; margin: 8px 8px 8px 0; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; color: white; }
        .multi-btn { background: #28a745; }
        .single-btn { background: #dc3545; }
        .export-btn { background: #007bff; }
        .delete-forecast { position: absolute; right: 10px; top: 10px; background: #e74c3c; color: white; border: none; padding: 5px 10px; border-radius: 5px; cursor: pointer; font-size: 0.8rem; }
        .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: center; }
        .modal-content { background: white; padding: 30px; border-radius: 15px; max-width: 500px; width: 90%; text-align: center; }
        .modal-checkbox { margin: 20px 0; font-size: 1.1rem; }
