.math-profile-flag {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: .35rem;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: .38;
  vertical-align: middle;
  cursor: pointer;
}

.math-profile-flag::before{content:"";position:absolute;left:.5rem;top:.34rem;width:2px;height:1.18rem;border-radius:2px;background:currentColor}
.math-profile-flag::after{content:"";position:absolute;left:.62rem;top:.38rem;width:.8rem;height:.58rem;border:1.5px solid currentColor;border-left:0;box-sizing:border-box;background:transparent;clip-path:polygon(0 0,100% 0,82% 50%,100% 100%,0 100%)}
.math-profile-flag.is-active::after{background:currentColor}

.math-profile-flag.is-active {
  opacity: 1;
  font-weight: 800;
}

.math-profile-flag:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.math-profile-flag:disabled {
  cursor: wait;
  opacity: .25;
}

/* 2.14A: curriculare AFB-I-Basisprofile */
.math-profile-hint {
  margin: .45rem 0 .85rem;
  color: var(--muted, #9ba8b8);
  line-height: 1.35;
}
.math-grade-hint{margin:.35rem 0 .85rem;color:var(--muted,#a9b4c2);font-size:.9rem;line-height:1.35}
.math-grade-detail{display:block;margin-top:.18rem;font-size:.75rem;font-weight:400;opacity:.72;white-space:nowrap}
.math-profile-flag:disabled{opacity:.45;cursor:not-allowed}
