/* Quiet return navigation, shared by every Student section and detail view. */
.nicode-student-backlink {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: .16rem .4rem;
    border: 1px solid #d6dee6;
    border-radius: .375rem;
    background: #fff;
    color: var(--nicode-student-accent, #355c7d);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.nicode-student-backlink::before {
    content: "";
    flex: 0 0 .95em;
    width: .95em;
    height: .95em;
    background-color: currentColor;
    -webkit-mask: url("icons/arrow-left.svg") center / contain no-repeat;
    mask: url("icons/arrow-left.svg") center / contain no-repeat;
}
.nicode-student-backlink:hover {
    background: #f3f6f9;
    border-color: #aebfce;
    color: var(--nicode-student-accent, #355c7d);
    text-decoration: none;
}
.nicode-student-backlink:focus-visible {
    outline: 2px solid var(--nicode-student-accent, #355c7d);
    outline-offset: 3px;
}
@media (forced-colors: active) {
    .nicode-student-backlink::before { background-color: LinkText; forced-color-adjust: none; }
}
