.absal-learning-steps {
    --absal-accent: #126a64;
    --absal-ink: #173d3a;
    --absal-muted: #526966;
    --absal-line: #dce9e5;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 1080px;
    margin: 24px auto;
    padding: 20px 24px 24px;
    border: 1px solid var(--absal-line);
    border-radius: 20px;
    background: #fff;
    color: var(--absal-ink);
    box-shadow: 0 8px 26px rgba(20, 65, 59, .045);
    font-family: inherit;
    line-height: 1.6;
    text-align: right;
    isolation: isolate;
}
.absal-learning-steps *, .absal-learning-steps *::before { box-sizing: border-box; }
.absal-learning-steps .absal-steps-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.absal-learning-steps .absal-steps-heading strong { font-size: 17px; font-weight: 700; }
.absal-learning-steps .absal-step-caption { font-size: 12px; color: var(--absal-muted); }
.absal-learning-steps .absal-steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.absal-learning-steps .absal-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px; margin: 0; padding: 0 4px; color: var(--absal-muted); text-align: center; }
.absal-learning-steps .absal-step:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 50%; top: 20px; width: 100%; height: 2px; background: var(--absal-line); z-index: -1; }
.absal-learning-steps .absal-step-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--absal-line); border-radius: 50%; background: #f6f9f8; color: var(--absal-muted); font-size: 17px; font-weight: 700; }
.absal-learning-steps .absal-step-label { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.absal-learning-steps .absal-step.is-current { color: var(--absal-accent); font-weight: 700; }
.absal-learning-steps .absal-step.is-current .absal-step-number { color: #fff; background: var(--absal-accent); border-color: var(--absal-accent); box-shadow: 0 0 0 5px #edf6f3; }
@media (max-width: 480px) {
    .absal-learning-steps { width: calc(100% - 20px); margin: 14px auto; padding: 16px 10px 18px; border-radius: 16px; }
    .absal-learning-steps .absal-steps-heading { display: block; margin-bottom: 16px; padding: 0 4px; }
    .absal-learning-steps .absal-step-caption { display: block; margin-top: 2px; }
    .absal-learning-steps .absal-step-number { width: 34px; height: 34px; font-size: 15px; }
    .absal-learning-steps .absal-step:not(:last-child)::before { top: 16px; }
    .absal-learning-steps .absal-step-label { font-size: 12px; }
}
/* v1.1: interactive links, animated route progress, verified sign-in state. */
.absal-learning-steps { animation: absal-enter .4s ease-out both; }
.absal-learning-steps .absal-step-link { display: flex; flex-direction: column; align-items: center; gap: 9px; color: inherit; text-decoration: none; border-radius: 12px; width: 100%; padding: 5px 2px; cursor: pointer; transition: transform .2s ease, color .2s ease; }
.absal-learning-steps .absal-step-link:hover { transform: translateY(-3px); color: var(--absal-accent); }
.absal-learning-steps .absal-step-link:focus-visible, .absal-learning-steps .absal-steps-next:focus-visible { outline: 3px solid var(--absal-accent); outline-offset: 5px; }
.absal-learning-steps .absal-step-link[aria-disabled="true"] { cursor: help; }
.absal-learning-steps .absal-step-number { transition: background .35s ease, box-shadow .35s ease, color .35s ease, border-color .35s ease; }
.absal-learning-steps .absal-step:not(:last-child)::before { top: 25px; transition: background .45s ease; }
.absal-learning-steps .absal-step.has-progress::before { background: var(--absal-accent); }
.absal-learning-steps .absal-step.is-complete .absal-step-number { background: #e5f4ee; border-color: #badccf; color: #126a64; }
.absal-learning-steps .absal-step.is-current .absal-step-number { animation: absal-current .55s ease-out; }
.absal-learning-steps .absal-steps-next { display: table; margin: 20px auto 0; padding: 10px 24px; min-height: 44px; border-radius: 12px; background: var(--absal-accent); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.absal-learning-steps .absal-steps-next:hover { transform: translateY(-2px); box-shadow: 0 5px 16px #126a6426; }
.absal-learning-steps .absal-steps-next[hidden] { display: none; }
@keyframes absal-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes absal-current { from { box-shadow: 0 0 0 0 #126a6460; } to { box-shadow: 0 0 0 5px #edf6f3; } }
@media (max-width: 480px) { .absal-learning-steps .absal-step:not(:last-child)::before { top: 21px; } }
@media (prefers-reduced-motion: reduce) { .absal-learning-steps, .absal-learning-steps * { animation: none !important; transition: none !important; } }
