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

        :root {
            --primary: #9B1B30;
            --primary-dark: #7A1526;
            --primary-light: #C4354D;
            --bg: #F8F9FB;
            --surface: #FFFFFF;
            --surface-alt: #F1F3F7;
            --border: #E2E5EB;
            --border-light: #ECEEF2;
            --text: #1A1D26;
            --text-secondary: #5A5F72;
            --text-tertiary: #8B90A0;
            --success: #16A34A;
            --success-bg: #DCFCE7;
            --info: #2563EB;
            --info-bg: #DBEAFE;
            --warning: #D97706;
            --warning-bg: #FEF3C7;
            --radius: 10px;
            --radius-sm: 6px;
            --radius-lg: 14px;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);
            --transition: 150ms ease;
            /* Badge colors (light) */
            --badge-auditor-bg: #F3E8FF;
            --badge-auditor-text: #7C3AED;
            --badge-other-bg: #FFE4E6;
            --badge-other-text: #BE123C;
            --badge-foundation-text: #1E40AF;
            --badge-implementer-text: #15803D;
            --badge-manager-text: #92400E;
            --badge-status-available-text: #15803D;
            --badge-status-request-text: #92400E;
            --hover-bg: #FAFBFD;
            --primary-alpha-low: rgba(155, 27, 48, 0.06);
            --primary-alpha-med: rgba(155, 27, 48, 0.08);
            --primary-focus: rgba(155, 27, 48, 0.1);
            --chevron-color: %238B90A0;
        }

        [data-theme="dark"] {
            --primary: #D44460;
            --primary-dark: #9B1B30;
            --primary-light: #E8697F;
            --bg: #0F1117;
            --surface: #1A1D27;
            --surface-alt: #22252F;
            --border: #2E313C;
            --border-light: #262930;
            --text: #E8E9ED;
            --text-secondary: #A0A4B2;
            --text-tertiary: #6B7086;
            --success: #22C55E;
            --success-bg: rgba(34, 197, 94, 0.12);
            --info: #60A5FA;
            --info-bg: rgba(96, 165, 250, 0.12);
            --warning: #FBBF24;
            --warning-bg: rgba(251, 191, 36, 0.12);
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
            --shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.2);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.2);
            --shadow-lg: 0 10px 30px rgba(0,0,0,0.5), 0 4px 8px rgba(0,0,0,0.3);
            --badge-auditor-bg: rgba(124, 58, 237, 0.15);
            --badge-auditor-text: #A78BFA;
            --badge-other-bg: rgba(190, 18, 60, 0.15);
            --badge-other-text: #FB7185;
            --badge-foundation-text: #60A5FA;
            --badge-implementer-text: #4ADE80;
            --badge-manager-text: #FBBF24;
            --badge-status-available-text: #4ADE80;
            --badge-status-request-text: #FBBF24;
            --hover-bg: #1F222D;
            --primary-alpha-low: rgba(212, 68, 96, 0.1);
            --primary-alpha-med: rgba(212, 68, 96, 0.15);
            --primary-focus: rgba(212, 68, 96, 0.2);
            --chevron-color: %236B7086;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        /* ── Header ── */
        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-inner {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 64px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text);
        }

        .logo-mark {
            width: 36px;
            height: 36px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 14px;
            letter-spacing: -0.5px;
        }

        .logo-text {
            font-weight: 700;
            font-size: 18px;
            letter-spacing: -0.3px;
        }

        .logo-text span { color: var(--text-tertiary); font-weight: 400; margin-left: 4px; }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .header-nav a {
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: var(--radius-sm);
            transition: all var(--transition);
        }

        .header-nav a:hover {
            color: var(--text);
            background: var(--surface-alt);
        }

        .header-nav a.active { color: var(--primary); background: var(--primary-alpha-low); }

        /* ── Hero ── */
        .hero {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
            color: white;
            padding: 48px 24px 56px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

        .breadcrumb {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            opacity: 0.75;
            margin-bottom: 16px;
        }

        .breadcrumb a { color: white; text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }
        .breadcrumb svg { width: 14px; height: 14px; }

        .hero h1 {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -0.5px;
            margin-bottom: 10px;
        }

        .hero p {
            font-size: 16px;
            opacity: 0.85;
            max-width: 480px;
            margin: 0 auto;
        }

        /* ── Stats ── */
        .stats-bar {
            max-width: 1920px;
            margin: -28px auto 0;
            padding: 0 20px;
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            max-width: 800px;
            margin: 0 auto;
        }

        .stat-card {
            background: var(--surface);
            border-radius: var(--radius);
            padding: 20px 24px;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-light);
        }

        .stat-card .stat-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--text);
            letter-spacing: -0.5px;
        }

        .stat-card .stat-label {
            font-size: 13px;
            color: var(--text-tertiary);
            margin-top: 2px;
        }

        /* ── Toolbar ── */
        .toolbar {
            max-width: 1920px;
            margin: 28px auto 0;
            padding: 0 20px;
        }

        .toolbar-inner {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .search-box {
            flex: 1;
            min-width: 260px;
            position: relative;
        }

        .search-box svg {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            color: var(--text-tertiary);
            pointer-events: none;
        }

        .search-box input {
            width: 100%;
            padding: 10px 14px 10px 42px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 14px;
            font-family: inherit;
            background: var(--surface);
            color: var(--text);
            transition: all var(--transition);
            outline: none;
        }

        .search-box input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-focus);
        }

        .search-box input::placeholder { color: var(--text-tertiary); }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-select {
            appearance: none;
            padding: 10px 36px 10px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-size: 14px;
            font-family: inherit;
            background: var(--surface) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238B90A0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat;
            color: var(--text);
            cursor: pointer;
            outline: none;
            transition: all var(--transition);
        }

        .filter-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-focus);
        }

        .result-count {
            font-size: 13px;
            color: var(--text-tertiary);
            white-space: nowrap;
        }

        /* ── Category Pills ── */
        .categories {
            max-width: 1920px;
            margin: 16px auto 0;
            padding: 0 20px;
        }

        .pill-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .pill {
            padding: 6px 14px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 500;
            border: 1px solid var(--border);
            background: var(--surface);
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition);
            white-space: nowrap;
        }

        .pill:hover { border-color: var(--primary); color: var(--primary); }

        .pill.active {
            background: var(--primary);
            border-color: var(--primary);
            color: white;
        }

        /* ── Table ── */
        .table-wrap {
            width: 100%;
            margin: 20px auto 40px;
            padding: 0 24px;
            max-width: 1920px; /* Limit table width on ultra-wide screens */
        }

        .table-container {
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            border: 1px solid var(--border-light);
            overflow: hidden;
            width: 100%;
        }

        .table-scroll { 
            overflow-x: auto;
            width: 100%;
        }

        table {
            width: 100%;
            min-width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            table-layout: fixed;
        }

        col.col-standard { width: 16%; min-width: 160px; }
        col.col-level { width: 18%; min-width: 180px; }
        col.col-lang { width: 7%; min-width: 70px; }
        col.col-version { width: 7%; min-width: 70px; }
        col.col-std { width: 10%; min-width: 95px; }
        col.col-changelog { width: 10%; min-width: 95px; }
        col.col-status { width: 10%; min-width: 100px; }
        col.col-category { width: 7%; min-width: 70px; }

        thead {
            position: sticky;
            top: 0;
            z-index: 5;
        }

        thead th {
            background: var(--surface-alt);
            padding: 12px 10px;
            text-align: left;
            vertical-align: middle;
            font-weight: 600;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-secondary);
            border-bottom: 1px solid var(--border);
            white-space: normal;
            cursor: pointer;
            user-select: none;
            transition: background var(--transition);
            overflow-wrap: break-word;
            word-wrap: break-word;
            position: relative;
            min-width: 0;
        }

        /* Sortable column headers - clean design without arrows */
        thead th[data-sort] {
            cursor: pointer;
            user-select: none;
            position: relative;
            transition: background-color 0.2s ease;
        }

        thead th[data-sort]:hover {
            background-color: rgba(155, 27, 48, 0.05);
        }

        thead th.sorted-asc,
        thead th.sorted-desc {
            background-color: rgba(155, 27, 48, 0.1);
            font-weight: 600;
        }

        /* Hide sort icons */
        thead th .sort-icon {
            display: none;
        }

        thead th:last-child {
            padding-right: 14px;
        }

        tbody tr {
            border-bottom: 1px solid var(--border-light);
            transition: background var(--transition);
            height: auto;
        }

        tbody tr:last-child { border-bottom: none; }
        tbody tr:hover { background: var(--hover-bg); }

        tbody td {
            padding: 12px 10px;
            vertical-align: middle;
            overflow-wrap: break-word;
            word-wrap: break-word;
            word-break: break-word;
            white-space: normal;
            min-width: 0;
            max-width: 100%;
            height: auto;
            line-height: 1.5;
            overflow: hidden;
            text-overflow: clip;
        }
        
        /* Column-specific alignment for tbody cells */
        /* Columns: Standard/Area, Level, Language, Version, Std Version, Change Log, Status, Category */
        
        /* Left-aligned columns */
        tbody td:nth-child(1), /* Standard/Area */
        tbody td:nth-child(2)  /* Level */ {
            text-align: left;
        }
        
        /* Center-aligned columns */
        tbody td:nth-child(3), /* Language */
        tbody td:nth-child(4), /* Version */
        tbody td:nth-child(5), /* Standard Version */
        tbody td:nth-child(6), /* Change Log */
        tbody td:nth-child(7), /* Status */
        tbody td:nth-child(8)  /* Category */ {
            text-align: center !important;
        }
        
        /* Ensure no content overflows horizontally */
        tbody td * {
            max-width: 100%;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .course-standard {
            font-weight: 600;
            color: var(--text-secondary);
            white-space: normal;
            overflow-wrap: break-word;
            word-wrap: break-word;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .category-name {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 500;
            white-space: normal;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        .lang-single {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 500;
			align-items: center !important;
        }

        .level-badge {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            padding: 5px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 500;
            background: var(--surface-alt);
            color: var(--text-secondary);
            white-space: normal;
            word-break: normal;
            overflow-wrap: normal;
            width: auto !important;
            max-width: 100%;
            line-height: 1.5;
            text-align: center;
            hyphens: none;
            align-self: center;
            flex: 0 1 auto !important;
            min-width: 0;
        }

/*
        .level-badge.foundation { background: var(--info-bg); color: var(--badge-foundation-text); }
        .level-badge.auditor { background: var(--badge-auditor-bg); color: var(--badge-auditor-text); }
        .level-badge.implementer { background: var(--success-bg); color: var(--badge-implementer-text); }
        .level-badge.manager { background: var(--warning-bg); color: var(--badge-manager-text); }
        .level-badge.other { background: var(--badge-other-bg); color: var(--badge-other-text); }
        
        /* Tooltip styling for level badges
        .level-badge[title] {
            cursor: help;
            position: relative;
        } */
        
        .level-badge[title]:hover {
            opacity: 0.9;
        }

        .lang-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            max-width: 220px;
        }

        .lang-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;
            background: var(--surface-alt);
            color: var(--text-secondary);
            white-space: nowrap;
        }

        .lang-tag.primary-lang { background: var(--primary-alpha-med); color: var(--primary); }

        .lang-more {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
            background: var(--surface-alt);
            color: var(--text-tertiary);
            cursor: default;
			align-items: center;
        }

        .version-num {
            font-family: 'SF Mono', 'Fira Code', monospace;
            font-size: 13px;
            color: var(--text-secondary);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .std-version {
            font-size: 13px;
            color: var(--text-tertiary);
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .changelog-text {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
            word-wrap: break-word;
            overflow-wrap: break-word;
            white-space: normal;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .changelog-text a {
            color: var(--primary);
            text-decoration: none;
            transition: color var(--transition);
        }

        .changelog-text a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .changelog-mobile {
            font-size: 13px;
            color: var(--text-secondary);
            line-height: 1.5;
        }

        .changelog-mobile a {
            color: var(--primary);
            text-decoration: none;
        }

        .changelog-mobile a:hover {
            text-decoration: underline;
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 10px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-badge.available { background: var(--success-bg); color: var(--badge-status-available-text); }
        .status-badge.request { background: var(--warning-bg); color: var(--badge-status-request-text); }

        .status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
        }

        /* ── Pagination ── */
        .table-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            border-top: 1px solid var(--border-light);
            font-size: 13px;
            color: var(--text-tertiary);
        }

        .pagination {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .pagination button {
            width: 34px;
            height: 34px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: var(--surface);
            color: var(--text-secondary);
            font-family: inherit;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
        }

        .pagination button:hover { border-color: var(--primary); color: var(--primary); }
        .pagination button.active { background: var(--primary); border-color: var(--primary); color: white; }
        .pagination button:disabled { opacity: 0.4; cursor: default; }
        .pagination button:disabled:hover { border-color: var(--border); color: var(--text-secondary); }

        /* ── Footer ── */
        .footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 32px 24px;
            margin-top: 16px;
        }

        .footer-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .footer-left {
            font-size: 13px;
            color: var(--text-tertiary);
        }

        .footer-links {
            display: flex;
            gap: 20px;
        }

        .footer-links a {
            font-size: 13px;
            color: var(--text-tertiary);
            text-decoration: none;
            transition: color var(--transition);
        }

        .footer-links a:hover { color: var(--primary); }

        .social-icons {
            display: flex;
            gap: 8px;
        }

        .social-icons a {
            width: 34px;
            height: 34px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            text-decoration: none;
            transition: all var(--transition);
            font-size: 14px;
        }

        .social-icons a:hover { border-color: var(--primary); color: var(--primary); }

        /* ── Empty state ── */
        .empty-state {
            padding: 60px 24px;
            text-align: center;
            color: var(--text-tertiary);
            display: none;
        }

        .empty-state svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: 0.4; }
        .empty-state p { font-size: 15px; }

        /* ── Dark mode overrides ── */
        [data-theme="dark"] .filter-select {
            background: var(--surface) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7086' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center no-repeat;
        }

        [data-theme="dark"] .hero {
            background: linear-gradient(135deg, #1A0A10 0%, #2D0F1A 50%, #3A1525 100%);
        }

        [data-theme="dark"] .pill.active {
            background: var(--primary);
            border-color: var(--primary);
        }

        /* ── Theme Toggle ── */
        .theme-toggle {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            background: var(--surface-alt);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition);
            flex-shrink: 0;
            font-size: 16px;
            line-height: 1;
            padding: 0;
        }

        .theme-toggle:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-alpha-low);
        }

        .theme-toggle svg {
            width: 18px;
            height: 18px;
        }

        .theme-toggle .icon-sun { display: none; }
        .theme-toggle .icon-moon { display: block; }

        [data-theme="dark"] .theme-toggle .icon-sun { display: block; }
        [data-theme="dark"] .theme-toggle .icon-moon { display: none; }

        /* ── Theme Transition ── */
        body, .header, .table-container, .stat-card, .pill,
        .course-card, .footer, .search-box input, .filter-select,
        .pagination button, .social-icons a {
            transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
        }

        /* ── Mobile Cards ── */
        .mobile-cards {
            display: none;
        }

        .course-card {
            background: var(--surface);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 16px;
            margin-bottom: 10px;
        }

        .course-card:last-child { margin-bottom: 0; }

        .card-header {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            flex-wrap: nowrap;
            margin-bottom: 10px;
            gap: 8px;
            min-height: 44px;
        }

        .card-title {
            display: flex;
            align-items: center !important;
            gap: 8px;
            font-weight: 600;
            font-size: 15px;
            color: var(--text);
            flex: 1 1 auto;
            min-width: 0;
            align-self: center;
            white-space: normal;
            word-break: normal;
            overflow-wrap: normal;
			margin: 0 !important;
        }

        .card-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
        }

        .card-row:last-child { margin-bottom: 0; }

        .card-label {
            font-size: 14px;
            font-weight: 700;
            text-transform: none;
            letter-spacing: 0;
            color: var(--text-secondary);
            width: 110px;
            min-width: 110px;
            flex-shrink: 0;
            padding-top: 0;
            white-space: nowrap;
            align-self: center;
        }

        .card-label::after {
            content: ':';
        }

        .card-value {
            font-size: 14px;
            color: var(--text-secondary);
            min-width: 0;
            display: flex;
            align-items: center;
        }

        .card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .card-meta-item {
            font-size: 14px;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
        }

        .card-meta-item span {
            font-weight: 600;
            color: var(--text);
            margin-left: 4px;
        }

        .card-langs {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
        }

        /* ── Responsive ── */
        
        /* ═══════════════════════════════════════════════════════════════════════
           STATIC ARROW POSITIONING:
           
           Wide columns (Standard, Level, Std Version, Change Log, Status):
           → Arrows ALWAYS on the RIGHT
           
           Narrow columns (Language, Version, Category):
           → Arrows ALWAYS BELOW text (centered)
           
           This is consistent across ALL screen sizes.
        ═══════════════════════════════════════════════════════════════════════ */
        
        /* Better zoom out support - allow table to expand but keep some padding */
        @media (min-width: 1800px) {
            .table-wrap {
                padding: 0 20px;
            }
        }
        
        @media (min-width: 2200px) {
            .table-wrap {
                padding: 0 16px;
            }
        }
        
        /* 14" laptops and similar (1280px - 1600px) - optimize for no horizontal scroll */
        @media (min-width: 1280px) and (max-width: 1600px) {
            table {
                min-width: 1100px; /* Fits most 14" screens */
            }
            
            thead th {
                font-size: 11px;
            }
            
            tbody td {
                font-size: 13px;
            }
        }
        
        /* Medium screens (1025px - 1279px) */
        @media (min-width: 1025px) and (max-width: 1279px) {
            table {
                min-width: 1000px;
            }
            
            thead th {
                font-size: 11px;
            }
            
            tbody td {
                font-size: 13px;
                padding: 10px 8px;
            }
        }
        
        /* Mobile landscape / small tablets (≤1024px) */
        @media (max-width: 1024px) {
            .table-wrap { 
                padding: 0 16px; 
            }
            
            thead th {
                font-size: 11px;
            }
            
            tbody td {
                font-size: 13px;
                padding: 10px 8px;
            }
        }
        
        @media (max-width: 768px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .header-nav { display: none; }
            .hero h1 { font-size: 24px; }
            .hero { padding: 32px 20px 40px; }
            .toolbar-inner { flex-direction: column; align-items: stretch; }
            .filter-group { flex-wrap: wrap; }
            .table-footer { flex-direction: column; gap: 12px; text-align: center; }

            .table-scroll { display: none; }
            .mobile-cards { display: block; padding: 12px; }

            .table-wrap { padding: 0 12px; }
            .stats-bar { padding: 0 12px; }
            .toolbar { padding: 0 12px; }
            .categories { padding: 0 12px; }
        }

        @media (max-width: 480px) {
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
            .stat-card { padding: 14px 16px; }
            .stat-card .stat-value { font-size: 22px; }
        }

        /* ── Scroll shimmer ── */
        .table-scroll::-webkit-scrollbar { height: 6px; }
        .table-scroll::-webkit-scrollbar-track { background: var(--surface-alt); }
        .table-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
        .table-scroll::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

        /* ── Specific Column Header Styles ── */
        
        /* Column Alignment Rules - using nth-child for guaranteed specificity */
        /* Col order: 1=Standard, 2=Level, 3=Language, 4=Version, 5=StdVersion, 6=ChangeLog, 7=Status, 8=Category */
        
        /* Left-aligned header columns */
        thead th:nth-child(1),
        thead th:nth-child(2) {
            text-align: left !important;
        }
        
        /* Center-aligned header columns */
        thead th:nth-child(3),
        thead th:nth-child(4),
        thead th:nth-child(5),
        thead th:nth-child(6),
        thead th:nth-child(7),
        thead th:nth-child(8) {
            text-align: center !important;
        }
        
        /* Narrow columns - compact padding */
        thead th:nth-child(3),
        thead th:nth-child(4),
        thead th:nth-child(8) {
            padding: 10px 8px;
        }
        
        /* Standard/Area - compact but readable */
        thead th[data-sort="standard"] {
            width: 16%;
            min-width: 160px;
        }
        
        /* Level - accommodate badge text */
        thead th[data-sort="level"] {
            width: 18%;
            min-width: 180px;
        }
        
        /* Language - compact, centered */
        thead th[data-sort="languages"] {
            width: 7%;
            min-width: 70px;
        }
        
        /* Version - compact, centered */
        thead th[data-sort="version"] {
            width: 7%;
            min-width: 70px;
        }
        
        /* Standard Version */
        thead th[data-sort="std_version"] {
            width: 10%;
            min-width: 80px;
            text-align: center !important;
        }
        
        /* Change Log */
        thead th[data-sort="change_log"] {
            width: 10%;
            min-width: 80px;
        }
        
        /* Status - moderate width */
        thead th[data-sort="status"] {
            width: 10%;
            min-width: 100px;
        }
        
        /* Category - compact, centered */
        thead th[data-sort="category"] {
            width: 7%;
            min-width: 70px;
        }
        
        /* Allow all header text to wrap if needed */
        thead th {
            word-break: normal;
            hyphens: none;
        }
        
        /* Prevent overlap on zoom - optimized for 14" screens and up */
        @media (min-width: 1024px) {
            table {
                min-width: 1100px; /* Reduced from 1400px to fit 14" screens */
            }
        }
        
        /* Better handling of zoom in/out */
        @supports (zoom: 1) {
            table {
                zoom: inherit;
            }
        }
        
        /* Enable horizontal scroll on smaller screens */
        .table-scroll {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
