.strcm-course-page,
.strcm-course-front,
.strcm-course-front__introduction,
.strcm-course-front__orientation,
.strcm-course-front__levels-info,
.strcm-course-front__modules,
.strcm-course-front__stages,
.strcm-course-front__stage,
.strcm-course-front__articles,
.strcm-course-front__article {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

.strcm-course-page {
    clear: both;
}

.strcm-course-front {
    margin-top: 1.25em;
}

.strcm-course-front__introduction,
.strcm-course-front__orientation,
.strcm-course-front__levels-info,
.strcm-course-front__article {
    padding: 1.25em 1.4em;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    background: transparent;
}

.strcm-course-front__introduction,
.strcm-course-front__orientation,
.strcm-course-front__levels-info {
    margin-bottom: 1.5em;
}

.strcm-course-front__introduction > :first-child,
.strcm-course-front__orientation > :first-child,
.strcm-course-front__levels-info > :first-child,
.strcm-course-front__article > :first-child {
    margin-top: 0;
}

.strcm-course-front__introduction > :last-child,
.strcm-course-front__orientation > :last-child,
.strcm-course-front__levels-info > :last-child,
.strcm-course-front__article > :last-child {
    margin-bottom: 0;
}

.strcm-course-front__modules {
    margin-bottom: 2em;
}

.strcm-course-front__stage {
    margin-bottom: 2em;
}

.strcm-course-front__stage-heading {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 1em;
    padding-bottom: 0.45em;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.strcm-course-front__stage-heading h2 {
    margin: 0;
}

.strcm-course-front__articles {
    display: block;
}

.strcm-course-front__article {
    margin-bottom: 1em;
}

.strcm-course-front__article h3 {
    margin-bottom: 0.25em;
}

.strcm-course-front__level {
    margin-top: 0;
    font-weight: 600;
}

.strcm-course-front__read-link {
    display: inline-block;
    font-weight: 600;
}

.strcm-course-front__brochure-action {
    margin: 0 0 1.5em;
}

.strcm-course-front__brochure-link {
    display: inline-block;
    padding: 0.55em 0.9em;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.strcm-course-front__brochure-link:hover,
.strcm-course-front__brochure-link:focus {
    text-decoration: underline;
}


.strcm-course-front__editor-status {
    padding: 0.55em 0.7em;
    border-left: 4px solid currentColor;
    font-weight: 600;
}

.strcm-course-front__tracking,
.strcm-course-context {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 1em 1.15em;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    background: transparent;
}

.strcm-course-front__tracking {
    margin: 0 0 1.5em;
}

.strcm-course-front__tracking > :first-child,
.strcm-course-context > :first-child {
    margin-top: 0;
}

.strcm-course-front__tracking > :last-child,
.strcm-course-context > :last-child {
    margin-bottom: 0;
}

.strcm-course-front__tracking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    align-items: center;
}

.strcm-course-front__tracking-button {
    display: inline-block;
    padding: 0.55em 0.9em;
    border: 1px solid currentColor;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.strcm-course-front__tracking-button:hover,
.strcm-course-front__tracking-button:focus {
    text-decoration: underline;
}

.strcm-course-front__module-status {
    display: inline-block;
    margin: 0 0 0.65em;
    padding: 0.15em 0.5em;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 600;
}

.strcm-course-context {
    margin: 0 0 1.5em;
}

.strcm-course-context a {
    margin-left: 0.5em;
    font-weight: 600;
}

.strcm-course-learner-panel {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0 0 1.5em;
    padding: 1em 1.15em;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    background: transparent;
}

.strcm-course-learner-panel.is-loading {
    opacity: 0.75;
}

.strcm-course-learner-panel.has-error {
    border-style: dashed;
}

.strcm-course-front__learner-start label,
.strcm-course-front__learner-connect label {
    display: block;
    margin-bottom: 0.35em;
    font-weight: 600;
}

.strcm-course-front__nickname {
    width: min(100%, 24em);
    box-sizing: border-box;
    margin-bottom: 0.25em;
    padding: 0.5em 0.6em;
    font: inherit;
}


.strcm-course-front__learning-key-input {
    width: min(100%, 34em);
    box-sizing: border-box;
    margin-bottom: 0.25em;
    padding: 0.5em 0.6em;
    font: inherit;
}

.strcm-course-front__learner-connect-wrap {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid currentColor;
}

.strcm-course-front__learner-connect-wrap h3 {
    margin-top: 0;
}

.strcm-course-front__connect-status {
    min-height: 1.4em;
    font-size: 0.95em;
}

.strcm-course-front__connect-status.has-error {
    font-weight: 600;
}

.strcm-course-front__field-help,
.strcm-course-front__privacy-note {
    font-size: 0.95em;
}

.strcm-course-front__learner-start .strcm-course-front__tracking-button,
.strcm-course-front__learner-connect .strcm-course-front__tracking-button {
    margin-top: 0.5em;
}

.strcm-course-front__welcome {
    margin-bottom: 0.45em;
}

.strcm-course-learner-panel > :first-child,
.strcm-course-front__tracking-inner > :first-child {
    margin-top: 0;
}

.strcm-course-learner-panel > :last-child,
.strcm-course-front__tracking-inner > :last-child {
    margin-bottom: 0;
}

.strcm-course-front__learner-nickname label {
    display: block;
    margin-top: 0.75em;
    margin-bottom: 0.35em;
    font-weight: 600;
}

.strcm-course-front__brochure-action {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    align-items: center;
}

.strcm-course-front__learner-forget-warning {
    font-size: 0.95em;
}

/* Alpha23: portable STR Learning Key one-time display. */
.strcm-course-front__learning-key {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid currentColor;
}

.strcm-course-front__learning-key h3 {
    margin-top: 0;
}

.strcm-course-front__learning-key-once {
    padding: 1rem;
    border: 1px solid currentColor;
    border-radius: 4px;
}

.strcm-course-front__learning-key-value {
    display: block;
    margin: 0.75rem 0;
    padding: 0.75rem;
    overflow-wrap: anywhere;
    font-size: 1rem;
    user-select: all;
}

.strcm-course-front__learning-key-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Alpha31: durable learner notices. */
.strcm-course-front__learner-notices {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid currentColor;
}

.strcm-course-front__learner-notice {
    margin: 0.75rem 0;
    padding: 1rem;
    border: 1px solid currentColor;
    border-radius: 4px;
}

.strcm-course-front__learner-notice h3 {
    margin-top: 0;
}

.strcm-course-context__completion {
    display: inline-flex;
    gap: 0.6em;
    align-items: center;
    margin-left: 0.75em;
}

.strcm-course-context__completion-status {
    font-weight: 600;
}

.strcm-course-context__learning-status {
    display: inline-block;
    margin-left: 0.75em;
    font-weight: 600;
}


/* Alpha54: advisory course-context module navigation. */
.strcm-course-context__nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75em;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    margin: 1.5em 0;
    padding: 0.9em 1em;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 4px;
}

.strcm-course-context__nav-link {
    display: inline-block;
    padding: 0.5em 0.75em;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.strcm-course-context__nav-link:hover,
.strcm-course-context__nav-link:focus {
    text-decoration: underline;
}

.strcm-course-context__nav-link--previous {
    justify-self: start;
}

.strcm-course-context__nav-link--course {
    justify-self: center;
}

.strcm-course-context__nav-link--next {
    justify-self: end;
}

.strcm-course-front__dashboard-action {
    margin: 0 0 1rem;
}

.strcm-course-front__my-learning-button,
.strcm-course-context__my-learning-button {
    text-decoration: none;
}

.strcm-course-context__learner-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65em;
    align-items: center;
    margin-left: 0.75em;
}

.strcm-course-context__learner-actions .strcm-course-context__completion {
    margin-left: 0;
}

@media (max-width: 38rem) {
    .strcm-course-context__nav {
        grid-template-columns: 1fr;
    }

    .strcm-course-context__nav-link--previous,
    .strcm-course-context__nav-link--course,
    .strcm-course-context__nav-link--next {
        justify-self: stretch;
        text-align: center;
    }

    .strcm-course-context__nav-spacer {
        display: none;
    }
}
