        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: Arial, Helvetica, sans-serif; line-height: 1.6; color: #002244; background: #f7f8fa; }

        /* Header - matches main site */
        .header {
            background: #002244;
            padding: 0;
            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: 52px; }
        .header-left { display: flex; align-items: center; gap: 12px; }
        .header-right { display: flex; align-items: center; gap: 16px; }
        .site-title h1 { font-size: 18px; font-weight: 700; color: white; margin: 0; cursor: pointer; transition: opacity 0.15s; }
        .site-title h1:hover { opacity: 0.85; }
        .title-desktop { display: inline; }
        .title-mobile { display: none; }
        .hd-sep { opacity: 0.3; font-weight: 400; margin: 0 2px; }
        .hd-section { font-weight: 400; font-size: 13px; opacity: 0.55; letter-spacing: 0.04em; text-transform: uppercase; }
        .language-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.1); padding: 2px; border-radius: 5px; border: none; }
        .lang-btn { padding: 4px 10px; border: none; background: transparent; color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 700; cursor: pointer; border-radius: 3px; transition: all 0.15s; font-family: Arial, Helvetica, sans-serif; }
        .lang-btn:hover { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
        .lang-btn.active { background: rgba(255,255,255,0.18); color: white; }

        /* Hero Banner */
        .collection-hero {
            position: relative;
            overflow: hidden;
            padding: 56px 24px 48px;
        }
        .collection-color-bar {
            height: 4px;
            width: 100%;
        }
        .collection-hero-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            background-size: cover;
            background-position: center;
            transition: none;
        }
        .collection-hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 100%);
        }
        /* Stronger scrim when a photo is present */
        .collection-hero-bg.has-image::after {
            background: linear-gradient(
                105deg,
                rgba(0,0,0,0.68) 0%,
                rgba(0,0,0,0.50) 40%,
                rgba(0,0,0,0.30) 70%,
                rgba(0,0,0,0.22) 100%
            );
        }
        .collection-hero-content {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
        }
        .collection-breadcrumb {
            margin-bottom: 16px;
        }
        .collection-breadcrumb a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: color 0.15s;
        }
        .collection-breadcrumb a:hover {
            color: white;
        }
        .collection-breadcrumb span {
            color: rgba(255,255,255,0.4);
            margin: 0 6px;
            font-size: 12px;
        }
        .collection-breadcrumb .current {
            color: rgba(255,255,255,0.9);
            font-weight: 600;
        }
        .collection-hero-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(255,255,255,0.18);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            border: 1px solid rgba(255,255,255,0.15);
        }
        .collection-hero-icon svg {
            width: 26px;
            height: 26px;
            stroke: white;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .collection-hero h1 {
            font-size: 34px;
            font-weight: 800;
            color: white;
            margin-bottom: 12px;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.15);
        }
        .collection-hero-desc {
            font-size: 16px;
            color: rgba(255,255,255,0.88);
            line-height: 1.6;
            max-width: 640px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.12);
        }
        .collection-hero-stats {
            display: flex;
            gap: 20px;
            margin-top: 22px;
        }
        .collection-stat {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: rgba(255,255,255,0.75);
            background: rgba(255,255,255,0.12);
            padding: 6px 14px;
            border-radius: 20px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,255,255,0.1);
        }

        /* Main content */
        .container { max-width: 1200px; margin: 0 auto; padding: 24px 24px 80px; }

        /* Search/filter bar */
        .collection-toolbar {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
            background: white;
            padding: 12px 16px;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .collection-search {
            flex: 1;
            padding: 8px 12px;
            font-size: 14px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            outline: none;
            font-family: inherit;
        }
        .collection-search:focus { border-color: #002244; }
        .collection-sort {
            padding: 8px 12px;
            font-size: 13px;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            background: white;
            cursor: pointer;
            font-family: inherit;
            color: #475569;
        }
        .collection-count-bar {
            font-size: 13px;
            color: #64748b;
        }

        /* ═══ View Toggle ═══ */
        .view-toggle {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }
        .view-btn {
            padding: 8px 16px;
            background: white;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 600;
            color: #64748b;
            font-family: inherit;
        }
        .view-btn:hover {
            border-color: #cbd5e0;
            background: #f8fafc;
        }
        .view-btn.active {
            background: #002244;
            color: white;
            border-color: #002244;
        }
        .view-btn svg {
            width: 18px;
            height: 18px;
        }

        /* ═══ Grid View Cards ═══ */
        .grid-container {
            display: none;
        }
        .documents-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }
        .document-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.5s ease;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .document-card:not(.expanded) { cursor: pointer; }
        .document-card:not(.expanded):hover {
            border-color: #cbd5e0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }
        .document-card.expanded {
            grid-column: 1 / -1;
            box-shadow: 0 8px 24px rgba(0,34,68,0.12);
            position: relative;
        }
        .card-close-btn {
            display: none;
            position: absolute;
            top: 16px;
            right: 16px;
            width: 28px;
            height: 28px;
            border: none;
            background: #f1f5f9;
            color: #64748b;
            font-size: 20px;
            cursor: pointer;
            border-radius: 6px;
            transition: all 0.2s;
            align-items: center;
            justify-content: center;
            z-index: 10;
            line-height: 1;
        }
        .document-card.expanded .card-close-btn { display: flex; }
        .card-close-btn:hover { background: #e2e8f0; color: #002244; }

        /* Compact view (collapsed state) */
        .doc-header-compact { margin-bottom: 12px; }
        .doc-title-compact { font-size: 17px; font-weight: 600; color: #002244; margin-bottom: 8px; line-height: 1.4; }
        .doc-meta-compact { font-size: 13px; color: #64748b; margin-bottom: 12px; }
        .doc-content-compact { display: flex; gap: 12px; margin-bottom: 12px; }
        .doc-cover-small { width: 80px; height: auto; object-fit: contain; border-radius: 4px; border: 1px solid #e2e8f0; background: #fafafa; max-height: 106px; flex-shrink: 0; }
        .doc-summary-preview { color: #475569; font-size: 14px; line-height: 1.5; }
        .expand-btn {
            padding: 8px 16px;
            background: white;
            color: #002244;
            border: 1px solid #cbd5e0;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
            font-family: inherit;
        }
        .expand-btn:hover { background: #f8fafc; border-color: #002244; }

        /* Expanded view (detail state) */
        .doc-header-expanded { display: none; gap: 16px; margin-bottom: 16px; }
        .doc-cover { width: 150px; height: auto; object-fit: contain; border-radius: 4px; border: 1px solid #e2e8f0; flex-shrink: 0; background: #fafafa; max-height: 210px; }
        .doc-info { flex: 1; min-width: 0; }
        .doc-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #64748b; margin-bottom: 12px; }
        .org-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
        .doc-summary-short-card { color: #475569; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
        .doc-details-grid { display: none; }

        /* Toggle visibility based on expanded state */
        .document-card.expanded .doc-header-compact { display: none; }
        .document-card.expanded .doc-content-compact { display: none; }
        .document-card.expanded .doc-summary-preview { display: none; }
        .document-card.expanded .expand-btn { display: none; }
        .document-card.expanded .doc-header-expanded { display: flex; }
        .document-card.expanded .doc-details-grid { display: block; }
        .document-card.expanded .org-badges { display: none; }

        /* ========== Subtopics Section ========== */
        .subtopics-section { margin-bottom: 28px; min-height: 180px; }
        .subtopics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
        .subtopic-card { background: white; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease, border-top 0.2s ease; border-top: 3px solid #e2e8f0; }
        .subtopic-card:hover { box-shadow: 0 4px 16px rgba(0,34,68,0.08); border-top-color: var(--collection-color, #cbd5e0); }
        .subtopic-card-header { padding: 18px 18px 14px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
        .subtopic-name { font-size: 17px; font-weight: 800; color: #002244; line-height: 1.3; }
        .subtopic-docs { padding: 0; }
        .subtopic-doc-row { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #f7f8fa; text-decoration: none; color: inherit; transition: background 0.12s; }
        .subtopic-doc-row:last-child { border-bottom: none; }
        .subtopic-doc-row:hover { background: #f8fafc; }
        .subtopic-doc-cover { width: 36px; height: 48px; border-radius: 3px; object-fit: contain; background: #f1f5f9; border: 1px solid #e2e8f0; flex-shrink: 0; }
        .subtopic-doc-info { flex: 1; min-width: 0; }
        .subtopic-doc-title { font-size: 13.5px; font-weight: 600; color: #002244; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .subtopic-doc-meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
        .subtopic-doc-arrow { flex-shrink: 0; color: #cbd5e0; transition: color 0.15s; }
        .subtopic-doc-row:hover .subtopic-doc-arrow { color: #002244; }
        .subtopic-card-footer { padding: 10px 18px; border-top: 1px solid #f1f5f9; text-align: right; }
        .subtopic-view-all { font-size: 12.5px; font-weight: 600; color: #64748b; text-decoration: none; transition: color 0.15s; cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; }
        .subtopic-view-all:hover { color: #002244; }
        .section-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
        .section-divider-label { font-size: 14px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
        .section-divider-line { flex: 1; height: 1px; background: #e2e8f0; }

        /* Document list - handled by doc-table styles above */

        /* ═══ Expandable Document Table ═══ */
        .doc-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            border: 1px solid #e2e8f0;
        }
        .doc-table thead {
            background: #f8fafc;
            border-bottom: 2px solid #e2e8f0;
        }
        .doc-table th {
            padding: 12px 16px;
            text-align: left;
            font-weight: 700;
            font-size: 12px;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            user-select: none;
            white-space: nowrap;
            transition: color 0.15s;
        }
        .doc-table th:hover { color: #002244; }
        .doc-table th .sort-arrow {
            display: inline-block;
            margin-left: 4px;
            font-size: 10px;
            opacity: 0.3;
            transition: opacity 0.15s;
        }
        .doc-table th.sort-active .sort-arrow { opacity: 1; }
        .doc-table th.sort-active { color: #002244; }
        .doc-table td {
            padding: 14px 16px;
            border-bottom: 1px solid #f1f5f9;
            font-size: 14px;
        }
        .doc-table tbody tr.table-main-row {
            transition: background 0.15s;
            cursor: pointer;
        }
        .doc-table tbody tr.table-main-row:hover {
            background: #f8fafc;
        }
        .table-main-row.row-expanded {
            background: #f0f4f8;
            border-bottom-color: transparent;
        }
        .table-year { width: 70px; color: #64748b; font-weight: 600; white-space: nowrap; }
        .table-org { width: 180px; color: #475569; }
        .table-title-cell { color: #002244; font-weight: 500; line-height: 1.4; }
        .table-lang { width: 36px; color: #002244; font-weight: 500; text-align: center; font-size: 13px; }

        /* Expanded detail row */
        .table-detail-row { background: #f7f8fa; }
        .table-detail-row td { padding: 0; border-bottom: 2px solid #e2e8f0; }
        .table-detail-content {
            padding: 24px;
            animation: slideDown 0.3s ease-out;
        }
        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .table-detail-header { display: flex; gap: 20px; margin-bottom: 20px; }
        .table-detail-cover { flex-shrink: 0; }
        .table-detail-cover img { width: 120px; height: auto; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
        .table-detail-info { flex: 1; }
        .detail-row { margin-bottom: 12px; }
        .detail-row:last-child { margin-bottom: 0; }
        .detail-label { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 4px; }
        .detail-value { font-size: 13px; color: #475569; line-height: 1.5; }
        .detail-bullets { margin: 0; padding-left: 1.5em !important; font-size: 13px; color: #475569; line-height: 1.6; list-style-type: disc !important; }
        .detail-bullets li { margin-bottom: 6px; }
        .detail-bullets li:last-child { margin-bottom: 0; }
        .doc-summary-long { color: #475569; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
        .organization-badge { background: transparent; color: #475569; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 400; border: 1px solid #009FDA; display: inline-block; }
        .detail-actions {
            display: flex; gap: 12px; margin-top: 20px; padding-top: 20px;
            border-top: 1px solid #e2e8f0; flex-wrap: wrap;
        }
        .detail-btn-primary, .detail-btn-secondary, .detail-btn-link {
            display: inline-flex; align-items: center; padding: 10px 20px;
            border-radius: 6px; font-size: 14px; font-weight: 600;
            text-decoration: none; cursor: pointer; transition: all 0.2s;
            box-sizing: border-box; height: 44px; font-family: inherit;
        }
        .detail-btn-primary { background: #002244; color: white; border: none; }
        .detail-btn-primary:hover { background: #001a33; }
        .detail-btn-secondary { background: white; color: #64748b; border: 2px solid #e2e8f0; }
        .detail-btn-secondary:hover { border-color: #cbd5e0; color: #002244; }
        .detail-btn-link { background: white; color: #64748b; border: 1px solid #cbd5e0; gap: 5px; }
        .detail-btn-link:hover { border-color: #002244; color: #002244; }

        /* Mobile modal for doc details */
        .doc-modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5); z-index: 1000;
            display: flex; align-items: flex-start; justify-content: center;
            padding: 40px 20px; overflow-y: auto;
        }
        .doc-modal {
            background: white; border-radius: 8px; max-width: 800px; width: 100%;
            position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); margin: 0 auto;
        }
        .doc-modal-close {
            position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
            border: none; background: #f1f5f9; color: #64748b; font-size: 24px;
            cursor: pointer; border-radius: 6px; transition: all 0.2s;
            display: flex; align-items: center; justify-content: center; z-index: 10;
        }
        .doc-modal-close:hover { background: #e2e8f0; color: #002244; }
        .doc-modal-content { padding: 20px; }
        .modal-doc-layout { display: flex; gap: 24px; align-items: flex-start; }
        .modal-doc-cover-col { flex-shrink: 0; }
        .modal-doc-cover-col img { width: 180px; height: auto; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
        .modal-doc-text-col { flex: 1; min-width: 0; }
        .modal-btn-row { display: flex; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e2e8f0; flex-wrap: wrap; }

        .no-results {
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
            background: white;
            border-radius: 8px;
        }

        .loading { text-align: center; padding: 60px 20px; color: #64748b; }

        /* Back to top */
        .back-to-top {
            position: fixed; bottom: 30px; right: 30px;
            background: #002244; color: white;
            width: 50px; height: 50px; border-radius: 50%;
            border: none; cursor: pointer;
            display: none; align-items: center; justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transition: all 0.3s; z-index: 1000;
        }
        .back-to-top:hover { background: #001a33; transform: translateY(-2px); }
        .back-to-top.visible { display: flex; }

        /* Cross-links nav */
        .collections-nav { max-width: 1200px; margin: 48px auto 0; padding: 0 24px 48px; }
        .collections-nav-title { font-size: 13px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
        .collections-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
        .collections-nav-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: white; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: #002244; font-size: 14px; font-weight: 500; transition: all 0.15s; }
        .collections-nav-link:hover { border-color: #002244; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
        .collections-nav-link.current { border-color: #002244; background: #f8fafc; font-weight: 700; pointer-events: none; }
        .collections-nav-link .nav-arrow { color: #94a3b8; margin-left: auto; font-size: 12px; }
        .collections-nav-link.current .nav-arrow { display: none; }
        @media (max-width: 640px) {
            .collections-nav-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .header-content { flex-wrap: wrap; height: auto; padding: 0 16px; gap: 0; }
            .header-left { width: 100%; padding: 10px 0 6px; }
            .site-title h1 { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
            .hd-section { font-size: 11px; }
            .header-right { width: 100%; padding: 0 0 8px; justify-content: flex-end; }

            .collection-hero { padding: 32px 20px 28px; }
            .collection-hero h1 { font-size: 24px; }
            .collection-hero-desc { font-size: 14px; }
            .collection-hero-stats { gap: 8px; flex-wrap: wrap; }
            .collection-stat { font-size: 12px; padding: 5px 10px; }

            .container { padding: 16px 16px 60px; }
            .collection-toolbar { flex-wrap: wrap; }
            .subtopics-grid { grid-template-columns: 1fr; }
            .collection-search { width: 100%; }

            /* Grid view mobile */
            .documents-grid { gap: 12px; grid-template-columns: 1fr; }
            .grid-container { padding: 0; }
            .document-card { padding: 16px; }

            /* Table → card conversion on mobile */
            .doc-table { display: block !important; min-width: 0 !important; border: none !important; border-radius: 8px !important; overflow: hidden !important; }
            .doc-table thead { display: none !important; }
            .doc-table tbody { display: block !important; }
            .doc-table .table-main-row {
                display: flex !important; flex-wrap: wrap; padding: 14px 16px;
                border-bottom: 1px solid #f1f5f9; cursor: pointer;
                align-items: baseline; gap: 4px 8px; background: white; transition: background 0.15s;
            }
            .doc-table .table-main-row:active { background: #f1f5f9; }
            .doc-table .table-main-row td {
                display: block !important; padding: 0 !important; border: none !important;
            }
            .doc-table .table-main-row .table-title-cell {
                order: 1; width: 100%; font-size: 15px; font-weight: 600; color: #002244; line-height: 1.4; margin-bottom: 2px;
            }
            .doc-table .table-main-row .table-org { order: 2; width: auto; font-size: 13px; color: #64748b; }
            .doc-table .table-main-row .table-year { order: 3; width: auto; font-size: 13px; color: #64748b; }
            .doc-table .table-main-row .table-year::before { content: '•'; margin-right: 8px; color: #cbd5e0; }
            .doc-table .table-main-row .table-lang { order: 4; width: auto; font-size: 13px; color: #64748b; }
            .doc-table .table-main-row .table-lang:not(:empty)::before { content: '•'; margin-right: 8px; color: #cbd5e0; }
            /* Hide inline detail rows on mobile — use modal instead */
            .doc-table .table-detail-row { display: none !important; }

            /* Mobile modal adjustments */
            .doc-modal-overlay { padding: 10px !important; }
            .doc-modal { max-width: calc(100vw - 20px) !important; margin: 10px; }
            .doc-modal-content { padding: 16px; }
            .modal-doc-layout { flex-direction: column !important; align-items: center !important; gap: 16px !important; }
            .modal-doc-cover-col img { width: 120px !important; }
            .modal-doc-text-col { width: 100%; }
            .modal-btn-row { flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
            .modal-btn-row a, .modal-btn-row button { width: 100% !important; justify-content: center !important; text-align: center !important; }

            /* Table detail content mobile */
            .table-detail-content { padding: 16px; }
            .table-detail-header { flex-direction: column; }
            .table-detail-cover img { width: 100px !important; max-height: 133px !important; object-fit: contain !important; display: block; margin: 0 auto; }
        }
