/* Student exercise navigation overlay: never displays without an explicit link transition. */
.exercise-transition-overlay {display:none;position:fixed;inset:0;z-index:1000;
  align-items:center;justify-content:center;padding:24px;
  background:radial-gradient(circle at 50% 40%,#f7fcf9 0%,#eaf5f0 100%);}
html.exercise-transition-pending .exercise-transition-overlay {display:flex;}
html.exercise-transition-pending body > header,
html.exercise-transition-pending body > main,
html.exercise-transition-pending body > footer,
html.exercise-transition-pending body > .feedback-fab {visibility:hidden;}
.exercise-transition-card {width:min(660px,100%);background:#fff;
  border-radius:24px;padding:clamp(30px,6vw,60px) clamp(22px,5vw,50px);
  text-align:center;box-shadow:0 18px 55px rgba(7,61,55,.1);}
.exercise-transition-brand {display:flex;justify-content:center;align-items:center;
  margin:0 auto 28px;}
.exercise-transition-brand img {display:block;width:clamp(130px,25vw,205px);
  height:auto;max-height:150px;object-fit:contain;}
.exercise-transition-heading {font-size:clamp(22px,3vw,31px);font-weight:800;
  line-height:1.25;color:#185b3e;margin:0 0 26px;}
.exercise-transition-description {color:#5f7068;font-size:1rem;
  line-height:1.5;margin:22px 0 0;}
.exercise-transition-track {height:9px;border-radius:999px;background:#e2efe8;
  overflow:hidden;max-width:320px;margin:0 auto;}
.exercise-transition-track span {display:block;width:35%;height:100%;
  border-radius:999px;background:#2f7d4a;animation:exercise-loading 1.15s ease-in-out infinite alternate;}
@keyframes exercise-loading {from {transform:translateX(0);}
  to {transform:translateX(185%);}}
@media (prefers-reduced-motion:reduce) {
  .exercise-transition-track span {animation:none;width:100%;}
}
@media (max-width:480px) {
  .exercise-transition-brand {margin-bottom:22px;}
  .exercise-transition-brand img {width:clamp(125px,44vw,170px);height:auto;}
  .exercise-transition-card {border-radius:18px;}
}
