        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #002244; background: #f7f8fa; }
        .header {
            background: #002244;
            padding: 0;
            border-bottom: none;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0,34,68,0.18);
        }
        .header-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; }
        .header-left { display: flex; align-items: center; gap: 8px; }
        .header-right { display: flex; align-items: center; gap: 24px; }
        .header-logo {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            font-weight: 800;
            color: white;
            text-decoration: none;
            letter-spacing: -0.3px;
            transition: opacity 0.15s;
        }
        .header-logo:hover { opacity: 0.85; }
        .hd-sep { opacity: 0.3; font-weight: 300; margin: 0 4px; color: white; }
        .hd-section { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 0.01em; }
        .header-nav { display: flex; gap: 22px; }
        .header-nav a { font-family: 'Inter', sans-serif; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; font-weight: 600; transition: color 0.15s; }
        .header-nav a:hover { color: rgba(255,255,255,0.85); }
        .header-nav a.active { color: white; }
        .tagline { font-size: 12px; color: rgba(255,255,255,0.45); font-weight: 400; margin: 0; display: none; }
        .tagline a { color: rgba(255,255,255,0.45); text-decoration: none; font-weight: 400; transition: all 0.15s; }
        .tagline a:hover { color: rgba(255,255,255,0.8); text-decoration: underline; }
        .language-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.15); padding: 2px; border-radius: 5px; border: none; }
        .lang-btn { padding: 4px 10px; border: none; background: transparent; color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 3px; transition: all 0.15s; font-family: 'Inter', sans-serif; }
        .lang-btn:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); }
        .lang-btn.active { background: rgba(255,255,255,0.25); color: white; }
        .container { max-width: 1200px; margin: 0 auto; padding: 16px 24px 80px; }

        /* Hero band — matches the Data/Connect pages (full-width #002244 topo graphic) */
        .doc-hero { position: relative; overflow: hidden; background: #002244; color: #fff; width: 100%; }
        .doc-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
        .doc-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,15,30,.35) 0%, rgba(0,15,30,.15) 30%, rgba(0,15,30,.15) 45%, rgba(0,15,30,.55) 70%, rgba(0,15,30,.9) 100%); }
        .doc-hero-text { position: relative; z-index: 2; max-width: 1152px; margin: 0 auto; width: 100%; box-sizing: border-box; padding: 48px 24px 44px; display: flex; flex-direction: column; justify-content: center; }
        .doc-hero-eyebrow { font-family: 'Inter', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
        .doc-hero-h1 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 900; line-height: 1.15; letter-spacing: -0.5px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.5); margin: 0; }
        .doc-hero-badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
        .doc-hero-badge { font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; background: rgba(255,255,255,.16); color: #fff; padding: 5px 12px; border-radius: 20px; }

        /* Panel frame - wraps filters + toggle + results */
        .panel-frame {
            border: 1px solid #e0e0e0;
            border-radius: 0;
            overflow: hidden;
        }

        .filters-section { background: white; padding: 10px 20px; margin-bottom: 0; border: none; border-radius: 0; box-shadow: none; border-bottom: 1px solid #eee; }
        .filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 0; }
        .filter-group { display: flex; flex-direction: column; gap: 2px; position: relative; }
        .filter-label { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
        .filter-button { padding: 6px 10px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; font-family: 'Source Sans 3', sans-serif; background: white; cursor: pointer; text-align: left; display: flex; justify-content: space-between; align-items: center; transition: border-color 0.15s; color: #666; }
        .filter-button:hover { border-color: #002244; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .filter-button.has-selection { border-color: #002244; background: #f8fafc; }
        .filter-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 2px solid #002244; border-radius: 6px; margin-top: 4px; max-height: 300px; overflow-y: auto; z-index: 1000; display: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
        .filter-dropdown.open { display: block; }
        .filter-option { padding: 8px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; }
        .filter-option:hover { background: #f8fafc; }
        .filter-option input[type="checkbox"] { cursor: pointer; }
        .filter-count { background: #002244; color: white; padding: 2px 6px; border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 6px; }
        .filter-actions { display: flex; gap: 8px; }
        .clear-filters-btn { padding: 8px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; cursor: pointer; color: #64748b; }
        .clear-filters-btn:hover { background: #e2e8f0; color: #002244; }
        .active-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
        .filter-tag { background: #002244; color: white; padding: 4px 10px; border-radius: 4px; font-size: 12px; display: flex; align-items: center; gap: 6px; }
        .filter-tag-remove { cursor: pointer; font-weight: bold; }
        .filter-tag-remove:hover { opacity: 0.7; }
        .filter-actions-row { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
        .clear-filters-btn { padding: 8px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; font-size: 13px; cursor: pointer; color: #64748b; white-space: nowrap; }
        #searchInput { flex: 1; padding: 8px 12px; font-size: 14px; border: 1px solid #cbd5e0; border-radius: 6px; outline: none; height: 38px; box-sizing: border-box; }
        #searchInput:focus { border-color: #002244; }
        .stats { font-size: 13px; color: #64748b; white-space: nowrap; }

        /* ═══ BROWSE BY TOPIC ═══ */
        .topics-section { padding: 0 0 24px; min-height: 200px; }
        .topics-header {
            text-align: center;
            margin-bottom: 10px;
        }
        .topics-title {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 700;
            color: #999;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        /* ═══ FEATURED SECTION ═══ */
        .featured-section { background: transparent; padding: 8px 0; margin-bottom: 12px; min-height: 260px; }
        .featured-header {
            text-align: center;
            margin-bottom: 10px;
            position: relative;
        }
        .featured-title {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            font-weight: 700;
            color: #999;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        .featured-unhide-container {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }
        .featured-toggle-btn {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            padding: 6px 12px;
            border: 2px solid #64748b;
            background: white;
            color: #64748b;
            font-size: 13px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 10;
        }
        .featured-unhide-container .featured-toggle-btn {
            position: static;
            transform: none;
        }
        .featured-toggle-btn:hover {
            background: #f1f5f9;
            border-color: #475569;
            color: #475569;
        }
        /* Submit Document + Hide grouped at the right of the featured header */
        .featured-actions {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        .featured-actions .featured-toggle-btn {
            position: static;
            transform: none;
        }
        .featured-unhide-container {
            gap: 10px;
        }

        /* View Toggle */
        .view-toggle {
            display: flex;
            gap: 8px;
            margin-bottom: 0;
            padding: 10px 20px;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .view-btn {
            font-family: 'Inter', sans-serif;
            padding: 5px 12px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.15s;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            font-weight: 600;
            color: #999;
        }
        .view-btn:hover {
            border-color: #002244;
            color: #002244;
        }
        .view-btn.active {
            background: #002244;
            color: white;
            border-color: #002244;
        }
        .view-btn svg {
            width: 18px;
            height: 18px;
        }

        /* List View Table */
        .grid-container {
            display: none;
            background: white;
            border: none;
            border-radius: 0;
            padding: 20px;
            box-shadow: none;
        }
        .list-container {
            display: block;
        }
        .doc-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 0;
            overflow: hidden;
            border: none;
            box-shadow: none;
        }
        .doc-table thead {
            background: #fafafa;
            border-bottom: 2px solid #eee;
        }
        .doc-table th {
            font-family: 'Inter', sans-serif;
            padding: 8px 16px;
            text-align: left;
            font-weight: 700;
            font-size: 11px;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            user-select: none;
            position: relative;
        }
        .doc-table th:hover {
            background: #f1f5f9;
        }
        .doc-table th.sortable::after {
            content: ' ↕';
            opacity: 0.3;
            font-size: 12px;
        }
        .doc-table th.sorted-asc::after {
            content: ' ↑';
            opacity: 1;
            color: #002244;
        }
        .doc-table th.sorted-desc::after {
            content: ' ↓';
            opacity: 1;
            color: #002244;
        }

        /* ═══ SKELETON LOADING ═══ */
        @keyframes skeleton-pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }
        .skeleton { background: #e2e8f0; border-radius: 6px; animation: skeleton-pulse 1.5s ease-in-out infinite; }

        /* Featured skeleton */
        .skeleton-featured { display: flex; gap: 28px; justify-content: center; padding: 8px 20px; }
        .skeleton-featured-card { flex-shrink: 0; }
        .skeleton-featured-cover { width: 130px; height: 173px; border-radius: 6px; }
        .skeleton-featured-title { width: 100px; height: 14px; margin: 8px auto 4px; border-radius: 4px; }
        .skeleton-featured-meta { width: 70px; height: 10px; margin: 0 auto; border-radius: 4px; }

        /* Topics skeleton */
        .skeleton-topics-row { display: grid; gap: 14px; }
        .skeleton-topics-row.row3 { grid-template-columns: repeat(3, 1fr); }
        .skeleton-topics-row.row4 { grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
        .skeleton-topic-card { height: 72px; border-radius: 10px; }

        /* Table skeleton */
        .skeleton-table-row { display: flex; gap: 16px; padding: 16px; border-bottom: 1px solid #f1f5f9; align-items: center; }
        .skeleton-table-year { width: 60px; height: 16px; border-radius: 4px; flex-shrink: 0; }
        .skeleton-table-org { width: 140px; height: 16px; border-radius: 4px; flex-shrink: 0; }
        .skeleton-table-title { flex: 1; height: 16px; border-radius: 4px; }

        /* ═══ RESPONSIVE: SKELETON ═══ */
        @media (max-width: 768px) {
            .skeleton-featured { gap: 12px; padding: 4px 16px; }
            .skeleton-featured-cover { width: 115px; height: 153px; }
            .skeleton-featured-title { width: 80px; }
            .skeleton-topics-row.row3, .skeleton-topics-row.row4 { grid-template-columns: 1fr 1fr; }
            .skeleton-topic-card { height: 60px; }
        }

        /* ═══ RESPONSIVE: ABOVE-THE-FOLD ═══ */
        @media (max-width: 768px) {
            .header {
                position: sticky;
                top: 0;
                padding: 0;
            }
            .header-content {
                padding: 0 16px;
                height: 44px;
            }
            .header-logo { font-size: 15px; }
            .hd-sep, .hd-section { display: none; }
            .header-nav { display: none; }

            .panel-frame { border-left: none; border-right: none; }
            .language-toggle {
                flex-wrap: nowrap;
            }

            /* Hide sort arrows on mobile */
            .doc-table th.sortable::after,
            .doc-table th.sorted-asc::after,
            .doc-table th.sorted-desc::after {
                display: none;
            }

            /* Topic grid mobile */
            .topics-title { font-size: 11px; letter-spacing: 2px; }

            /* Featured mobile */
            .featured-section { padding: 8px 0 0; margin-bottom: 8px; overflow: hidden; min-height: 210px; }
            .featured-title { font-size: 11px; letter-spacing: 2px; }
            .featured-header {
                padding: 0 16px;
                margin-bottom: 6px;
            }
            .featured-toggle-btn { font-size: 11px; padding: 5px 10px; }

            /* Container */
            .container { padding: 12px 16px 60px; }
            .panel-frame { border-radius: 8px; }
            .grid-container { padding: 12px; }

            /* Filters mobile */
            .filters-grid { grid-template-columns: 1fr; gap: 12px; }
            .filter-actions-row { flex-direction: column; gap: 12px; align-items: stretch; }
            #searchInput { font-size: 16px; padding: 12px; width: 100%; box-sizing: border-box; }
            .stats { text-align: center; width: 100%; }
            .clear-filters-btn { width: 100%; }
            .filter-button { padding: 12px; font-size: 15px; }
            .clear-filters-btn { padding: 10px 16px; font-size: 14px; }

            /* Header mobile adjustments */
            .language-toggle { flex-wrap: wrap; }

            /* List view on mobile */
            .list-container {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }
            .doc-table {
                min-width: 600px;
            }
        }
