
    <style>
        :root {
            --up-navy: #0A2240;
            --up-blue: #1A3F6F;
            --up-mid: #1E5FA8;
            --up-saffron: #E8650A;
            --up-amber: #F5A623;
            --up-cream: #FDF8F1;
            --up-light: #EEF4FB;
            --up-border: #C8D8EC;
            --up-text: #1A1A2E;
            --up-muted: #5A6A80;
            --up-green: #1A7A3C;
            --radius: 10px;
            --shadow-sm: 0 2px 8px rgba(10, 34, 64, .08);
            --shadow-md: 0 4px 20px rgba(10, 34, 64, .14);
            --font-hindi: 'Noto Serif Devanagari', serif;
            --font-body: 'Noto Sans', 'Inter', sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-body);
            color: var(--up-text);
            background: #f8fafd;
        }

        /* ── Utility / Header (compact) ─────────── */
        .util-strip {
            background: var(--up-navy);
            color: rgba(255, 255, 255, .65);
            font-size: .75rem;
            padding: 5px 0;
        }

        .util-strip a {
            color: rgba(255, 255, 255, .65);
            text-decoration: none;
        }

        .util-strip a:hover {
            color: var(--up-amber);
        }

        .site-header {
            background: linear-gradient(135deg, var(--up-navy) 0%, var(--up-blue) 100%);
            border-bottom: 4px solid var(--up-saffron);
            padding: 12px 0;
        }

        .header-emblem {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: radial-gradient(circle, var(--up-amber), var(--up-saffron));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--up-navy);
            font-weight: 700;
            flex-shrink: 0;
        }

        .header-titles .h1 {
            font-family: var(--font-hindi);
            font-size: 1.25rem;
            color: #fff;
            font-weight: 700;
        }

        .header-titles .h2 {
            font-size: .72rem;
            color: rgba(255, 255, 255, .55);
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: 2px;
        }

        .main-nav {
            background: var(--up-mid);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 12px rgba(10, 34, 64, .25);
        }

        .main-nav .nav-link {
            color: rgba(255, 255, 255, .85) !important;
            font-size: .83rem;
            padding: 12px 14px !important;
            border-bottom: 3px solid transparent;
            transition: all .2s;
        }

        .main-nav .nav-link:hover,
        .main-nav .nav-link.active {
            color: #fff !important;
            border-bottom-color: var(--up-saffron);
            background: rgba(255, 255, 255, .07);
        }

        /* ── Breadcrumb ──────────────────────────── */
        .breadcrumb-bar {
            background: #fff;
            border-bottom: 1px solid var(--up-border);
            padding: 10px 0;
            font-size: .8rem;
        }

        .breadcrumb-bar .breadcrumb {
            margin: 0;
        }

        .breadcrumb-item a {
            color: var(--up-mid);
            text-decoration: none;
        }

        .breadcrumb-item.active {
            color: var(--up-muted);
        }

        .breadcrumb-item+.breadcrumb-item::before {
            color: var(--up-border);
        }

        /* ── District Hero Banner ────────────────── */
        .dist-hero {
            background: linear-gradient(135deg, var(--up-navy) 0%, var(--up-blue) 60%, #1e6ea8 100%);
            padding: 36px 0 28px;
            position: relative;
            overflow: hidden;
        }

        .dist-hero::after {
            content: '';
            position: absolute;
            right: -60px;
            top: -60px;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: rgba(232, 101, 10, .12);
        }

        .dist-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--up-saffron);
            color: #fff;
            border-radius: 20px;
            padding: 4px 14px;
            font-size: .75rem;
            font-weight: 700;
            letter-spacing: .5px;
            margin-bottom: 10px;
        }

        .dist-name-hi {
            font-family: var(--font-hindi);
            font-size: 2.4rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.15;
        }

        .dist-name-en {
            font-size: .95rem;
            color: rgba(255, 255, 255, .6);
            margin-top: 2px;
        }

        .dist-meta-pill {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(255, 255, 255, .1);
            color: rgba(255, 255, 255, .8);
            border: 1px solid rgba(255, 255, 255, .18);
            border-radius: 20px;
            padding: 3px 12px;
            font-size: .75rem;
            margin: 4px 4px 0 0;
        }

        /* Stat cards in hero */
        .dist-stat-row {
            margin-top: 28px;
        }

        .dist-stat {
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .12);
            border-radius: var(--radius);
            padding: 14px 18px;
            text-align: center;
        }

        .dist-stat .num {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--up-amber);
        }

        .dist-stat .lbl {
            font-size: .7rem;
            color: rgba(255, 255, 255, .6);
            margin-top: 2px;
        }

        /* ── Main layout ─────────────────────────── */
        .page-body {
            padding: 32px 0 48px;
        }

        /* ── Sidebar ─────────────────────────────── */
        .info-card {
            background: #fff;
            border: 1px solid var(--up-border);
            border-radius: var(--radius);
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .info-card .card-head {
            background: var(--up-navy);
            color: #fff;
            padding: 10px 16px;
            font-size: .8rem;
            font-weight: 700;
            letter-spacing: .5px;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .info-card .card-body-inner {
            padding: 14px 16px;
        }

        .official-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid var(--up-border);
        }

        .official-row:last-child {
            border-bottom: none;
        }

        .official-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--up-light);
            color: var(--up-mid);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .official-name {
            font-size: .85rem;
            font-weight: 600;
            color: var(--up-navy);
        }

        .official-role {
            font-size: .72rem;
            color: var(--up-muted);
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            padding: 7px 0;
            border-bottom: 1px dashed var(--up-border);
            font-size: .8rem;
        }

        .info-row:last-child {
            border-bottom: none;
        }

        .info-row .lbl {
            color: var(--up-muted);
        }

        .info-row .val {
            font-weight: 600;
            color: var(--up-navy);
            text-align: right;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 0;
            font-size: .8rem;
            color: var(--up-text);
        }

        .contact-item i {
            color: var(--up-saffron);
            width: 16px;
        }

        .contact-item a {
            color: var(--up-mid);
            text-decoration: none;
        }

        /* ── Map ─────────────────────────────────── */
        #districtMap {
            height: 380px;
            border-radius: var(--radius);
            border: 1px solid var(--up-border);
            box-shadow: var(--shadow-sm);
        }

        .map-toolbar {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .map-btn {
            background: #fff;
            border: 1px solid var(--up-border);
            border-radius: 6px;
            padding: 5px 12px;
            font-size: .78rem;
            cursor: pointer;
            color: var(--up-navy);
            font-weight: 500;
            transition: all .18s;
        }

        .map-btn:hover,
        .map-btn.active {
            background: var(--up-navy);
            color: #fff;
            border-color: var(--up-navy);
        }

        .map-legend {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 8px;
            font-size: .72rem;
            color: var(--up-muted);
        }

        .legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
        }

        /* ── Drill-down tabs ─────────────────────── */
        .drill-tabs .nav-link {
            font-size: .83rem;
            padding: 9px 18px;
            border-radius: 8px 8px 0 0;
            color: var(--up-muted);
            border: 1px solid var(--up-border);
            border-bottom: none;
            background: #f0f4f8;
            margin-right: 4px;
        }

        .drill-tabs .nav-link.active {
            background: #fff;
            color: var(--up-navy);
            font-weight: 700;
            border-bottom: 1px solid #fff;
        }

        .drill-content {
            background: #fff;
            border: 1px solid var(--up-border);
            border-radius: 0 var(--radius) var(--radius) var(--radius);
            padding: 20px;
        }

        /* Tehsil accordion */
        .tehsil-item {
            border: 1px solid var(--up-border);
            border-radius: var(--radius);
            margin-bottom: 10px;
            overflow: hidden;
        }

        .tehsil-header {
            background: var(--up-light);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            user-select: none;
            transition: background .18s;
        }

        .tehsil-header:hover {
            background: #dce8f5;
        }

        .tehsil-header.open {
            background: var(--up-navy);
            color: #fff;
        }

        .tehsil-title {
            font-weight: 700;
            font-size: .88rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tehsil-meta {
            font-size: .72rem;
            opacity: .7;
        }

        .tehsil-body {
            display: none;
            padding: 16px;
        }

        .tehsil-body.show {
            display: block;
        }

        .block-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .block-pill {
            background: var(--up-cream);
            border: 1px solid var(--up-border);
            border-radius: 20px;
            padding: 4px 14px;
            font-size: .78rem;
            color: var(--up-navy);
            font-weight: 500;
            cursor: pointer;
            transition: all .18s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        .block-pill:hover {
            background: var(--up-saffron);
            color: #fff;
            border-color: var(--up-saffron);
        }

        .block-pill .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--up-saffron);
            flex-shrink: 0;
        }

        .block-pill:hover .dot {
            background: #fff;
        }

        /* Block detail panel */
        .block-detail {
            background: var(--up-light);
            border: 1px solid var(--up-border);
            border-radius: var(--radius);
            padding: 14px 16px;
            margin-top: 12px;
            display: none;
        }

        .block-detail.show {
            display: block;
        }

        .block-detail h6 {
            font-size: .82rem;
            font-weight: 700;
            color: var(--up-navy);
            margin-bottom: 10px;
        }

        .gp-chip {
            background: #fff;
            border: 1px solid var(--up-border);
            border-radius: 4px;
            padding: 3px 9px;
            font-size: .72rem;
            color: var(--up-muted);
            margin: 2px;
            display: inline-block;
        }

        /* ── Services section ────────────────────── */
        .svc-card {
            background: #fff;
            border: 1px solid var(--up-border);
            border-radius: var(--radius);
            padding: 16px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            transition: box-shadow .2s, border-color .2s;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            height: 100%;
        }

        .svc-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--up-mid);
        }

        .svc-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .svc-title {
            font-size: .85rem;
            font-weight: 700;
            color: var(--up-navy);
            margin-bottom: 3px;
        }

        .svc-desc {
            font-size: .75rem;
            color: var(--up-muted);
            line-height: 1.45;
        }

        /* ── News mini ───────────────────────────── */
        .news-mini {
            border-bottom: 1px dashed var(--up-border);
            padding: 10px 0;
        }

        .news-mini:last-child {
            border-bottom: none;
        }

        .news-mini .date {
            font-size: .7rem;
            color: var(--up-muted);
        }

        .news-mini .title {
            font-size: .83rem;
            font-weight: 600;
            color: var(--up-navy);
            line-height: 1.4;
            margin-top: 2px;
        }

        .news-mini .dept {
            font-size: .7rem;
            font-weight: 600;
            color: var(--up-mid);
        }

        /* ── Section heads ───────────────────────── */
        .sec-head {
            margin-bottom: 18px;
        }

        .sec-eyebrow {
            font-size: .72rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--up-saffron);
            font-weight: 700;
            margin-bottom: 4px;
        }

        .sec-title {
            font-family: var(--font-hindi);
            font-size: 1.45rem;
            font-weight: 700;
            color: var(--up-navy);
        }

        .sec-divider {
            width: 36px;
            height: 3px;
            background: linear-gradient(90deg, var(--up-saffron), var(--up-amber));
            border-radius: 2px;
            margin-top: 7px;
        }

        /* ── Footer compact ──────────────────────── */
        .site-footer {
            background: #060F1C;
            color: rgba(255, 255, 255, .5);
            padding: 22px 0;
            font-size: .78rem;
            text-align: center;
        }

        .site-footer a {
            color: rgba(255, 255, 255, .4);
            text-decoration: none;
        }

        /* ── District selector ───────────────────── */
        .dist-selector {
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .25);
            color: #fff;
            border-radius: 6px;
            padding: 6px 12px;
            font-size: .82rem;
            cursor: pointer;
            outline: none;
        }

        .dist-selector option {
            background: var(--up-navy);
            color: #fff;
        }

        @media (max-width: 768px) {
            .dist-name-hi {
                font-size: 1.7rem;
            }

            #districtMap {
                height: 280px;
            }
        }
