.ahu-learning-page {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--ahu-bg-page);
  color: var(--ahu-text-main);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

.ahu-learning-page button {
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ahu-learning-system-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: 101px;
  background: #fff;
}

.ahu-learning-status {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 28px 0 43px;
}

.ahu-learning-status > strong {
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
}

.ahu-learning-status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #090909;
}

.ahu-learning-status-icons > i:first-child {
  width: 17px;
  height: 12px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='12' viewBox='0 0 17 12'%3E%3Crect x='0' y='7' width='3' height='5' rx='1' fill='%23000'/%3E%3Crect x='4.5' y='5' width='3' height='7' rx='1' fill='%23000'/%3E%3Crect x='9' y='2.5' width='3' height='9.5' rx='1' fill='%23000'/%3E%3Crect x='13.5' y='0' width='3' height='12' rx='1' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ahu-learning-status-icons > i:nth-child(2) {
  width: 17px;
  height: 12px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='12' viewBox='0 0 17 12'%3E%3Cpath d='M1 4.4C5.2.8 11.8.8 16 4.4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M4.2 7.2c2.5-2.1 6.1-2.1 8.6 0' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='8.5' cy='10.3' r='1.5' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ahu-learning-status-icons > b {
  min-width: 25px;
  height: 13px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #9b9b9b;
  color: #fff;
  font-size: 10px;
  line-height: 13px;
}

.ahu-learning-header {
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 29px 4px 16px;
}

.ahu-learning-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}

.ahu-learning-header button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  background: transparent;
  font-size: 14px;
  line-height: 22px;
}

.ahu-learning-header img {
  width: 20px;
  height: 19px;
  display: block;
  object-fit: contain;
}

.ahu-learning-scroll {
  position: absolute;
  top: 101px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.ahu-learning-scroll::-webkit-scrollbar {
  display: none;
}

.ahu-learning-scroll-content {
  min-height: 100%;
  padding-bottom: 93px;
  background: #fff;
}

.ahu-learning-calendar-shell {
  padding: 15px 15px 14px;
  background: #f5f5f5;
}

.ahu-learning-calendar {
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.ahu-learning-weekdays,
.ahu-learning-dates {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ahu-learning-weekdays {
  padding: 11px 9px 3px;
  color: #a0a0a0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.ahu-learning-weekdays span:nth-child(5) {
  color: #303030;
  font-weight: 600;
}

.ahu-learning-dates {
  padding: 0 9px 10px;
  row-gap: 2px;
}

.ahu-learning-dates button {
  position: relative;
  height: 39px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.ahu-learning-dates strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
}

.ahu-learning-dates button.is-faded {
  color: #666;
}

.ahu-learning-dates button.is-active {
  background: var(--ahu-primary);
  color: #fff;
}

.ahu-learning-dates i {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: var(--ahu-primary);
}

.ahu-learning-dates i.is-muted {
  background: #d9dfeb;
}

.ahu-learning-dates i.is-light {
  background: #fff;
}

.ahu-learning-schedule {
  min-height: 96px;
  display: grid;
  grid-template-columns: 75px 1px 1fr;
  align-items: center;
  gap: 14px;
  padding: 0 21px;
  border-top: 1px solid #efefef;
}

.ahu-learning-schedule > div {
  display: grid;
  gap: 3px;
}

.ahu-learning-schedule > div:first-child {
  text-align: center;
}

.ahu-learning-schedule > i {
  width: 1px;
  height: 35px;
  background: #b7b7b7;
}

.ahu-learning-schedule strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.ahu-learning-schedule > div:first-child strong {
  font-size: 16px;
}

.ahu-learning-schedule span {
  color: #777;
  font-size: 13px;
  line-height: 18px;
}

.ahu-learning-tabs {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 47px;
  display: flex;
  align-items: flex-end;
  gap: 23px;
  padding: 0 15px 10px;
  border-bottom: 1px solid #f3f3f3;
  background: #fff;
}

.ahu-learning-tabs button {
  position: relative;
  padding: 0 0 6px;
  background: transparent;
  color: #606060;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.ahu-learning-tabs button.active {
  color: #292929;
  font-weight: 600;
}

.ahu-learning-tabs button.active::after {
  content: "";
  position: absolute;
  right: 25%;
  bottom: 0;
  left: 25%;
  height: 3px;
  border-radius: 2px;
  background: var(--ahu-primary);
}

.ahu-learning-course-list {
  padding: 5px 12px 16px;
  background: #fff;
}

.ahu-learning-course {
  width: 100%;
  min-height: 91px;
  display: grid;
  grid-template-columns: 123px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  background: #fff;
  text-align: left;
}

.ahu-learning-course > img {
  width: 123px;
  height: 75px;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.ahu-learning-course > span {
  min-width: 0;
  min-height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 0 4px;
}

.ahu-learning-course strong {
  display: -webkit-box;
  overflow: hidden;
  color: #282828;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ahu-learning-course small {
  color: #838383;
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
}

.ahu-learning-service {
  position: absolute;
  z-index: 35;
  right: 0;
  bottom: 81px;
  width: 72px;
  height: 83px;
  padding: 0;
  background: transparent;
}

.ahu-learning-service img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.ahu-learning-toast {
  position: absolute;
  z-index: 70;
  left: 50%;
  bottom: 96px;
  max-width: 260px;
  padding: 9px 14px;
  border-radius: 18px;
  background: rgb(30 30 30 / 88%);
  color: #fff;
  font-size: 13px;
  line-height: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}

.ahu-learning-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
