:root {
    --bps-blue: #07549a;
    --bps-blue-dark: #063b70;
    --bps-blue-soft: #eaf3fc;
    --bps-gold: #f4c542;
    --ink: #203247;
    --muted: #718198;
    --line: #e2eaf3;
    --surface: #fff;
    --page: #f4f7fb;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 84px; }
    body {
        margin: 0;
        background: var(--page);
        color: var(--ink);
        font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
            font-size: 14px;
    }
    a { text-decoration: none; }
    .top-strip { height: 5px; background: var(--bps-gold); }
    .site-nav {
        position: sticky; top: 0; z-index: 1030;
        background: rgba(255,255,255,.96);
        border-bottom: 1px solid var(--line);
        backdrop-filter: blur(12px);
    }
    .brand-mark {
        display: grid; place-items: center; width: 44px; height: 44px;
        border-radius: 12px; background: var(--bps-blue); color: #fff;
        font-weight: 850; letter-spacing: -.8px;
    }
    .brand-name { color: var(--bps-blue-dark); font-weight: 850; letter-spacing: -.3px; }
    .brand-subtitle { color: var(--muted); font-size: 11px; }
    .nav-link { color: #52657b; font-weight: 650; font-size: 13px; }
    .nav-link:hover, .nav-link:focus { color: var(--bps-blue); }
    .btn-bps {
        background: var(--bps-blue); border: 1px solid var(--bps-blue);
        color: #fff; font-weight: 700; border-radius: 10px;
        padding: 10px 15px; transition: .2s ease;
    }
    .btn-bps:hover { background: var(--bps-blue-dark); color: #fff; transform: translateY(-1px); }
    .btn-outline-bps {
        border: 1px solid #b7cce1; color: var(--bps-blue);
        font-weight: 700; border-radius: 10px; padding: 10px 15px;
    }
    .btn-outline-bps:hover { background: var(--bps-blue-soft); color: var(--bps-blue-dark); }
    .hero {
        position: relative; overflow: hidden; color: #fff;
        background: linear-gradient(115deg, #063b70 0%, #07549a 58%, #167ab7 100%);
    }
    .hero::before, .hero::after {
        content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12);
        border-radius: 50%; pointer-events: none;
    }
    .hero::before { width: 430px; height: 430px; right: -120px; top: -240px; }
    .hero::after { width: 310px; height: 310px; right: -50px; top: -180px; }
    .hero-inner { position: relative; z-index: 1; }
    .eyebrow {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 10px; font-weight: 800; letter-spacing: 1.4px;
        text-transform: uppercase;
    }
    .eyebrow-line { width: 24px; height: 2px; background: var(--bps-gold); }
    .hero h1 { max-width: 760px; font-size: clamp(30px, 4vw, 48px); line-height: 1.13; font-weight: 850; letter-spacing: -1.2px; }
    .hero-copy { max-width: 680px; color: #d9eafa; font-size: 15px; line-height: 1.85; }
    .hero-panel {
        background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
        border-radius: 18px; padding: 22px; backdrop-filter: blur(8px);
    }
    .hero-feature {
        display: flex; align-items: center; gap: 13px;
        padding: 13px; border-radius: 12px; background: rgba(255,255,255,.08);
    }
    .hero-feature + .hero-feature { margin-top: 10px; }
    .hero-feature-icon {
        display: grid; place-items: center; width: 42px; height: 42px;
        flex: 0 0 42px; border-radius: 12px; background: #fff; color: var(--bps-blue);
        font-size: 19px;
    }
    .section-wrap { max-width: 1320px; margin: 0 auto; padding: 44px 22px; }
    .section-kicker { color: var(--bps-blue); font-size: 10px; font-weight: 850; letter-spacing: 1.5px; text-transform: uppercase; }
    .section-title { color: #172d44; font-weight: 850; letter-spacing: -.5px; font-size: clamp(23px, 2.5vw, 30px); }
    .section-copy { color: var(--muted); line-height: 1.75; max-width: 720px; }
    .section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
    .panel, .stat-card {
        background: var(--surface); border: 1px solid var(--line); border-radius: 15px;
        box-shadow: 0 5px 18px rgba(21, 53, 86, .035);
    }
    .panel { padding: 22px; min-width: 0; }
    .panel-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
    .panel-title { margin: 0; color: #20364e; font-size: 15px; font-weight: 800; }
    .panel-subtitle { margin: 6px 0 0; color: #8592a3; font-size: 12px; line-height: 1.65; }
    .panel-icon {
        display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px;
        border-radius: 11px; color: var(--bps-blue); background: var(--bps-blue-soft); font-size: 18px;
    }
    .stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
    .stat-card { padding: 19px; transition: transform .2s, box-shadow .2s; }
    .stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(21,53,86,.08); }
    .stat-label { color: var(--muted); font-size: 12px; font-weight: 650; }
    .stat-value { margin-top: 13px; color: #172d44; font-size: 27px; font-weight: 850; overflow-wrap: anywhere; }
    .stat-note { margin-top: 5px; color: #8996a6; font-size: 10px; }
    .status-pill {
        display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px;
        border-radius: 999px; background: #fff6d9; color: #806000;
        font-size: 10px; font-weight: 800;
    }
    .filter-panel { background: #f8fbff; border: 1px solid #dfeaf5; border-radius: 14px; padding: 18px; }
    .form-label { color: #5d7086; font-size: 11px; font-weight: 750; }
    .form-select, .form-control { min-height: 42px; border-color: #d8e2ed; border-radius: 9px; font-size: 12px; }
    .form-select:focus, .form-control:focus { border-color: #72a8d8; box-shadow: 0 0 0 .2rem rgba(7,84,154,.10); }
    .table { font-size: 12px; margin-bottom: 0; }
    .table thead th { background: #f2f6fb; color: #4e6278; font-size: 11px; white-space: nowrap; vertical-align: middle; }
    .table td { vertical-align: middle; color: #354a60; }
    .table > :not(caption) > * > * { padding: 11px 12px; border-color: #e7edf4; }
    .table-responsive { border: 1px solid #e4ebf3; border-radius: 10px; }
    .chart-wrap { position: relative; width: 100%; height: 300px; }
    .chart-wrap.tall { height: 360px; }
    .chart-wrap.short { height: 245px; }
    .empty-state {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 8px; min-height: 150px; color: #8795a6; text-align: center;
        background: #f8fafc; border: 1px dashed #d8e2ed; border-radius: 10px; padding: 24px;
    }
    .empty-state i { color: #8aa7c4; font-size: 27px; }
    .empty-state strong { color: #52677e; font-size: 13px; }
    .empty-state span { max-width: 460px; font-size: 11px; line-height: 1.7; }
    .table-note { color: #8a97a7; font-size: 10px; }
    .pagination .page-link { color: var(--bps-blue); font-size: 11px; }
    .pagination .active .page-link { background: var(--bps-blue); border-color: var(--bps-blue); }
    .analysis-band { color: #fff; background: linear-gradient(120deg, #063b70, #07549a); border-radius: 18px; padding: 28px; }
    .analysis-option {
        display: block; width: 100%; height: 100%; text-align: left; color: #fff;
        background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
        border-radius: 13px; padding: 17px; transition: .2s;
    }
    .analysis-option:hover, .analysis-option.active { background: rgba(255,255,255,.17); border-color: #fff; }
    .analysis-option i { font-size: 22px; color: #f4d36b; }
    .analysis-option strong { display: block; margin-top: 11px; font-size: 13px; }
    .analysis-option span { display: block; margin-top: 6px; color: #d7e7f7; font-size: 11px; line-height: 1.6; }
    .analysis-result { margin-top: 17px; padding: 17px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); line-height: 1.8; }
    footer { background: #fff; border-top: 1px solid var(--line); }
    .footer-brand { color: var(--bps-blue-dark); font-weight: 800; }
    @media (max-width: 991px) {
        .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
        .section-wrap { padding: 34px 17px; }
    }
    @media (max-width: 575px) {
        .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
        .stat-card { padding: 14px; }
        .stat-value { font-size: 22px; }
        .panel { padding: 15px; }
        .hero-copy { font-size: 13px; }
        .chart-wrap { height: 260px; }
        .chart-wrap.tall { height: 300px; }
    }

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--bps-blue);
    border: 1px solid var(--bps-blue);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background: var(--bps-blue-dark);
    border-color: var(--bps-blue-dark);
    color: #fff;
}