/* Action links should be unmistakable controls in the question bank and admin home. */
.problem-bank-page .bank-hero-actions,
.admin-page .admin-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.problem-bank-page .bank-hero-actions {
    margin-top: 28px;
}

.problem-bank-page .bank-hero-actions a,
.admin-page .admin-head-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.problem-bank-page .bank-hero-actions a:hover,
.admin-page .admin-head-actions a:hover {
    border-color: var(--primary-500);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: none;
}

.problem-bank-page .bank-hero-actions a:focus-visible,
.admin-page .admin-head-actions a:focus-visible {
    outline: 3px solid var(--primary-400);
    outline-offset: 3px;
}

.problem-bank-page .bank-hero-actions .bank-start-link,
.admin-page .admin-head-actions [data-assessment-results-link] {
    border-color: #326fe8;
    background: #326fe8;
    color: #fff;
}

.problem-bank-page .bank-hero-actions .bank-start-link:hover,
.admin-page .admin-head-actions [data-assessment-results-link]:hover {
    border-color: #285dcc;
    background: #285dcc;
    color: #fff;
}

.problem-bank-page .bank-hero-actions .bank-docs-link i {
    margin-left: 0;
    font-size: 12px;
}

.admin-page .admin-head-actions {
    margin-top: 20px;
}

.admin-page .admin-head-actions a span[aria-hidden] {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 600px) {
    .problem-bank-page .bank-hero-actions a,
    .admin-page .admin-head-actions a {
        width: 100%;
        justify-content: space-between;
    }
}
