:root {
            --bi-navy: #142b4a;
            --bi-blue: #1d4778;
            --bi-green: #17633e;
            --bi-green-soft: #eaf4ee;
            --bi-bg: #f4f7fb;
            --bi-text: #1c2b3d;
            --bi-muted: #718096;
            --bi-border: #e1e8f0;
        }

        html { min-height: 100%; }
        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            margin: 0;
            background: var(--bi-bg);
            color: var(--bi-text);
            font-family: "Segoe UI", Arial, sans-serif;
        }
        .site-header {
            background: #fff;
            border-bottom: 1px solid var(--bi-border);
            box-shadow: 0 3px 14px rgba(20, 43, 74, .045);
        }
        .header-inner { min-height: 82px; }
        .brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .brand-logo { display: block; width: 255px; max-height: 70px; height: auto; object-fit: contain; }
        .brand-institution { display: block; margin-top: 3px; color: var(--bi-muted); font-size: 10px; letter-spacing: .1px; }
        .brand-mark {
            width: 48px; height: 48px; border-radius: 13px;
            display: flex; align-items: center; justify-content: center;
            background: linear-gradient(145deg, var(--bi-green), #25835a);
            color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -1px;
            box-shadow: 0 5px 12px rgba(23, 99, 62, .18);
        }
        .brand-title { display: block; color: var(--bi-navy); font-size: 19px; line-height: 1.15; font-weight: 800; letter-spacing: .5px; }
        .brand-subtitle { display: block; margin-top: 4px; color: var(--bi-muted); font-size: 11px; letter-spacing: .15px; }
        .navbar-nav .nav-link {
            color: #40536b; font-size: 13px; font-weight: 650;
            padding: 11px 14px !important; border-radius: 8px;
        }
        .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
            color: var(--bi-green); background: #eff6f1;
        }
        .header-login {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 10px 18px; border-radius: 8px; background: var(--bi-navy);
            color: #fff; text-decoration: none; font-size: 12px; font-weight: 750;
            letter-spacing: .35px;
        }
        .header-login:hover { color: #fff; background: var(--bi-blue); }
        main { flex: 1 0 auto; width: 100%; }
        .page-container { max-width: 1160px; padding-top: 38px; padding-bottom: 48px; }
        .site-footer {
            flex-shrink: 0; background: #101c2d; color: #d6deea;
            border-top: 3px solid var(--bi-green); font-size: 12px;
        }
        .footer-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .footer-right strong { color: #fff; font-weight: 750; }

        /* Почетна страница */
        .home-hero {
            position: relative; overflow: hidden; display: flex; align-items: center;
            justify-content: space-between; gap: 30px; min-height: 275px;
            padding: 42px 48px; border-radius: 18px;
            background: linear-gradient(115deg, #142b4a 0%, #1c4269 68%, #17633e 130%);
            color: #fff; box-shadow: 0 12px 28px rgba(20, 43, 74, .13);
        }
        .home-hero::after {
            content: ""; position: absolute; width: 390px; height: 390px; right: 90px; top: -230px;
            border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
            box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.02);
        }
        .hero-content { position: relative; z-index: 1; max-width: 720px; }
        .hero-eyebrow, .section-kicker { font-size: 10px; font-weight: 800; letter-spacing: 2px; }
        .hero-eyebrow { color: #a9d7b9; margin-bottom: 14px; }
        .home-hero h1 { max-width: 680px; margin: 0 0 13px; font-size: clamp(27px, 3vw, 37px); line-height: 1.18; font-weight: 800; }
        .hero-description { max-width: 690px; margin: 0; color: #d7e1ed; font-size: 14px; line-height: 1.8; }
        .hero-tags { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; color: #d7e7df; font-size: 11px; }
        .status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #83d6a1; }
        .hero-emblem { position: relative; z-index: 1; min-width: 170px; margin-right: 18px; text-align: center; }
        .emblem-circle {
            width: 124px; height: 124px; margin: auto; border: 1px solid rgba(255,255,255,.35);
            border-radius: 30px; display: flex; align-items: center; justify-content: center;
            background: rgba(255,255,255,.10); transform: rotate(-5deg);
        }
        .emblem-book { color: #fff; font-size: 57px; line-height: 1; transform: rotate(5deg); }
        .emblem-plus { position: absolute; margin: -73px 0 0 75px; width: 30px; height: 30px; border-radius: 50%; background: #8bc99e; color: #143c2a; font-size: 22px; font-weight: 800; line-height: 30px; }
        .emblem-caption { margin-top: 15px; color: #cbd8e6; font-size: 9px; line-height: 1.5; letter-spacing: 2px; }
        .emblem-caption strong { color: #fff; }
        .overview-section { margin-top: 37px; }
        .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
        .section-kicker { color: var(--bi-green); margin-bottom: 5px; }
        .section-heading h2 { margin: 0; color: var(--bi-navy); font-size: 21px; font-weight: 800; }
        .updated-label { color: var(--bi-muted); font-size: 11px; }
        .stat-card {
            height: 100%; min-height: 154px; padding: 21px 23px; border: 1px solid var(--bi-border);
            border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgba(20,43,74,.035);
        }
        .stat-icon { width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; border-radius: 10px; font-size: 20px; font-weight: 700; }
        .stat-icon-green { color: #17633e; background: #e8f4ec; }
        .stat-icon-blue { color: #245b91; background: #eaf1fa; }
        .stat-icon-gold { color: #987126; background: #faf2df; }
        .stat-label { color: #65758a; font-size: 12px; font-weight: 650; }
        .stat-value { margin-top: 3px; color: var(--bi-navy); font-size: 31px; line-height: 1.2; font-weight: 800; }
        .stat-note { margin-top: 4px; color: #94a0af; font-size: 10px; }
        .notice-panel {
            display: flex; align-items: center; gap: 17px; margin-top: 28px; padding: 20px 23px;
            border: 1px solid #ead9ad; border-radius: 12px; background: #fffaf0;
        }
        .notice-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f5e8c8; color: #936b1e; font-size: 20px; font-weight: 800; }
        .notice-content { flex: 1; }
        .notice-content h2 { margin: 0 0 5px; color: #6e521d; font-size: 14px; font-weight: 800; }
        .notice-content p { margin: 0; color: #786b50; font-size: 12px; line-height: 1.7; }
        .notice-lock { color: #c5a45f; font-size: 27px; }
        .home-bottom-note { display: flex; align-items: center; gap: 15px; margin-top: 35px; }
        .home-bottom-note p { margin: 0; color: #8b98a8; font-size: 10px; white-space: nowrap; }
        .bottom-line { height: 1px; flex: 1; background: var(--bi-border); }

        @media (max-width: 767.98px) {
            .header-inner { padding-top: 10px; padding-bottom: 10px; }
            .brand-logo { width: 205px; max-height: 58px; }
            .brand-institution { font-size: 9px; }
            .home-hero { min-height: auto; padding: 30px 25px; }
            .hero-emblem { display: none; }
            .home-hero h1 { font-size: 27px; }
            .section-heading { align-items: start; flex-direction: column; }
            .notice-panel { align-items: flex-start; padding: 17px; }
            .notice-lock { display: none; }
            .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-top: 13px; padding-bottom: 13px; gap: 5px; }
        }
