.ml-progress {
    max-width: 1050px;
    margin: 2rem auto;
}

.ml-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.35rem;
    border: 1px solid #dcdcde;
    border-radius: 12px;
    background: #fff;
}

.ml-progress-header h2,
.ml-progress-header p {
    margin: .2rem 0;
}

.ml-progress-eyebrow,
.ml-progress-workshop-kicker {
    margin: 0 !important;
    color: #646970;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ml-progress-percent {
    min-width: 110px;
    padding: .8rem 1rem;
    border-radius: 10px;
    background: #f0f6f8;
    text-align: center;
}

.ml-progress-percent strong,
.ml-progress-percent span {
    display: block;
}

.ml-progress-percent strong {
    font-size: 1.55rem;
}

.ml-progress-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: .8rem;
    margin: 1rem 0 1.5rem;
}

.ml-progress-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .75rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #fff;
}

.ml-progress-stat > span {
    grid-row: span 2;
    font-size: 1.4rem;
}

.ml-progress-stat strong {
    font-size: 1.35rem;
}

.ml-progress-stat small {
    color: #646970;
}

.ml-progress-stat.is-alert {
    border-color: #d63638;
    background: #fcf0f1;
}

.ml-progress-course {
    margin: 1.5rem 0;
}

.ml-progress-course > h3 {
    margin-bottom: .75rem;
}

.ml-progress-workshops {
    display: grid;
    gap: 1rem;
}

.ml-progress-workshop {
    padding: 1.25rem;
    border: 1px solid #dcdcde;
    border-left: 5px solid #8c8f94;
    border-radius: 10px;
    background: #fff;
}

.ml-progress-workshop.is-completed {
    border-left-color: #00a32a;
}

.ml-progress-workshop.is-late {
    border-left-color: #d63638;
}

.ml-progress-workshop.is-progress,
.ml-progress-workshop.is-todo {
    border-left-color: #dba617;
}

.ml-progress-workshop-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ml-progress-workshop h4 {
    margin: .15rem 0 .6rem;
    font-size: 1.2rem;
}

.ml-progress-workshop h4 a {
    color: inherit;
}

.ml-progress-badge {
    display: inline-block;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #f0f0f1;
    font-size: .83rem;
    font-weight: 700;
    white-space: nowrap;
}

.ml-progress-badge.is-completed {
    background: #edfaef;
    color: #007017;
}

.ml-progress-badge.is-late {
    background: #fcf0f1;
    color: #b32d2e;
}

.ml-progress-badge.is-progress,
.ml-progress-badge.is-todo {
    background: #fff8e5;
    color: #7a5200;
}

.ml-progress-bar {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e5e5;
}

.ml-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #13607e;
}

.ml-progress-count {
    margin: .55rem 0;
    color: #50575e;
}

.ml-progress-missing {
    margin-top: .8rem;
    padding: .9rem 1rem;
    border-radius: 8px;
    background: #f6f7f7;
}

.ml-progress-missing ul {
    margin: .55rem 0 0 1.2rem;
}

.ml-progress-missing li {
    margin: .35rem 0;
}

.ml-progress-missing li small {
    display: block;
    margin-left: 1.65rem;
    color: #646970;
}

.ml-progress-missing li small.is-late {
    color: #b32d2e;
    font-weight: 700;
}

.ml-progress-complete-message {
    margin: .8rem 0 0;
    color: #007017;
    font-weight: 700;
}

.ml-progress-action {
    margin: 1rem 0 0;
}

.ml-progress-button {
    display: inline-block;
    padding: .6rem .85rem;
    border-radius: 5px;
    background: #13607e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
}

.ml-progress-button:hover {
    background: #0e4b63;
}

.ml-progress-notice {
    max-width: 800px;
    margin: 1rem auto;
    padding: 1rem;
    border-left: 4px solid #13607e;
    background: #f6f7f7;
}

.ml-progress-error {
    border-left-color: #b32d2e;
    background: #fcf0f1;
}

@media (max-width: 700px) {
    .ml-progress-header,
    .ml-progress-workshop-top {
        align-items: stretch;
        flex-direction: column;
    }

    .ml-progress-summary {
        grid-template-columns: 1fr;
    }

    .ml-progress-percent {
        width: auto;
    }

    .ml-progress-badge {
        align-self: flex-start;
        white-space: normal;
    }
}
