/* Focused announcement surface for the dashboard. */
.home-main .notice-box {
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin-top: 0 !important;
  overflow: hidden;
  border: 1px solid #eee0eb !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 12px 28px rgba(112, 72, 104, .07) !important;
}

.home-main .notice-box .WorkOrder-title {
  display: flex;
  min-height: 56px;
  box-sizing: border-box;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 14px 16px 12px !important;
  border-bottom: 1px solid #f1e4ed;
}

.home-main .notice-box .WorkOrder-title > div:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #49394b !important;
  font-family: "HarmonyOS Sans SC", "MiSans", "PingFang SC", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.3;
}

.home-main .notice-box .WorkOrder-title > div:first-child::before {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ed92ba, #a486e7);
  content: "";
}

.home-main .notice-box .more {
  display: grid;
  width: 32px;
  min-width: 32px;
  height: 32px;
  box-sizing: border-box;
  place-items: center;
  padding: 0 !important;
  border: 1px solid #eee0f0;
  border-radius: 9px !important;
  background: #fff7fb !important;
  color: #a16abf !important;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.home-main .notice-box .more:hover,
.home-main .notice-box .more:focus-visible {
  border-color: #dfb6d0;
  background: #fff0f7 !important;
  transform: translateY(-1px);
}

.home-main .notice-box .WorkOrder-content {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.home-main .notice-box .notice-item {
  display: grid;
  min-width: 0;
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 10px;
  align-items: center;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 11px 8px 11px 12px !important;
  border: 1px solid transparent !important;
  border-left: 3px solid #e3b5cb !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, rgba(255, 248, 252, .9), rgba(250, 247, 255, .78));
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.home-main .notice-box .notice-item:nth-child(2) { border-left-color: #bfa6e7 !important; }
.home-main .notice-box .notice-item:nth-child(3) { border-left-color: #e6c27f !important; }

.home-main .notice-box .notice-item:hover,
.home-main .notice-box .notice-item:focus-visible {
  border-color: #ecd3e2 !important;
  border-left-color: #d77ba5 !important;
  background: #fff5fa !important;
  box-shadow: 0 7px 16px rgba(128, 81, 118, .08);
  transform: translateX(2px);
}

.home-main .notice-box .notice-item-left {
  min-width: 0;
}

.home-main .notice-box .notice-time {
  margin: 0 !important;
  color: #b24f82 !important;
  font-family: "SF Pro Rounded", "Avenir Next", "HarmonyOS Sans SC", "MiSans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  letter-spacing: .02em;
}

.home-main .notice-box .notice-title {
  display: -webkit-box;
  min-width: 0;
  margin: 5px 0 0 !important;
  overflow: hidden;
  color: #554357 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-main .notice-box .notice-type {
  margin: 4px 0 0 !important;
  overflow: hidden;
  color: #a18c9f !important;
  font-size: 11px !important;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-main .notice-box .notice-item-right {
  display: grid;
  width: 32px !important;
  height: 32px !important;
  box-sizing: border-box;
  place-items: center;
  border: 1px solid #eee0f0;
  border-radius: 9px !important;
  background: #fff !important;
  color: #a16abf !important;
  font-size: 13px;
  line-height: 1;
}

.home-main .notice-box .notice-item-right i {
  transition: transform .2s ease;
}

.home-main .notice-box .notice-item:hover .notice-item-right i,
.home-main .notice-box .notice-item:focus-visible .notice-item-right i {
  transform: translateX(2px);
}

@media (max-width: 750px) {
  .home-main .notice-box {
    border-radius: 14px !important;
  }

  .home-main .notice-box .WorkOrder-title {
    min-height: 52px;
    padding: 12px 13px 10px !important;
  }

  .home-main .notice-box .WorkOrder-title > div:first-child {
    font-size: 14px !important;
  }

  .home-main .notice-box .WorkOrder-content {
    gap: 7px;
    padding: 8px 8px 10px !important;
  }

  .home-main .notice-box .notice-item {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 8px;
    padding: 10px 7px 10px 10px !important;
  }

  .home-main .notice-box .notice-item-right {
    width: 30px !important;
    height: 30px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .notice-box .more,
  .home-main .notice-box .notice-item,
  .home-main .notice-box .notice-item-right i {
    transition: none !important;
  }
}
