.btn-annotate,
.btn-compare,
.btn-leaderboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s;
    white-space: nowrap;
}

.btn-annotate { background: #1967d2; color: #fff; }
.btn-annotate:hover { background: #1557b0; transform: translateY(-1px); }

.btn-compare {
    background: #e8f0fe;
    color: #1967d2;
    border-color: #d2e3fc;
}

.btn-compare:hover {
    background: #d2e3fc;
    border-color: #c3d8fd;
    transform: translateY(-1px);
}

.badge-reviewed {
    background: #e6f4ea !important;
    color: #1e7e34 !important;
}

.badge-pending {
    background: #fef7e0 !important;
    color: #b45309 !important;
}

.badge-pages {
    background: #e8f0fe !important;
    color: #1557b0 !important;
}

.btn-leaderboard {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.btn-leaderboard:hover {
    background: #2d2d4e;
    border-color: #2d2d4e;
    transform: translateY(-1px);
}

.section-shell {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.page-header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.page-header p {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.empty-state p { margin-top: 8px; font-size: 14px; }

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #1967d2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-annotate,
    .btn-compare,
    .btn-leaderboard {
        min-height: 40px;
    }
}
