.section-editor {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.section-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.section-editor-header h4 { margin: 0; font-size: 14px; color: #a78bfa; }
.rules-items-block { margin-top: 12px; }
.rules-items-block .menu-list-header { margin-bottom: 8px; }

.rules-preview-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 16px;
  font-size: 11px;
  color: #bbb;
  max-height: 520px;
  overflow-y: auto;
}
.rp-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.rp-title { font-size: 15px; font-weight: 700; color: #fff; }
.rp-sub { font-size: 10px; color: #666; margin-top: 2px; }
.rp-close { color: #666; font-size: 14px; }
.rp-warning {
  border: 1px solid rgba(201,168,0,0.4);
  border-radius: 8px;
  padding: 8px 10px;
  color: #c9a800;
  font-size: 10px;
  margin-bottom: 14px;
  background: rgba(201,168,0,0.05);
}
.rp-section { margin-bottom: 14px; }
.rp-sec-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 8px;
}
.rp-badge {
  font-size: 9px; padding: 2px 8px; border-radius: 10px;
  background: rgba(94,179,246,0.15); color: #5eb3f6;
  border: 1px solid rgba(94,179,246,0.3);
}
.rp-text-box, .rp-detail {
  background: #252525; border-radius: 8px; padding: 10px;
}
.rp-summary {
  display: flex; gap: 6px; margin-bottom: 6px;
}
.rp-summary > div {
  flex: 1; background: #252525; border-radius: 6px;
  padding: 8px 6px; text-align: center; font-size: 9px;
}
.rp-cell-label { color: #888; margin-bottom: 3px; }
.rp-gold { color: #c9a800; font-weight: 600; }
.rp-detail-head { font-weight: 600; color: #fff; margin-bottom: 6px; font-size: 11px; }
.rp-rule { display: flex; gap: 4px; margin-bottom: 4px; line-height: 1.5; }
.rp-dot { color: #666; font-size: 6px; margin-top: 4px; flex-shrink: 0; }
.rp-empty { color: #666; font-style: italic; }
