.knowledge-admin {
  min-height: 100vh;
  box-sizing: border-box;
  padding: 24rpx;
  background: #f6f8fb;
}

.knowledge-admin__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20rpx;
  margin-bottom: 20rpx;
}

.knowledge-admin__title {
  display: block;
  font-size: 38rpx;
  font-weight: 800;
  color: #0f172a;
}

.knowledge-admin__subtitle {
  display: block;
  margin-top: 6rpx;
  font-size: 24rpx;
  color: #64748b;
}

.knowledge-admin__icon-button,
.knowledge-admin__filter-button,
.knowledge-admin-card__action,
.knowledge-admin__primary-button {
  margin: 0;
  border-radius: 8rpx;
  background: #123e7c;
  color: #ffffff;
  font-size: 24rpx;
  line-height: 64rpx;
}

.knowledge-admin__filters {
  display: grid;
  grid-template-columns: 1fr 1fr 120rpx;
  gap: 12rpx;
  margin-bottom: 16rpx;
}

.knowledge-admin__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68rpx;
  padding: 0 18rpx;
  border: 1rpx solid #dbe4f0;
  border-radius: 8rpx;
  background: #ffffff;
  color: #334155;
  font-size: 24rpx;
}

.knowledge-admin__filter Text:last-child {
  color: #123e7c;
  font-weight: 700;
}

.knowledge-admin__summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12rpx;
  color: #64748b;
  font-size: 24rpx;
}

.knowledge-admin__list {
  display: flex;
  flex-direction: column;
  gap: 14rpx;
}

.knowledge-admin-card {
  display: flex;
  align-items: center;
  gap: 16rpx;
  padding: 18rpx;
  border: 1rpx solid #dbe4f0;
  border-radius: 8rpx;
  background: #ffffff;
}

.knowledge-admin-card.is-active {
  border-color: #123e7c;
  box-shadow: 0 8rpx 20rpx rgba(18, 62, 124, 0.08);
}

.knowledge-admin-card__main {
  flex: 1;
  min-width: 0;
}

.knowledge-admin-card__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8rpx;
  margin-bottom: 10rpx;
}

.knowledge-admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34rpx;
  padding: 0 12rpx;
  border-radius: 999rpx;
  background: #f1f5f9;
  color: #475569;
  font-size: 20rpx;
  font-weight: 700;
}

.knowledge-admin-badge.is-active,
.knowledge-admin-badge.is-trust-verified {
  background: #ecfdf5;
  color: #047857;
}

.knowledge-admin-badge.is-draft,
.knowledge-admin-badge.is-trust-low {
  background: #fff7ed;
  color: #c2410c;
}

.knowledge-admin-badge.is-trust-official {
  background: #eef2ff;
  color: #3730a3;
}

.knowledge-admin-badge.is-muted,
.knowledge-admin-badge.is-trust-standard {
  background: #f1f5f9;
  color: #475569;
}

.knowledge-admin-card__title {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 28rpx;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-admin-card__meta {
  display: block;
  margin-top: 8rpx;
  color: #64748b;
  font-size: 22rpx;
  line-height: 1.5;
}

.knowledge-admin-card__action {
  width: 112rpx;
  background: #f1f5f9;
  color: #123e7c;
}

.knowledge-admin-detail {
  margin-top: 18rpx;
  padding: 20rpx;
  border: 1rpx solid #dbe4f0;
  border-radius: 8rpx;
  background: #ffffff;
}

.knowledge-admin-detail__title,
.knowledge-admin-revisions__title {
  display: block;
  margin-bottom: 14rpx;
  color: #0f172a;
  font-size: 30rpx;
  font-weight: 800;
}

.knowledge-admin-form {
  display: flex;
  flex-direction: column;
  gap: 12rpx;
}

.knowledge-admin-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72rpx;
  padding: 0 18rpx;
  border-radius: 8rpx;
  background: #f8fafc;
  color: #334155;
  font-size: 24rpx;
}

.knowledge-admin-form__input {
  width: 180rpx;
  text-align: right;
  color: #123e7c;
  font-weight: 700;
}

.knowledge-admin-form__textarea {
  width: 100%;
  min-height: 120rpx;
  box-sizing: border-box;
  padding: 18rpx;
  border-radius: 8rpx;
  background: #f8fafc;
  color: #334155;
  font-size: 24rpx;
}

.knowledge-admin__primary-button {
  width: 100%;
  margin-top: 4rpx;
}

.knowledge-admin-revisions {
  margin-top: 22rpx;
}

.knowledge-admin-revision {
  padding: 16rpx 0;
  border-top: 1rpx solid #e2e8f0;
}

.knowledge-admin-revision__head {
  display: block;
  color: #0f172a;
  font-size: 24rpx;
  font-weight: 700;
}

.knowledge-admin-revision__body {
  display: block;
  margin-top: 6rpx;
  color: #64748b;
  font-size: 22rpx;
  line-height: 1.6;
}

.knowledge-admin__empty {
  display: block;
  padding: 28rpx 0;
  color: #94a3b8;
  font-size: 24rpx;
  text-align: center;
}
