.admin-announcement__body {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 64rpx);
  padding: 0;
}

.admin-announcement__header {
  display: flex;
  align-items: center;
  gap: 16rpx;
  padding: 24rpx 32rpx;
}

.admin-announcement__tabs-scroll {
  flex: 1;
  white-space: nowrap;
}

.admin-announcement__tabs {
  display: flex;
  gap: 16rpx;
}

.admin-announcement__tab {
  display: inline-flex;
  align-items: center;
  height: 60rpx;
  padding: 0 24rpx;
  border-radius: 9999rpx;
  background: #f1f5f9;
  font-size: 24rpx;
  color: #64748b;
  font-weight: 500;
}

.admin-announcement__tab.is-active {
  background: #edf5ff;
  color: #123e7c;
  font-weight: 700;
}

.admin-announcement__create-btn {
  flex-shrink: 0;
  padding: 12rpx 24rpx;
  border-radius: 9999rpx;
  background: #123e7c;
}

.admin-announcement__create-btn Text {
  color: #fff;
  font-size: 24rpx;
  font-weight: 600;
}

.admin-announcement__form {
  padding: 0 32rpx 24rpx;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
  background: #f9fafb;
  border-bottom: 1rpx solid #e5e7eb;
}

.admin-announcement__form .acc-field {
  display: flex;
  flex-direction: column;
  gap: 10rpx;
}

.admin-announcement__form .acc-label {
  font-size: 26rpx;
  color: #374151;
  font-weight: 600;
}

.admin-announcement__form .acc-input {
  height: 80rpx;
  border-radius: 16rpx;
  background: #fff;
  border: 2rpx solid #e2e8f0;
  padding: 0 20rpx;
  font-size: 28rpx;
  color: #111827;
}

.admin-announcement__form .acc-textarea {
  width: 100%;
  min-height: 240rpx;
  padding: 20rpx;
  border-radius: 16rpx;
  background: #fff;
  border: 2rpx solid #e2e8f0;
  font-size: 28rpx;
  color: #111827;
  line-height: 1.6;
}

.admin-announcement__form-btns {
  display: flex;
  gap: 16rpx;
  padding-bottom: 8rpx;
}

.aa-btn {
  flex: 1;
  height: 72rpx;
  border-radius: 9999rpx;
  font-size: 26rpx;
  font-weight: 600;
  line-height: 72rpx;
}

.aa-btn::after {
  border: none;
}

.aa-btn--cancel {
  background: #f1f5f9;
  color: #64748b;
}

.aa-btn--draft {
  background: #fff;
  color: #123e7c;
  border: 2rpx solid #bdd6f4;
}

.aa-btn--publish {
  background: #123e7c;
  color: #fff;
}

.aa-btn[disabled] {
  opacity: 0.55;
}

.admin-announcement__list {
  flex: 1;
  padding: 24rpx 32rpx;
}

.admin-announcement__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400rpx;
}

.admin-announcement__empty Text {
  color: #9ca3af;
  font-size: 28rpx;
}

.admin-announcement-card {
  padding: 28rpx;
  border-radius: 24rpx;
  background: #ffffff;
  border: 1rpx solid #d7e2f1;
  box-shadow: 0 8rpx 18rpx rgba(18, 62, 124, 0.04);
  margin-bottom: 24rpx;
}

.admin-announcement-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14rpx;
}

.admin-announcement-card__status {
  padding: 4rpx 14rpx;
  border-radius: 9999rpx;
  font-size: 22rpx;
  font-weight: 600;
}

.status--draft {
  background: #f1f5f9;
  color: #64748b;
}

.status--published {
  background: #f0fdf4;
  color: #16a34a;
}

.status--withdrawn {
  background: #fef2f2;
  color: #94a3b8;
}

.admin-announcement-card__time {
  font-size: 22rpx;
  color: #9ca3af;
}

.admin-announcement-card__title {
  display: block;
  font-size: 30rpx;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10rpx;
}

.admin-announcement-card__content {
  display: block;
  font-size: 26rpx;
  color: #6b7280;
  line-height: 1.6;
}

.admin-announcement-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 24rpx;
  margin-top: 16rpx;
}

.admin-announcement-card__action {
  font-size: 24rpx;
  font-weight: 600;
}

.admin-announcement-card__action--primary {
  color: #123e7c;
}

.admin-announcement-card__action--warn {
  color: #ea580c;
}
