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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: #0a0f1e;
            color: #e2e8f0;
            min-height: 100vh;
        }

        /* ── Top bar ── */
        .topbar {
            background: #0f172a;
            border-bottom: 1px solid #1e293b;
            padding: 14px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .topbar h1 {
            font-size: 1.1rem;
            font-weight: 700;
            color: #f8fafc;
        }

        .topbar a {
            color: #60a5fa;
            text-decoration: none;
            font-size: 0.875rem;
            margin-left: 20px;
        }

        .topbar a:hover {
            color: #93c5fd;
        }

        /* ── Content ── */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 32px 24px;
        }

        .page-header {
            margin-bottom: 28px;
        }

        .page-header h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #f8fafc;
            margin-bottom: 6px;
        }

        .page-header p {
            color: #64748b;
            font-size: 0.9rem;
        }

        /* ── Stat cards ── */
        .stats-row {
            display: flex;
            gap: 16px;
            margin-bottom: 28px;
            flex-wrap: wrap;
        }

        .stat-card {
            background: #0f172a;
            border: 1px solid #1e293b;
            border-radius: 10px;
            padding: 16px 22px;
            flex: 1;
            min-width: 140px;
        }

        .stat-card .label {
            font-size: 0.75rem;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 6px;
        }

        .stat-card .value {
            font-size: 1.6rem;
            font-weight: 700;
        }

        /* ── Table ── */
        .table-wrap {
            background: #0f172a;
            border: 1px solid #1e293b;
            border-radius: 12px;
            overflow: hidden;
        }

        table {
            width: 100%;
            border-collapse: collapse;
        }

        thead tr {
            background: #111827;
        }

        thead th {
            padding: 12px 16px;
            text-align: left;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            font-weight: 600;
        }

        tbody tr {
            border-bottom: 1px solid #1e293b;
        }

        tbody tr:hover {
            background: #111827;
        }

        td {
            padding: 12px 16px;
        }

        .badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 99px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .badge-passed {
            background: #052e16;
            color: #22c55e;
        }

        .badge-failed {
            background: #450a0a;
            color: #ef4444;
        }

        .badge-unknown {
            background: #1c1003;
            color: #f59e0b;
        }

        .badge-latest {
            background: #1e3a5f;
            color: #60a5fa;
            padding: 2px 8px;
            border-radius: 99px;
            font-size: 0.7rem;
            margin-left: 6px;
        }

        .btn {
            display: inline-block;
            padding: 5px 14px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.8rem;
            margin-right: 6px;
        }

        .btn-blue {
            background: #1e3a5f;
            color: #60a5fa;
        }

        .btn-green {
            background: #1a2e1a;
            color: #4ade80;
        }

        .btn-blue:hover {
            background: #1e40af;
        }

        .btn-green:hover {
            background: #14532d;
        }

        .toolbar {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 12px;
        }

        .refresh-btn {
            background: #1e3a5f;
            color: #60a5fa;
            border: 1px solid #2d4f7f;
            padding: 8px 18px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.85rem;
        }

        .refresh-btn:hover {
            background: #1e40af;
        }

        .empty-row td {
            text-align: center;
            color: #94a3b8;
            padding: 2rem;
        }

        /* ── Spinner shown while loading ── */
        #loading {
            text-align: center;
            padding: 60px;
            color: #64748b;
        }

        #loading .spinner {
            width: 36px;
            height: 36px;
            border: 4px solid #1e293b;
            border-top-color: #6366f1;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin: 0 auto 16px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* ── Pagination ── */
        .pagination {
            margin-top: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #64748b;
            font-size: 0.85rem;
        }

        .pagination-buttons {
            display: flex;
            gap: 8px;
        }

        .page-btn {
            background: #0f172a;
            border: 1px solid #1e293b;
            color: #94a3b8;
            padding: 6px 12px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .page-btn:hover:not(:disabled) {
            background: #1e293b;
            color: #f8fafc;
            border-color: #334155;
        }

        .page-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .page-btn.active {
            background: #6366f1;
            color: white;
            border-color: #6366f1;
        }
    