/* A readable loaded-version label, in the existing header flow. */
html body #app .dm-visible-version357 {
  display:flex!important;
  align-items:center;
  gap:6px;
  width:max-content;
  min-width:max-content;
  flex:0 0 auto;
  margin:4px 0 0!important;
  padding:2px 8px!important;
  border:1px solid #d4caef!important;
  border-radius:7px!important;
  background:#eee8fa!important;
  color:#49336e!important;
  font:700 12px/18px 'DM Sans',system-ui,sans-serif!important;
  letter-spacing:.01em;
  white-space:nowrap;
  text-transform:none!important;
}
html body #app .dm-visible-version357::before {
  content:'';width:6px;height:6px;flex:0 0 6px;
  border-radius:50%;background:currentColor;
}
html body #app .login-card > .dm-visible-version357 {margin:12px auto!important}
html body #app .dm-version-strip357 {
  display:flex!important;justify-content:flex-end!important;
  box-sizing:border-box;width:100%;min-width:0;padding:4px 16px;
  background:var(--dm-canvas,#f5f2ff);
}
html body #app .dm-version-strip357 > .dm-visible-version357 {margin:0!important}
@media(max-width:700px) {
  /* The student header is fixed; reserve its existing height before the strip. */
  html body #app .dm-student-header + .dm-version-strip357 {
    margin-top:calc(53px + env(safe-area-inset-top,0px));
  }
  html body #app .dm-student-app .dm-version-strip357 + #content.dm-student-content {
    padding-top:12px!important;
  }
}
html[data-dm-theme="dark"] body #app .dm-visible-version357 {
  border-color:#65517e!important;background:#34283f!important;color:#f4eaff!important;
}
@media print {html body #app :is(.dm-visible-version357,.dm-version-strip357){display:none!important}}
