
        :root {
            --brand: #08a979;
            --navy: #102c4d;
            --text: #122a45;
            --muted: #71829a;
            --line: #e3ebf3;
            --page: #f7f9fc;
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            background: var(--page);
            color: var(--text);
            font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
                "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            font-size: 15px;
        }

        a { text-decoration: none; }

        /* ================= HEADER ================= */

        .site-header {
            height: 56px;
            background: #fff;
            border-bottom: 1px solid var(--line);
        }
.brand-logo {
    height: 30px;
    width: auto;
    display: block;
}
        .navbar-brand-wrap {
            display: flex;
            align-items: center;
            gap: 11px;
        }

        .brand-mark {
            width: 34px;
            height: 34px;
            flex: 0 0 34px;
            border-radius: 50%;
            background:white;
            color: black;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 800;
        }

        .brand-name {
            color: #ef624f;
            font-size: 20px;
            font-weight: 700;
            font-style: italic;
            letter-spacing: -.3px;
        }

        .brand-tagline {
            color: #8090a5;
            font-size: 10px;
            border-left: 1px solid #d9e1ea;
            padding-left: 15px;
            margin-left: 2px;
            white-space: nowrap;
        }

        .main-nav .nav-link {
            color: #203c5d;
            font-size: 11px;
            padding: 14px 12px 11px;
            position: relative;
        }

        .main-nav .nav-link:hover,
        .main-nav .nav-link.active {
            color: #163c72;
        }

        .main-nav .nav-link.active::after {
            content: "";
            position: absolute;
            left: 9px;
            right: 9px;
            bottom: -1px;
            height: 2px;
            background: #173c78;
            border-radius: 2px 2px 0 0;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        /* ================= COMMON ================= */

        .dashboard {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 28px 14px 30px;
        }

        .panel {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 10px;
            box-shadow: 0 1px 3px rgba(24,55,88,.04);
        }

        .page-title-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 17px;
        }

        .page-title {
            position: relative;
            padding-left: 12px;
        }

        .page-title::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 4px;
            height: 18px;
            background: #173d79;
            border-radius: 4px;
        }

        .page-title h1 {
            font-size: 34px;
            line-height: 1.1;
            font-weight: 750;
            margin: 0 0 4px;
            letter-spacing: -.35px;
        }

        .page-title p {
            margin: 0;
            color: #73849b;
            font-size: 12px;
        }

        .last-updated {
            background: #fff;
            border: 1px solid var(--line);
            border-radius: 7px;
            padding: 10px 13px;
            min-width: 165px;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .last-updated i {
            font-size: 15px;
            color: #526d8e;
        }

        .last-updated .date {
            display: block;
            font-weight: 700;
            color: #213b5b;
            font-size: 10px;
        }

        .last-updated .time {
            display: block;
            color: #8998aa;
            font-size: 8px;
            margin-top: 1px;
        }

        /* ================= HERO ================= */

        .top-panel {
            min-height: 235px;
            height: 100%;
        }

        .hero-panel {
            display: grid;
            grid-template-columns: 52% 48%;
            padding: 23px 20px;
            align-items: center;
        }

        .gauge-wrap {
            min-height: 184px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gauge-box {
            width: 190px;
            text-align: center;
        }

        .gauge {
            width: 152px;
            height: 77px;
            margin: 8px auto 0;
            position: relative;
            overflow: hidden;
        }

        .gauge::before {
            content: "";
            position: absolute;
            width: 152px;
            height: 152px;
            left: 0;
            top: 0;
            border-radius: 50%;
            background: conic-gradient(
                from 270deg,
                #08a979 0deg 106deg,
                #dfe7ef 106deg 180deg,
                transparent 180deg 360deg
            );
        }

        .gauge::after {
            content: "";
            position: absolute;
            width: 120px;
            height: 120px;
            left: 16px;
            top: 16px;
            background: #fff;
            border-radius: 50%;
        }

        .gauge-value {
            position: absolute;
            z-index: 2;
            left: 0;
            right: 0;
            top: 8px;
            font-size: 34px;
            line-height: 1;
            font-weight: 800;
            color: #101d2e;
        }

        .gauge-unit {
            position: absolute;
            z-index: 2;
            left: 0;
            right: 0;
            top: 39px;
            color: #8797aa;
            font-size: 9px;
        }

        .gauge-labels {
            display: flex;
            justify-content: space-between;
            margin: -1px 19px 0;
            color: #8797aa;
            font-size: 8px;
        }

        .condition-pill {
            display: inline-flex;
            padding: 3px 12px;
            border: 1px solid #9cebd0;
            color: #0b9b70;
            background: #effcf7;
            border-radius: 20px;
            font-size: 9px;
            margin-top: 8px;
        }

        .condition-box {
            border-left: 1px solid #edf1f5;
            padding-left: 21px;
        }

        .eyebrow {
            color: #8a9bb0;
            text-transform: uppercase;
            font-size: 9px;
            letter-spacing: .6px;
            margin-bottom: 8px;
        }

        .condition-text {
            font-size: 16px;
            line-height: 1.35;
            font-weight: 700;
            color: #102b49;
            max-width: 280px;
        }

        .divider {
            border-top: 1px solid #edf1f5;
            margin: 17px 0 13px;
        }

        .change-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .change-icon {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #effcf7;
            color: #0a9c70;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }

        .change-main {
            font-size: 9px;
            color: #0b9b70;
            font-weight: 700;
        }

        .change-sub {
            font-size: 8px;
            color: #8190a4;
            margin-top: 1px;
        }

        /* ================= CHART PANELS ================= */

        .chart-panel {
            padding: 22px 21px 16px;
            display: flex;
            flex-direction: column;
        }

        .panel-heading {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .panel-heading h2 {
            font-size: 15px;
            margin: 0;
            color: #142c4a;
            font-weight: 750;
        }

        .chart-area {
            position: relative;
            flex: 1;
            min-height: 190px;
        }

        .chart-area canvas {
            width: 100% !important;
            height: 190px !important;
        }

        /* ================= SNAPSHOT ================= */

        .section-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: 17px 0 11px;
        }

        .section-heading h2 {
            font-size: 15px;
            font-weight: 750;
            margin: 0;
        }

        .section-heading a {
            color: #1b4f95;
            font-size: 9px;
            font-weight: 600;
        }

        .metric-card {
            min-height: 155px;
            padding: 19px 17px;
        }

        .metric-icon {
            width: 30px;
            height: 30px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 11px;
            font-size: 16px;
        }

        .icon-green {
            background: #effcf7;
            color: #0da778;
        }

        .icon-blue {
            background: #eef5ff;
            color: #316fe2;
        }

        .icon-purple {
            background: #f5efff;
            color: #7a35df;
        }

        .icon-orange {
            background: #fff8e9;
            color: #e59a16;
        }

        .metric-label {
            color: #8a9aad;
            text-transform: uppercase;
            font-size: 8px;
            letter-spacing: .55px;
            margin-bottom: 4px;
        }

        .metric-value {
            font-size: 34px;
            font-weight: 800;
            line-height: 1.05;
            color: #0f2947;
        }

        .metric-change {
            margin-top: 7px;
            color: #009b6d;
            font-size: 9px;
            font-weight: 650;
        }

        .metric-change.neutral {
            color: #6f8197;
            font-weight: 500;
        }

        /* ================= LOWER ================= */

        .lower-panel {
            min-height: 207px;
        }

        .trend-panel {
            padding: 21px 21px 15px;
        }

        .range-tabs {
            display: inline-flex;
            background: #f0f4f8;
            border-radius: 6px;
            padding: 2px;
        }

        .range-tabs button {
            border: 0;
            background: transparent;
            color: #5f7086;
            font-size: 9px;
            font-weight: 650;
            padding: 5px 9px;
            border-radius: 5px;
        }

        .range-tabs button.active {
            color: #fff;
            background: #173d7b;
        }

        .trend-chart-area {
            height: 154px;
        }

        .trend-chart-area canvas {
            width: 100% !important;
            height: 154px !important;
        }

        .info-panel {
            padding: 21px 23px;
        }

        .info-title {
            display: flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 14px;
        }

        .info-title i {
            color: #fff;
            background: #173d7b;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
        }

        .info-title h2 {
            margin: 0;
            font-size: 15px;
            font-weight: 750;
        }

        .info-panel p {
            color: #73859a;
            font-size: 9px;
            line-height: 1.75;
            margin: 0 0 10px;
        }

        /* ================= NOTE ================= */

        .note {
            margin-top: 18px;
            padding: 14px 17px;
            border: 1px solid #dbeafb;
            background: #f4f9ff;
            border-radius: 10px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .note i {
            color: #5289d8;
            font-size: 16px;
        }

        .note-title {
            font-size: 9px;
            font-weight: 750;
            color: #1b4a82;
            margin-bottom: 4px;
        }

        .note-text {
            color: #70859e;
            font-size: 8px;
            line-height: 1.55;
        }

        /* ================= FOOTER ================= */

        .site-footer {
            border-top: 1px solid var(--line);
            background: #fff;
            margin-top: 20px;
        }

        .footer-inner {
            width: 100%;
            max-width: 1400px;
            min-height: 72px;
            margin: auto;
            padding: 0 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-brand .brand-name {
            font-size: 16px;
        }

        .footer-tagline {
            color: #8a99ab;
            border-left: 1px solid #d9e1ea;
            padding-left: 12px;
            font-size: 8px;
        }

        .footer-nav a {
            color: #53677e;
            font-size: 9px;
            margin-left: 14px;
        }

        .footer-nav a + a {
            border-left: 1px solid #d8e0e8;
            padding-left: 14px;
        }

        /* ================= READABILITY / ACCESSIBILITY ================= */

        :focus-visible {
            outline: 3px solid rgba(23,61,123,.28);
            outline-offset: 3px;
        }

        .main-nav .nav-link,
        .footer-nav a,
        .section-heading a,
        .range-tabs button,
        .dropdown-item {
            transition: color .15s ease, background-color .15s ease;
        }

          /* Prevent tiny text from becoming difficult to read on large screens. */
        .brand-tagline,
        .footer-tagline {
            line-height: 1.4;
        }


        /* =========================================================
           INSIGHT UI — READABILITY / SEO / ACCESSIBILITY ENHANCEMENT
           Keeps the existing layout and visual identity.
           ========================================================= */

        html { scroll-behavior: smooth; }

        body {
            font-size: 16px;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }

        .site-header {
            height: 64px;
            position: sticky;
            top: 0;
            z-index: 1030;
            box-shadow: 0 1px 0 rgba(16,44,77,.04);
        }

        .brand-mark {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
            font-size: 13px;
        }

        .brand-name {
            font-size: 22px;
            letter-spacing: -.4px;
        }

        .brand-tagline {
            font-size: 13px;
            padding-left: 16px;
        }

        .main-nav .nav-link {
            font-size: 14px;
            font-weight: 600;
            padding: 20px 14px 19px;
            line-height: 1.2;
        }

        .dropdown-item { font-size: 14px !important; padding: 9px 16px; }

        .dashboard {
            max-width: 1440px;
            padding: 34px 24px 42px;
        }

        .page-title-row {
            margin-bottom: 24px;
            align-items: center;
        }

        .page-title { padding-left: 17px; }

        .page-title::before {
            width: 5px;
            height: 48px;
            top: 2px;
        }

        .page-title h1 {
            font-size: 32px;
            line-height: 1.2;
            letter-spacing: -.65px;
            margin-bottom: 7px;
        }

        .page-title p {
            color: #64778e;
            font-size: 16px;
            line-height: 1.55;
        }

        .last-updated {
            min-width: 205px;
            padding: 12px 16px;
            border-radius: 9px;
        }

        .last-updated i { font-size: 20px; }
        .last-updated .date { font-size: 14px; }
        .last-updated .time { font-size: 12px; }

        .panel {
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(24,55,88,.055);
        }

        .top-panel { min-height: 280px; }

        .hero-panel {
            grid-template-columns: 52% 48%;
            padding: 30px 28px;
        }

        .gauge-wrap { min-height: 215px; }
        .gauge-box { width: 245px; }

        .gauge {
            width: 190px;
            height: 97px;
            margin-top: 10px;
        }

        .gauge::before { width: 190px; height: 190px; }

        .gauge::after {
            width: 150px;
            height: 150px;
            left: 20px;
            top: 20px;
        }

        .gauge-value { top: 10px; font-size: 42px; }
        .gauge-unit { top: 54px; font-size: 13px; }

        .gauge-labels {
            margin: -1px 22px 0;
            font-size: 12px;
        }

        .condition-pill {
            padding: 5px 15px;
            font-size: 12px;
            margin-top: 10px;
            font-weight: 600;
        }

        .condition-box { padding-left: 30px; }

        .eyebrow {
            font-size: 12px;
            letter-spacing: .8px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .condition-text {
            font-size: 20px;
            line-height: 1.45;
            max-width: 390px;
        }

        .divider { margin: 22px 0 17px; }

        .change-row { gap: 12px; }

        .change-icon {
            width: 36px;
            height: 36px;
            font-size: 18px;
        }

        .change-main { font-size: 14px; }
        .change-sub { font-size: 12px; margin-top: 2px; }

        .chart-panel { padding: 26px 25px 20px; }
        .panel-heading { margin-bottom: 15px; }

        .panel-heading h2 {
            font-size: 18px;
            line-height: 1.35;
        }

        .chart-area { min-height: 205px; }
        .chart-area canvas { height: 205px !important; }

        .section-heading { margin: 28px 0 14px; }

        .section-heading h2 {
            font-size: 19px;
            line-height: 1.35;
        }

        .section-heading a {
            font-size: 13px;
            font-weight: 700;
        }

        .metric-card {
            min-height: 175px;
            padding: 21px 20px;
        }

        .metric-icon {
            width: 38px;
            height: 38px;
            border-radius: 9px;
            margin-bottom: 14px;
            font-size: 17px;
        }

        .metric-label {
            font-size: 11px;
            letter-spacing: .7px;
            margin-bottom: 6px;
            font-weight: 700;
        }

        .metric-value {
            font-size: 28px;
            line-height: 1.15;
        }

        .metric-change {
            margin-top: 9px;
            font-size: 13px;
        }

        .lower-panel { min-height: 260px; }
        .trend-panel { padding: 24px 24px 18px; }

        .range-tabs { border-radius: 7px; }

        .range-tabs button {
            font-size: 12px;
            padding: 7px 12px;
        }

        .trend-chart-area { height: 205px; }
        .trend-chart-area canvas { height: 205px !important; }

        .info-panel { padding: 25px 27px; }

        .info-title {
            gap: 11px;
            margin-bottom: 17px;
        }

        .info-title i {
            width: 25px;
            height: 25px;
            font-size: 13px;
        }

        .info-title h2 { font-size: 18px; }

        .info-panel p {
            color: #61758c;
            font-size: 14px;
            line-height: 1.8;
            margin-bottom: 13px;
        }

        .note {
            margin-top: 24px;
            padding: 16px 19px;
            gap: 12px;
        }

        .note i { font-size: 18px; }
        .note-title { font-size: 13px; margin-bottom: 5px; }

        .note-text {
            font-size: 13px;
            line-height: 1.65;
        }

        .site-footer { margin-top: 28px; }

        .footer-inner {
            max-width: 1440px;
            min-height: 76px;
            padding: 0 24px;
        }

        .footer-brand .brand-name { font-size: 18px; }
        .footer-tagline { font-size: 12px; }

        .footer-nav a {
            font-size: 13px;
            margin-left: 17px;
        }

        a:focus-visible,
        button:focus-visible {
            outline: 3px solid rgba(23,61,123,.30);
            outline-offset: 3px;
            border-radius: 4px;
        }

        @media (max-width: 991.98px) {
            .site-header {
                height: auto;
                position: relative;
            }

            .hero-panel {
                grid-template-columns: 1fr;
                gap: 22px;
            }

            .condition-box {
                border-left: 0;
                border-top: 1px solid #edf1f5;
                padding-left: 0;
                padding-top: 22px;
                margin-top: 0;
            }

            .condition-text { max-width: 650px; }
        }

        @media (max-width: 767.98px) {
            body { font-size: 16px; }

            .dashboard { padding: 22px 14px 30px; }

            .page-title-row {
                gap: 15px;
                margin-bottom: 20px;
            }

            .page-title { padding-left: 13px; }

            .page-title::before {
                width: 4px;
                height: 40px;
            }

            .page-title h1 {
                font-size: 25px;
                line-height: 1.25;
            }

            .page-title p { font-size: 15px; }

            .last-updated {
                min-width: 0;
                width: 100%;
                max-width: 260px;
            }

            .hero-panel { padding: 25px 20px; }

            .gauge {
                width: 175px;
                height: 89px;
            }

            .gauge::before {
                width: 175px;
                height: 175px;
            }

            .gauge::after {
                width: 137px;
                height: 137px;
                left: 19px;
                top: 19px;
            }

            .gauge-value { font-size: 38px; }
            .condition-text { font-size: 19px; }

            .chart-panel { padding: 22px 18px 18px; }
            .chart-area { min-height: 190px; }
            .chart-area canvas { height: 190px !important; }

            .section-heading h2 { font-size: 18px; }
            .section-heading a { font-size: 12px; }

            .metric-card {
                min-height: 160px;
                padding: 18px 16px;
            }

            .metric-value { font-size: 24px; }

            .lower-panel { min-height: 0; }
            .trend-panel { padding: 20px 17px 15px; }

            .trend-chart-area,
            .trend-chart-area canvas {
                height: 190px !important;
            }

            .info-panel { padding: 22px 20px; }
            .info-panel p { font-size: 14px; }
            .note-text { font-size: 13px; }

            .footer-inner {
                flex-direction: column;
                gap: 14px;
                padding: 18px 14px;
                text-align: center;
            }

            .footer-nav a {
                font-size: 12px;
                margin-left: 8px;
            }
        }

        @media (max-width: 400px) {
            .page-title h1 { font-size: 23px; }
            .metric-value { font-size: 21px; }

            .range-tabs button {
                padding: 6px 9px;
                font-size: 11px;
            }
        }

        
/* Full-width footer */
footer {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
}

.footer-inner {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}


/* Final footer: edge-to-edge, matching the full-width navbar */
.site-footer {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-footer .footer-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box;
}


/* ================= DATE CARD / POPUP PICKER ================= */
.date-selector-card {
    position: relative;
    width: 205px;
    min-width: 205px;
    min-height: 64px;
    padding: 10px 13px;
    margin: 0;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.date-selector-card:hover {
    border-color: #b9c9da;
}

.date-selector-card:focus-visible {
    outline: 2px solid #9bb5d1;
    outline-offset: 2px;
}

.date-card-icon {
    flex: 0 0 auto;
    font-size: 20px !important;
    color: #526d8e !important;
    line-height: 1;
}

.date-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.date-card-date {
    display: block;
    color: #213b5b;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
}

.date-card-time {
    display: block;
    color: #8998aa;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 3px;
    white-space: nowrap;
}

/* Invisible native date control. It covers the card and opens the browser
   calendar directly. No textbox or second calendar icon is visible. */
.date-picker-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 5 !important;
    display: block !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color: transparent !important;
    background: transparent !important;
}

@media (max-width: 575.98px) {
    .date-selector-card {
        width: 190px;
        min-width: 190px;
    }

    .date-card-date {
        font-size: 13px;
    }
}
