header:has(> .lesson-dashboard-link) {
    flex-wrap: wrap;
}

header > .lesson-dashboard-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #bad6bf;
    border-radius: 10px;
    background: #f4faf5;
    color: #185b2e;
    font: 700 0.875rem/1.2 system-ui, sans-serif;
    text-decoration: none;
    white-space: nowrap;
}

header > .lesson-dashboard-link:hover {
    background: #e1f0e4;
    text-decoration: underline;
}

header > .lesson-dashboard-link:focus-visible {
    outline: 2px solid #185b2e;
    outline-offset: 2px;
}
