/* 创作中心 · 敏感词检测（对齐工作中心全宽风格） */
#bdCreateSensitive {
  width: 100%;
  min-height: calc(100vh - var(--bd-topbar-h, 56px));
}

html.bd-view-create-sensitive .bd-main {
  padding: 16px 20px 32px;
  overflow: auto;
  max-height: calc(100vh - var(--bd-topbar-h, 56px));
}

.cs-page {
  width: 100%;
  padding: 0 0 32px;
  color: #333;
  box-sizing: border-box;
}

.cs-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cs-head h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a2e;
}

.cs-head p {
  margin: 6px 0 0;
  color: #888;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.cs-quota {
  font-size: 0.8125rem;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-quota strong {
  color: #3c66ff;
  font-weight: 600;
}

.cs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 960px) {
  .cs-body {
    grid-template-columns: 1fr;
  }
}

.cs-panel {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px 24px;
  min-height: 360px;
}

.cs-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.cs-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cs-chip {
  border: 1px solid #e8e8e8;
  background: #fff;
  color: #666;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  cursor: pointer;
}

.cs-chip.is-active {
  border-color: var(--bd-accent-border, #a5b4fc);
  background: #eef2ff;
  color: var(--bd-accent-text, #2952e6);
  font-weight: 600;
}

.cs-textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.8125rem;
  line-height: 1.6;
  box-sizing: border-box;
  font-family: inherit;
  color: #333;
}

.cs-textarea:focus {
  outline: none;
  border-color: #3c66ff;
  box-shadow: 0 0 0 2px rgba(124, 92, 252, 0.12);
}

.cs-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.cs-count {
  font-size: 0.75rem;
  color: #999;
}

.cs-actions {
  display: flex;
  gap: 8px;
}

.cs-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  cursor: pointer;
}

.cs-btn-ghost {
  background: #fff;
  border: 1px solid #ddd;
  color: #666;
}

.cs-btn-primary {
  background: #3c66ff;
  border: 1px solid #3c66ff;
  color: #fff;
}

.cs-btn-primary:hover:not(:disabled) {
  background: #6a4ae8;
}

.cs-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.cs-result-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #333;
}

.cs-highlight {
  white-space: pre-wrap;
  line-height: 1.8;
  font-size: 0.875rem;
  padding: 14px 16px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
  color: #333;
}

.cs-mark-top {
  background: #fff0f0;
  color: #3c66ff;
  border-radius: 3px;
  padding: 0 2px;
}

.cs-mark-low {
  background: #fff7ed;
  color: #e8783a;
  border-radius: 3px;
  padding: 0 2px;
}

.cs-legend {
  display: flex;
  gap: 14px;
  margin: 10px 0 0;
  font-size: 0.75rem;
  color: #999;
}

.cs-risk-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-risk-item {
  border-top: 1px solid #f0f0f0;
  padding: 12px 0;
}

.cs-risk-item:first-child {
  border-top: none;
  padding-top: 0;
}

.cs-risk-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.cs-risk-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #333;
}

.cs-risk-type {
  font-size: 0.6875rem;
  border-radius: 4px;
  padding: 2px 8px;
  background: #f0f0f0;
  color: #666;
}

.cs-risk-type.is-top {
  background: #fff0f0;
  color: #3c66ff;
}

.cs-risk-meta {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
}

.cs-empty {
  color: #999;
  font-size: 0.8125rem;
  padding: 24px 0;
  text-align: center;
}

.cs-error {
  color: #3c66ff;
  background: #fff0f0;
  border: 1px solid #a5b4fc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}
