/* Compact, consistent progression for assignment lists and correction pages. */
.mye-progress-summary{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 12px}
.mye-progress-summary>span{display:inline-flex;gap:4px;align-items:center;border:1px solid #365266;border-radius:7px;padding:4px 8px;color:#b7cbd8;font:12px/1.35 system-ui,sans-serif}
.mye-progress-summary .is-attention{border-color:#836b3d;color:#f0d094}
.mye-progress-summary .is-success{border-color:#3c776a;color:#9ce1cc}
.mye-progress-summary .is-problem{border-color:#a45c58;color:#ffbbb4}
.mye-progress-students{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:12px;margin:10px 0}
.mye-progress-student{min-width:0;border:1px solid #2c4b60;border-radius:10px;background:#0b2231;padding:12px}
.mye-progress-student>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 10px!important;padding:0!important;border:0!important}
.mye-progress-student>header>strong{font:600 14px/1.35 system-ui,sans-serif;color:#e0edf6}
.mye-progress-student a.mye-progress-action,.mye-progress-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%;min-height:32px!important;margin:0!important;padding:6px 11px!important;gap:7px;border:1px solid #3f7694;border-radius:7px;background:#143d55;color:#d8f2ff;font:600 12px/1.3 system-ui,sans-serif;text-decoration:none;white-space:nowrap;flex:none}
.mye-progress-action:hover,.mye-progress-action:focus-visible{background:#20556e;border-color:#70c3e8;outline:2px solid transparent}
.mye-progress-v676{font:13px/1.4 system-ui,sans-serif;color:#bdd0de;min-width:0}
.mye-progress-now{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.mye-progress-now>b{color:#82d1f2;font-weight:600}
.mye-progress-now>span{font-size:11px;color:#adc2d0}
.mye-progress-phase{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:6px;margin-top:12px}
.mye-progress-phase-label{font-weight:700;color:#85aabd;padding-top:2px}
.mye-progress-phase ol{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none!important;margin:0!important;padding:0!important;gap:3px}
.mye-progress-phase li{display:flex!important;position:relative;min-width:0;flex-direction:column;align-items:center;text-align:center;gap:3px;margin:0!important;padding:0 2px!important;border:0!important;background:transparent!important;color:#778f9f}
.mye-progress-phase li:not(:last-child)::after{content:"";position:absolute;left:calc(50% + 12px);right:calc(-50% + 12px);top:11px;height:2px;background:#2e485a}
.mye-progress-phase li.is-done:not(:last-child)::after{background:#3b8e79}
.mye-progress-dot{display:flex;align-items:center;justify-content:center;position:relative;z-index:1;width:23px;height:23px;border:1px solid #3d5768;border-radius:50%;background:#0c2535;font:600 12px/1 system-ui,sans-serif;box-sizing:border-box}
.mye-progress-phase li>b{font-size:11px;font-weight:600;color:inherit;line-height:1.3}
.mye-progress-phase li>small{font-size:10px;line-height:1.3;color:inherit;max-width:100%;overflow-wrap:anywhere}
.mye-progress-phase .is-done{color:#9bd8c4}
.mye-progress-phase .is-done .mye-progress-dot{border-color:#52ac90;background:#154638;color:#aeefd7}
.mye-progress-phase .is-current{color:#b6eaff}
.mye-progress-phase .is-current .mye-progress-dot{border-color:#79d0f2;background:#1f5d7b;box-shadow:0 0 0 3px #5bbfe323;color:#def6ff}
.mye-progress-phase .is-error{color:#ffc5b7}
.mye-progress-phase .is-error .mye-progress-dot{border-color:#d47c68;background:#64342f}
.mye-progress-phase .is-skipped{color:#8094a3;opacity:.8}
.mye-progress-next{margin:12px 0 0!important;font-size:12px;color:#a9c4d4}
.mye-progress-context{margin:12px auto 18px;padding:14px 18px;border:1px solid #2d4e63;border-radius:11px;background:#0d2737;max-width:1320px}
.mye-progress-context>strong{display:block;margin-bottom:8px;font:600 14px/1.3 system-ui,sans-serif;color:#e0eff8}
.mye-progress-context .mye-progress-v676{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:28px}
.mye-progress-context .mye-progress-now,.mye-progress-context .mye-progress-next{grid-column:1/-1}
.mye-progress-context .mye-progress-phase{margin:0}
#mye-assignment-workspace .mye-aw-row-actions .mye-aw-open{width:auto!important;min-height:32px;padding:7px 12px!important;font-size:12px!important}
#mye-assignment-workspace .mye-aw-row{scroll-margin-top:110px}
@media(max-width:620px){
 .mye-progress-context .mye-progress-v676{grid-template-columns:minmax(0,1fr);row-gap:12px}
 .mye-progress-context{padding:12px}
 .mye-progress-student>header{align-items:flex-start!important}
 .mye-progress-student>header>strong{font-size:13px}
 .mye-progress-summary{padding:0 10px 10px}
 .mye-progress-now{align-items:flex-start}
 .mye-progress-now>span{width:100%}
}


/* v677: links retain the common rail layout. */
.mye-progress-step-link,.mye-progress-step-locked{display:flex;flex-direction:column;align-items:center;gap:3px;color:inherit;text-decoration:none;width:100%}.mye-progress-step-link:focus-visible{outline:2px solid #67c9ef;outline-offset:4px;border-radius:6px}.mye-progress-step-link:hover{color:#8dd9f7}.mye-progress-step-locked{cursor:default}
